@meshery/schemas 1.3.41 → 1.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloudApi.d.mts +57 -57
- package/dist/cloudApi.d.ts +57 -57
- package/dist/constructs/v1beta1/console/Console.d.ts +458 -0
- package/dist/constructs/v1beta1/console/Console.js +1 -0
- package/dist/constructs/v1beta1/console/Console.mjs +0 -0
- package/dist/constructs/v1beta1/console/ConsoleSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/console/ConsoleSchema.js +4 -0
- package/dist/constructs/v1beta1/console/ConsoleSchema.mjs +4 -0
- package/dist/constructs/v1beta3/academy/Academy.d.ts +279 -277
- package/dist/constructs/v1beta3/academy/AcademySchema.js +3 -3
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +3 -3
- package/dist/mesheryApi.d.mts +3245 -2073
- package/dist/mesheryApi.d.ts +3245 -2073
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -4466,7 +4466,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4466
4466
|
/** The current item of the curriculaprogresstracker. */
|
|
4467
4467
|
currentItem: {
|
|
4468
4468
|
[key: string]: {
|
|
4469
|
-
/** CurriculaCurrentItemData ID. */
|
|
4469
|
+
/** CurriculaCurrentItemData ID. Identifies the Hugo content page the learner currently has open, not a database row, so it is an opaque content-scoped string. Not a UUID - production values include slugs, full permalink URLs and the empty string. */
|
|
4470
4470
|
id: string;
|
|
4471
4471
|
/** The last opened of the curriculacurrentitemdata. */
|
|
4472
4472
|
lastOpened: string;
|
|
@@ -4491,7 +4491,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4491
4491
|
[key: string]: boolean;
|
|
4492
4492
|
};
|
|
4493
4493
|
quiz: {
|
|
4494
|
-
/** Quiz ID. */
|
|
4494
|
+
/** Quiz ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID - stored records carry authored slugs. */
|
|
4495
4495
|
id: string;
|
|
4496
4496
|
/** Organization ID that owns this quiz */
|
|
4497
4497
|
orgId: string;
|
|
@@ -4523,13 +4523,13 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4523
4523
|
filePath: string;
|
|
4524
4524
|
/** The pass percentage of the quiz. */
|
|
4525
4525
|
passPercentage: number;
|
|
4526
|
-
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
4527
|
-
timeLimit: number;
|
|
4526
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. Accepts a number or a string because both forms are real production data - the Hugo theme emits a JSON number, while payloads persisted by earlier revisions hold a string such as "25" or the non-numeric sentinel "infinite". A string that does not parse to a positive number means "no time limit" and normalizes to 0. */
|
|
4527
|
+
timeLimit: number | string;
|
|
4528
4528
|
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
4529
4529
|
maxAttempts: number;
|
|
4530
4530
|
/** The questions of the quiz. */
|
|
4531
4531
|
questions: {
|
|
4532
|
-
/** Question ID. */
|
|
4532
|
+
/** Question ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4533
4533
|
id: string;
|
|
4534
4534
|
/** The text of the question. */
|
|
4535
4535
|
text: string;
|
|
@@ -4540,7 +4540,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4540
4540
|
multipleAnswers?: boolean;
|
|
4541
4541
|
/** The options of the question. */
|
|
4542
4542
|
options: {
|
|
4543
|
-
/** QuestionOption ID. */
|
|
4543
|
+
/** QuestionOption ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4544
4544
|
id: string;
|
|
4545
4545
|
/** The text of the questionoption. */
|
|
4546
4546
|
text: string;
|
|
@@ -4560,7 +4560,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4560
4560
|
totalMarks: number;
|
|
4561
4561
|
/** The prerequisites of the quiz. */
|
|
4562
4562
|
prerequisites: {
|
|
4563
|
-
/** Parent ID. */
|
|
4563
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4564
4564
|
id: string;
|
|
4565
4565
|
/** The title of the parent. */
|
|
4566
4566
|
title: string;
|
|
@@ -4570,7 +4570,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4570
4570
|
type: string;
|
|
4571
4571
|
}[];
|
|
4572
4572
|
parent?: {
|
|
4573
|
-
/** Parent ID. */
|
|
4573
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4574
4574
|
id: string;
|
|
4575
4575
|
/** The title of the parent. */
|
|
4576
4576
|
title: string;
|
|
@@ -4580,7 +4580,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4580
4580
|
type: string;
|
|
4581
4581
|
};
|
|
4582
4582
|
nextPage: {
|
|
4583
|
-
/** Parent ID. */
|
|
4583
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4584
4584
|
id: string;
|
|
4585
4585
|
/** The title of the parent. */
|
|
4586
4586
|
title: string;
|
|
@@ -4604,7 +4604,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4604
4604
|
/** Timestamp when the item was completed */
|
|
4605
4605
|
completedAt: string;
|
|
4606
4606
|
itemData: {
|
|
4607
|
-
/** Parent ID. */
|
|
4607
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4608
4608
|
id: string;
|
|
4609
4609
|
/** The title of the parent. */
|
|
4610
4610
|
title: string;
|
|
@@ -4622,7 +4622,7 @@ type UpdateCurrentItemInProgressTrackerApiResponse = {
|
|
|
4622
4622
|
registrationId?: string;
|
|
4623
4623
|
contentType?: "learning-path" | "challenge" | "certification";
|
|
4624
4624
|
itemData?: {
|
|
4625
|
-
/** CurriculaCurrentItemData ID. */
|
|
4625
|
+
/** CurriculaCurrentItemData ID. Identifies the Hugo content page the learner currently has open, not a database row, so it is an opaque content-scoped string. Not a UUID - production values include slugs, full permalink URLs and the empty string. */
|
|
4626
4626
|
id: string;
|
|
4627
4627
|
/** The last opened of the curriculacurrentitemdata. */
|
|
4628
4628
|
lastOpened: string;
|
|
@@ -4635,7 +4635,7 @@ type UpdateCurrentItemInProgressTrackerApiArg = {
|
|
|
4635
4635
|
body: {
|
|
4636
4636
|
contentType: "learning-path" | "challenge" | "certification";
|
|
4637
4637
|
itemData: {
|
|
4638
|
-
/** CurriculaCurrentItemData ID. */
|
|
4638
|
+
/** CurriculaCurrentItemData ID. Identifies the Hugo content page the learner currently has open, not a database row, so it is an opaque content-scoped string. Not a UUID - production values include slugs, full permalink URLs and the empty string. */
|
|
4639
4639
|
id: string;
|
|
4640
4640
|
/** The last opened of the curriculacurrentitemdata. */
|
|
4641
4641
|
lastOpened: string;
|
|
@@ -4644,7 +4644,7 @@ type UpdateCurrentItemInProgressTrackerApiArg = {
|
|
|
4644
4644
|
};
|
|
4645
4645
|
};
|
|
4646
4646
|
type GetTestByAbsPathApiResponse = {
|
|
4647
|
-
/** Quiz ID. */
|
|
4647
|
+
/** Quiz ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID - stored records carry authored slugs. */
|
|
4648
4648
|
id: string;
|
|
4649
4649
|
/** Organization ID that owns this quiz */
|
|
4650
4650
|
orgId: string;
|
|
@@ -4676,13 +4676,13 @@ type GetTestByAbsPathApiResponse = {
|
|
|
4676
4676
|
filePath: string;
|
|
4677
4677
|
/** The pass percentage of the quiz. */
|
|
4678
4678
|
passPercentage: number;
|
|
4679
|
-
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
4680
|
-
timeLimit: number;
|
|
4679
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. Accepts a number or a string because both forms are real production data - the Hugo theme emits a JSON number, while payloads persisted by earlier revisions hold a string such as "25" or the non-numeric sentinel "infinite". A string that does not parse to a positive number means "no time limit" and normalizes to 0. */
|
|
4680
|
+
timeLimit: number | string;
|
|
4681
4681
|
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
4682
4682
|
maxAttempts: number;
|
|
4683
4683
|
/** The questions of the quiz. */
|
|
4684
4684
|
questions: {
|
|
4685
|
-
/** Question ID. */
|
|
4685
|
+
/** Question ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4686
4686
|
id: string;
|
|
4687
4687
|
/** The text of the question. */
|
|
4688
4688
|
text: string;
|
|
@@ -4693,7 +4693,7 @@ type GetTestByAbsPathApiResponse = {
|
|
|
4693
4693
|
multipleAnswers?: boolean;
|
|
4694
4694
|
/** The options of the question. */
|
|
4695
4695
|
options: {
|
|
4696
|
-
/** QuestionOption ID. */
|
|
4696
|
+
/** QuestionOption ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4697
4697
|
id: string;
|
|
4698
4698
|
/** The text of the questionoption. */
|
|
4699
4699
|
text: string;
|
|
@@ -4713,7 +4713,7 @@ type GetTestByAbsPathApiResponse = {
|
|
|
4713
4713
|
totalMarks: number;
|
|
4714
4714
|
/** The prerequisites of the quiz. */
|
|
4715
4715
|
prerequisites: {
|
|
4716
|
-
/** Parent ID. */
|
|
4716
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4717
4717
|
id: string;
|
|
4718
4718
|
/** The title of the parent. */
|
|
4719
4719
|
title: string;
|
|
@@ -4723,7 +4723,7 @@ type GetTestByAbsPathApiResponse = {
|
|
|
4723
4723
|
type: string;
|
|
4724
4724
|
}[];
|
|
4725
4725
|
parent?: {
|
|
4726
|
-
/** Parent ID. */
|
|
4726
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4727
4727
|
id: string;
|
|
4728
4728
|
/** The title of the parent. */
|
|
4729
4729
|
title: string;
|
|
@@ -4733,7 +4733,7 @@ type GetTestByAbsPathApiResponse = {
|
|
|
4733
4733
|
type: string;
|
|
4734
4734
|
};
|
|
4735
4735
|
nextPage: {
|
|
4736
|
-
/** Parent ID. */
|
|
4736
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4737
4737
|
id: string;
|
|
4738
4738
|
/** The title of the parent. */
|
|
4739
4739
|
title: string;
|
|
@@ -4748,7 +4748,7 @@ type GetTestByAbsPathApiArg = {
|
|
|
4748
4748
|
absPath: string;
|
|
4749
4749
|
};
|
|
4750
4750
|
type StartTestByIdApiResponse = {
|
|
4751
|
-
/** Quiz ID. */
|
|
4751
|
+
/** Quiz ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID - stored records carry authored slugs. */
|
|
4752
4752
|
id: string;
|
|
4753
4753
|
/** Organization ID that owns this quiz */
|
|
4754
4754
|
orgId: string;
|
|
@@ -4780,13 +4780,13 @@ type StartTestByIdApiResponse = {
|
|
|
4780
4780
|
filePath: string;
|
|
4781
4781
|
/** The pass percentage of the quiz. */
|
|
4782
4782
|
passPercentage: number;
|
|
4783
|
-
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
4784
|
-
timeLimit: number;
|
|
4783
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. Accepts a number or a string because both forms are real production data - the Hugo theme emits a JSON number, while payloads persisted by earlier revisions hold a string such as "25" or the non-numeric sentinel "infinite". A string that does not parse to a positive number means "no time limit" and normalizes to 0. */
|
|
4784
|
+
timeLimit: number | string;
|
|
4785
4785
|
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
4786
4786
|
maxAttempts: number;
|
|
4787
4787
|
/** The questions of the quiz. */
|
|
4788
4788
|
questions: {
|
|
4789
|
-
/** Question ID. */
|
|
4789
|
+
/** Question ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4790
4790
|
id: string;
|
|
4791
4791
|
/** The text of the question. */
|
|
4792
4792
|
text: string;
|
|
@@ -4797,7 +4797,7 @@ type StartTestByIdApiResponse = {
|
|
|
4797
4797
|
multipleAnswers?: boolean;
|
|
4798
4798
|
/** The options of the question. */
|
|
4799
4799
|
options: {
|
|
4800
|
-
/** QuestionOption ID. */
|
|
4800
|
+
/** QuestionOption ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4801
4801
|
id: string;
|
|
4802
4802
|
/** The text of the questionoption. */
|
|
4803
4803
|
text: string;
|
|
@@ -4817,7 +4817,7 @@ type StartTestByIdApiResponse = {
|
|
|
4817
4817
|
totalMarks: number;
|
|
4818
4818
|
/** The prerequisites of the quiz. */
|
|
4819
4819
|
prerequisites: {
|
|
4820
|
-
/** Parent ID. */
|
|
4820
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4821
4821
|
id: string;
|
|
4822
4822
|
/** The title of the parent. */
|
|
4823
4823
|
title: string;
|
|
@@ -4827,7 +4827,7 @@ type StartTestByIdApiResponse = {
|
|
|
4827
4827
|
type: string;
|
|
4828
4828
|
}[];
|
|
4829
4829
|
parent?: {
|
|
4830
|
-
/** Parent ID. */
|
|
4830
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4831
4831
|
id: string;
|
|
4832
4832
|
/** The title of the parent. */
|
|
4833
4833
|
title: string;
|
|
@@ -4837,7 +4837,7 @@ type StartTestByIdApiResponse = {
|
|
|
4837
4837
|
type: string;
|
|
4838
4838
|
};
|
|
4839
4839
|
nextPage: {
|
|
4840
|
-
/** Parent ID. */
|
|
4840
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4841
4841
|
id: string;
|
|
4842
4842
|
/** The title of the parent. */
|
|
4843
4843
|
title: string;
|
|
@@ -4872,7 +4872,7 @@ type GetAllTestSessionsForRegistrationApiResponse =
|
|
|
4872
4872
|
[key: string]: boolean;
|
|
4873
4873
|
};
|
|
4874
4874
|
quiz: {
|
|
4875
|
-
/** Quiz ID. */
|
|
4875
|
+
/** Quiz ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID - stored records carry authored slugs. */
|
|
4876
4876
|
id: string;
|
|
4877
4877
|
/** Organization ID that owns this quiz */
|
|
4878
4878
|
orgId: string;
|
|
@@ -4904,13 +4904,13 @@ type GetAllTestSessionsForRegistrationApiResponse =
|
|
|
4904
4904
|
filePath: string;
|
|
4905
4905
|
/** The pass percentage of the quiz. */
|
|
4906
4906
|
passPercentage: number;
|
|
4907
|
-
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
4908
|
-
timeLimit: number;
|
|
4907
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. Accepts a number or a string because both forms are real production data - the Hugo theme emits a JSON number, while payloads persisted by earlier revisions hold a string such as "25" or the non-numeric sentinel "infinite". A string that does not parse to a positive number means "no time limit" and normalizes to 0. */
|
|
4908
|
+
timeLimit: number | string;
|
|
4909
4909
|
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
4910
4910
|
maxAttempts: number;
|
|
4911
4911
|
/** The questions of the quiz. */
|
|
4912
4912
|
questions: {
|
|
4913
|
-
/** Question ID. */
|
|
4913
|
+
/** Question ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4914
4914
|
id: string;
|
|
4915
4915
|
/** The text of the question. */
|
|
4916
4916
|
text: string;
|
|
@@ -4921,7 +4921,7 @@ type GetAllTestSessionsForRegistrationApiResponse =
|
|
|
4921
4921
|
multipleAnswers?: boolean;
|
|
4922
4922
|
/** The options of the question. */
|
|
4923
4923
|
options: {
|
|
4924
|
-
/** QuestionOption ID. */
|
|
4924
|
+
/** QuestionOption ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
4925
4925
|
id: string;
|
|
4926
4926
|
/** The text of the questionoption. */
|
|
4927
4927
|
text: string;
|
|
@@ -4941,7 +4941,7 @@ type GetAllTestSessionsForRegistrationApiResponse =
|
|
|
4941
4941
|
totalMarks: number;
|
|
4942
4942
|
/** The prerequisites of the quiz. */
|
|
4943
4943
|
prerequisites: {
|
|
4944
|
-
/** Parent ID. */
|
|
4944
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4945
4945
|
id: string;
|
|
4946
4946
|
/** The title of the parent. */
|
|
4947
4947
|
title: string;
|
|
@@ -4951,7 +4951,7 @@ type GetAllTestSessionsForRegistrationApiResponse =
|
|
|
4951
4951
|
type: string;
|
|
4952
4952
|
}[];
|
|
4953
4953
|
parent?: {
|
|
4954
|
-
/** Parent ID. */
|
|
4954
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4955
4955
|
id: string;
|
|
4956
4956
|
/** The title of the parent. */
|
|
4957
4957
|
title: string;
|
|
@@ -4961,7 +4961,7 @@ type GetAllTestSessionsForRegistrationApiResponse =
|
|
|
4961
4961
|
type: string;
|
|
4962
4962
|
};
|
|
4963
4963
|
nextPage: {
|
|
4964
|
-
/** Parent ID. */
|
|
4964
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
4965
4965
|
id: string;
|
|
4966
4966
|
/** The title of the parent. */
|
|
4967
4967
|
title: string;
|
|
@@ -5002,7 +5002,7 @@ type SubmitQuizApiResponse = {
|
|
|
5002
5002
|
[key: string]: boolean;
|
|
5003
5003
|
};
|
|
5004
5004
|
quiz: {
|
|
5005
|
-
/** Quiz ID. */
|
|
5005
|
+
/** Quiz ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID - stored records carry authored slugs. */
|
|
5006
5006
|
id: string;
|
|
5007
5007
|
/** Organization ID that owns this quiz */
|
|
5008
5008
|
orgId: string;
|
|
@@ -5034,13 +5034,13 @@ type SubmitQuizApiResponse = {
|
|
|
5034
5034
|
filePath: string;
|
|
5035
5035
|
/** The pass percentage of the quiz. */
|
|
5036
5036
|
passPercentage: number;
|
|
5037
|
-
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
5038
|
-
timeLimit: number;
|
|
5037
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. Accepts a number or a string because both forms are real production data - the Hugo theme emits a JSON number, while payloads persisted by earlier revisions hold a string such as "25" or the non-numeric sentinel "infinite". A string that does not parse to a positive number means "no time limit" and normalizes to 0. */
|
|
5038
|
+
timeLimit: number | string;
|
|
5039
5039
|
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
5040
5040
|
maxAttempts: number;
|
|
5041
5041
|
/** The questions of the quiz. */
|
|
5042
5042
|
questions: {
|
|
5043
|
-
/** Question ID. */
|
|
5043
|
+
/** Question ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
5044
5044
|
id: string;
|
|
5045
5045
|
/** The text of the question. */
|
|
5046
5046
|
text: string;
|
|
@@ -5051,7 +5051,7 @@ type SubmitQuizApiResponse = {
|
|
|
5051
5051
|
multipleAnswers?: boolean;
|
|
5052
5052
|
/** The options of the question. */
|
|
5053
5053
|
options: {
|
|
5054
|
-
/** QuestionOption ID. */
|
|
5054
|
+
/** QuestionOption ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
5055
5055
|
id: string;
|
|
5056
5056
|
/** The text of the questionoption. */
|
|
5057
5057
|
text: string;
|
|
@@ -5071,7 +5071,7 @@ type SubmitQuizApiResponse = {
|
|
|
5071
5071
|
totalMarks: number;
|
|
5072
5072
|
/** The prerequisites of the quiz. */
|
|
5073
5073
|
prerequisites: {
|
|
5074
|
-
/** Parent ID. */
|
|
5074
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
5075
5075
|
id: string;
|
|
5076
5076
|
/** The title of the parent. */
|
|
5077
5077
|
title: string;
|
|
@@ -5081,7 +5081,7 @@ type SubmitQuizApiResponse = {
|
|
|
5081
5081
|
type: string;
|
|
5082
5082
|
}[];
|
|
5083
5083
|
parent?: {
|
|
5084
|
-
/** Parent ID. */
|
|
5084
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
5085
5085
|
id: string;
|
|
5086
5086
|
/** The title of the parent. */
|
|
5087
5087
|
title: string;
|
|
@@ -5091,7 +5091,7 @@ type SubmitQuizApiResponse = {
|
|
|
5091
5091
|
type: string;
|
|
5092
5092
|
};
|
|
5093
5093
|
nextPage: {
|
|
5094
|
-
/** Parent ID. */
|
|
5094
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
5095
5095
|
id: string;
|
|
5096
5096
|
/** The title of the parent. */
|
|
5097
5097
|
title: string;
|
|
@@ -5112,13 +5112,13 @@ type SubmitQuizApiArg = {
|
|
|
5112
5112
|
testSessionId: string;
|
|
5113
5113
|
/** The quiz abs path of the quizsubmission. */
|
|
5114
5114
|
quizAbsPath: string;
|
|
5115
|
-
/** ID of the associated registration. */
|
|
5116
|
-
registrationId
|
|
5117
|
-
/** ID of the user who owns or created this resource. */
|
|
5118
|
-
userId
|
|
5115
|
+
/** ID of the associated registration. Optional, because a submission may not carry this echo; when it is absent the authoritative value is `TestSubmission.registrationId`. Absence MUST be expressed as `null` or an omitted property - the empty string is not a valid identifier. */
|
|
5116
|
+
registrationId?: string | null;
|
|
5117
|
+
/** ID of the user who owns or created this resource. Optional, because a submission may not carry this echo; when it is absent the authoritative value is `TestSubmission.userId`. Absence MUST be expressed as `null` or an omitted property - the empty string is not a valid identifier. */
|
|
5118
|
+
userId?: string | null;
|
|
5119
5119
|
/** The answers of the quizsubmission. */
|
|
5120
5120
|
answers: {
|
|
5121
|
-
/** ID of the associated question. */
|
|
5121
|
+
/** ID of the associated question. Mirrors `Question.id`, a content-authored string rather than a database row identifier, so it is not a UUID. */
|
|
5122
5122
|
questionId: string;
|
|
5123
5123
|
/** Map of selected option IDs to a boolean value indicating if it was selected. */
|
|
5124
5124
|
selectedOptionId: {
|
|
@@ -5166,7 +5166,7 @@ type GetAcademyAdminSummaryApiResponse =
|
|
|
5166
5166
|
tests?: {
|
|
5167
5167
|
/** The test the counts refer to. */
|
|
5168
5168
|
test?: {
|
|
5169
|
-
/** Quiz ID. */
|
|
5169
|
+
/** Quiz ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID - stored records carry authored slugs. */
|
|
5170
5170
|
id: string;
|
|
5171
5171
|
/** Organization ID that owns this quiz */
|
|
5172
5172
|
orgId: string;
|
|
@@ -5198,13 +5198,13 @@ type GetAcademyAdminSummaryApiResponse =
|
|
|
5198
5198
|
filePath: string;
|
|
5199
5199
|
/** The pass percentage of the quiz. */
|
|
5200
5200
|
passPercentage: number;
|
|
5201
|
-
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
5202
|
-
timeLimit: number;
|
|
5201
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. Accepts a number or a string because both forms are real production data - the Hugo theme emits a JSON number, while payloads persisted by earlier revisions hold a string such as "25" or the non-numeric sentinel "infinite". A string that does not parse to a positive number means "no time limit" and normalizes to 0. */
|
|
5202
|
+
timeLimit: number | string;
|
|
5203
5203
|
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
5204
5204
|
maxAttempts: number;
|
|
5205
5205
|
/** The questions of the quiz. */
|
|
5206
5206
|
questions: {
|
|
5207
|
-
/** Question ID. */
|
|
5207
|
+
/** Question ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
5208
5208
|
id: string;
|
|
5209
5209
|
/** The text of the question. */
|
|
5210
5210
|
text: string;
|
|
@@ -5215,7 +5215,7 @@ type GetAcademyAdminSummaryApiResponse =
|
|
|
5215
5215
|
multipleAnswers?: boolean;
|
|
5216
5216
|
/** The options of the question. */
|
|
5217
5217
|
options: {
|
|
5218
|
-
/** QuestionOption ID. */
|
|
5218
|
+
/** QuestionOption ID. Authored in the quiz's Hugo front matter, not a database row, so it is an opaque content-scoped string. Not a UUID. */
|
|
5219
5219
|
id: string;
|
|
5220
5220
|
/** The text of the questionoption. */
|
|
5221
5221
|
text: string;
|
|
@@ -5235,7 +5235,7 @@ type GetAcademyAdminSummaryApiResponse =
|
|
|
5235
5235
|
totalMarks: number;
|
|
5236
5236
|
/** The prerequisites of the quiz. */
|
|
5237
5237
|
prerequisites: {
|
|
5238
|
-
/** Parent ID. */
|
|
5238
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
5239
5239
|
id: string;
|
|
5240
5240
|
/** The title of the parent. */
|
|
5241
5241
|
title: string;
|
|
@@ -5245,7 +5245,7 @@ type GetAcademyAdminSummaryApiResponse =
|
|
|
5245
5245
|
type: string;
|
|
5246
5246
|
}[];
|
|
5247
5247
|
parent?: {
|
|
5248
|
-
/** Parent ID. */
|
|
5248
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
5249
5249
|
id: string;
|
|
5250
5250
|
/** The title of the parent. */
|
|
5251
5251
|
title: string;
|
|
@@ -5255,7 +5255,7 @@ type GetAcademyAdminSummaryApiResponse =
|
|
|
5255
5255
|
type: string;
|
|
5256
5256
|
};
|
|
5257
5257
|
nextPage: {
|
|
5258
|
-
/** Parent ID. */
|
|
5258
|
+
/** Parent ID. Identifies a Hugo content page, not a database row, so it is an opaque content-scoped string. Not a UUID. See `Quiz.id`. */
|
|
5259
5259
|
id: string;
|
|
5260
5260
|
/** The title of the parent. */
|
|
5261
5261
|
title: string;
|