You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: structure/main.ts
+5-102Lines changed: 5 additions & 102 deletions
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,8 @@ export type AddonBadgesGetBadgeWSResponse = {
230
230
image: string; // URL to the image.
231
231
description: string; // Description of the badge class.
232
232
hostedUrl?: string; // Identifier of the open badge for this assertion.
233
+
courseid?: number; // Id of the course.
234
+
coursefullname?: string; // Full name of the course.
233
235
alignment?: { // Alignment.
234
236
id?: number; // Alignment id.
235
237
badgeid?: number; // Badge id.
@@ -275,6 +277,7 @@ export type AddonBadgesGetUserBadgeByHashWSResponse = {
275
277
expireperiod?: number; // Expire period.
276
278
type?: number; // Type.
277
279
courseid?: number; // Course id.
280
+
coursefullname?: string; // Full name of the course.
278
281
message?: string; // Message.
279
282
messagesubject?: string; // Message subject.
280
283
attachment?: number; // Attachment.
@@ -358,6 +361,7 @@ export type AddonBadgesGetUserBadgesWSResponse = {
358
361
expireperiod?: number; // Expire period.
359
362
type?: number; // Type.
360
363
courseid?: number; // Course id.
364
+
coursefullname?: string; // Full name of the course.
361
365
message?: string; // Message.
362
366
messagesubject?: string; // Message subject.
363
367
attachment?: number; // Attachment.
@@ -3821,38 +3825,6 @@ export type CoreGetComponentStringsWSResponse = {
3821
3825
string: string; // Translated string.
3822
3826
}[];
3823
3827
3824
-
/**
3825
-
* Params of core_grades_get_enrolled_users_for_search_widget WS.
3826
-
*
3827
-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_grades_get_enrolled_users_for_selector instead. Returns the enrolled users within and map some fields to the returned array of user objects.
3828
-
*
3829
-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
3830
-
*/
3831
-
type CoreGradesGetEnrolledUsersForSearchWidgetWSParams = {
3832
-
courseid: number; // Course Id.
3833
-
actionbaseurl: string; // The base URL for the user option.
3834
-
groupid?: number; // Group Id.
3835
-
};
3836
-
3837
-
/**
3838
-
* Data returned by core_grades_get_enrolled_users_for_search_widget WS.
3839
-
*
3840
-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_grades_get_enrolled_users_for_selector instead. Returns the enrolled users within and map some fields to the returned array of user objects.
3841
-
*
3842
-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
3843
-
*/
3844
-
export type CoreGradesGetEnrolledUsersForSearchWidgetWSResponse = {
3845
-
users: {
3846
-
id: number; // ID of the user.
3847
-
profileimage?: string; // The location of the users larger image.
3848
-
url?: string; // The link to the user report.
3849
-
fullname?: string; // The full name of the user.
3850
-
email?: string; // An email address - allow email as root@localhost.
3851
-
active: boolean; // Are we currently on this item?.
3852
-
}[];
3853
-
warnings?: CoreWSExternalWarning[];
3854
-
};
3855
-
3856
3828
/**
3857
3829
* Params of core_grades_get_enrolled_users_for_selector WS.
3858
3830
*
@@ -4001,30 +3973,6 @@ export type CoreGradesGetGradeitemsWSResponse = {
4001
3973
warnings?: CoreWSExternalWarning[];
4002
3974
};
4003
3975
4004
-
/**
4005
-
* Params of core_grades_get_groups_for_search_widget WS.
4006
-
*
4007
-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_group_get_groups_for_selector instead. Get the group/(s) for a course
4008
-
*/
4009
-
type CoreGradesGetGroupsForSearchWidgetWSParams = {
4010
-
courseid: number; // Course Id.
4011
-
cmid?: number; // Course module Id.
4012
-
};
4013
-
4014
-
/**
4015
-
* Data returned by core_grades_get_groups_for_search_widget WS.
4016
-
*
4017
-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_group_get_groups_for_selector instead. Get the group/(s) for a course
4018
-
*/
4019
-
export type CoreGradesGetGroupsForSearchWidgetWSResponse = {
4020
-
groups: {
4021
-
id: string; // An ID for the group.
4022
-
name: string; // The full name of the group.
4023
-
groupimageurl?: string; // Group image URL.
4024
-
}[];
4025
-
warnings?: CoreWSExternalWarning[];
4026
-
};
4027
-
4028
3976
/**
4029
3977
* Params of core_grades_get_groups_for_selector WS.
4030
3978
*
@@ -8979,6 +8927,7 @@ export type AddonModChoiceGetChoiceOptionsWSResponse = {
8979
8927
*/
8980
8928
type AddonModChoiceGetChoiceResultsWSParams = {
8981
8929
choiceid: number; // Choice instance id.
8930
+
groupid?: number; // Group ID. 0 for all participants, empty for active group.
8982
8931
};
8983
8932
8984
8933
/**
@@ -15961,52 +15910,6 @@ export type AddonReportInsightsActionExecutedWSResponse = {
15961
15910
warnings?: CoreWSExternalWarning[];
15962
15911
};
15963
15912
15964
-
/**
15965
-
* Params of report_insights_set_fixed_prediction WS.
15966
-
*
15967
-
* WS Description: Flags a prediction as fixed.
15968
-
*
15969
-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
15970
-
*/
15971
-
type AddonReportInsightsSetFixedPredictionWSParams = {
15972
-
predictionid: number; // The prediction id.
15973
-
};
15974
-
15975
-
/**
15976
-
* Data returned by report_insights_set_fixed_prediction WS.
15977
-
*
15978
-
* WS Description: Flags a prediction as fixed.
15979
-
*
15980
-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
15981
-
*/
15982
-
export type AddonReportInsightsSetFixedPredictionWSResponse = {
15983
-
success: boolean; // True if the prediction was successfully flagged as fixed.
15984
-
warnings?: CoreWSExternalWarning[];
15985
-
};
15986
-
15987
-
/**
15988
-
* Params of report_insights_set_notuseful_prediction WS.
15989
-
*
15990
-
* WS Description: Flags the prediction as not useful.
15991
-
*
15992
-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
15993
-
*/
15994
-
type AddonReportInsightsSetNotusefulPredictionWSParams = {
15995
-
predictionid: number; // The prediction id.
15996
-
};
15997
-
15998
-
/**
15999
-
* Data returned by report_insights_set_notuseful_prediction WS.
16000
-
*
16001
-
* WS Description: Flags the prediction as not useful.
16002
-
*
16003
-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
16004
-
*/
16005
-
export type AddonReportInsightsSetNotusefulPredictionWSResponse = {
16006
-
success: boolean; // True if the prediction was successfully flagged as not useful.
0 commit comments