@rusaint/react-native 0.14.0 → 0.14.2
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/android/build.gradle +4 -4
- package/android/src/main/jniLibs/arm64-v8a/librusaint_ffi.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/librusaint_ffi.so +0 -0
- package/build/RusaintReactNative.xcframework/Info.plist +4 -4
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeResources +6 -6
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeSignature +0 -0
- package/build/RusaintReactNative.xcframework/ios-arm64/librusaint_ffi.a +0 -0
- package/build/RusaintReactNative.xcframework/ios-arm64-simulator/librusaint_ffi.a +0 -0
- package/cpp/generated/rusaint_ffi.cpp +182 -0
- package/cpp/generated/rusaint_ffi.hpp +10 -0
- package/lib/commonjs/generated/rusaint.js +643 -1
- package/lib/commonjs/generated/rusaint.js.map +1 -1
- package/lib/commonjs/generated/rusaint_ffi-ffi.js.map +1 -1
- package/lib/commonjs/generated/rusaint_ffi.js +114 -0
- package/lib/commonjs/generated/rusaint_ffi.js.map +1 -1
- package/lib/module/generated/rusaint.js +642 -0
- package/lib/module/generated/rusaint.js.map +1 -1
- package/lib/module/generated/rusaint_ffi-ffi.js.map +1 -1
- package/lib/module/generated/rusaint_ffi.js +114 -0
- package/lib/module/generated/rusaint_ffi.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts +581 -0
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts +10 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts +75 -1
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/rusaint.d.ts +581 -0
- package/lib/typescript/module/src/generated/rusaint.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts +10 -0
- package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/rusaint_ffi.d.ts +75 -1
- package/lib/typescript/module/src/generated/rusaint_ffi.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/rusaint.ts +1102 -22
- package/src/generated/rusaint_ffi-ffi.ts +27 -0
- package/src/generated/rusaint_ffi.ts +318 -0
|
@@ -16,6 +16,56 @@ typeof process !== 'object' ||
|
|
|
16
16
|
process?.env?.NODE_ENV !== 'production' || false;
|
|
17
17
|
// Public interface members begin here.
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* 대체 과목 정보
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Generated factory for {@link AlternativeLecture} record objects.
|
|
25
|
+
*/
|
|
26
|
+
export const AlternativeLecture = (() => {
|
|
27
|
+
const defaults = () => ({});
|
|
28
|
+
const create = (() => {
|
|
29
|
+
return uniffiCreateRecord(defaults);
|
|
30
|
+
})();
|
|
31
|
+
return Object.freeze({
|
|
32
|
+
/**
|
|
33
|
+
* Create a frozen instance of {@link AlternativeLecture}, with defaults specified
|
|
34
|
+
* in Rust, in the {@link rusaint} crate.
|
|
35
|
+
*/
|
|
36
|
+
create,
|
|
37
|
+
/**
|
|
38
|
+
* Create a frozen instance of {@link AlternativeLecture}, with defaults specified
|
|
39
|
+
* in Rust, in the {@link rusaint} crate.
|
|
40
|
+
*/
|
|
41
|
+
new: create,
|
|
42
|
+
/**
|
|
43
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
44
|
+
*/
|
|
45
|
+
defaults: () => Object.freeze(defaults())
|
|
46
|
+
});
|
|
47
|
+
})();
|
|
48
|
+
const FfiConverterTypeAlternativeLecture = (() => {
|
|
49
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
50
|
+
read(from) {
|
|
51
|
+
return {
|
|
52
|
+
kind: FfiConverterString.read(from),
|
|
53
|
+
code: FfiConverterString.read(from),
|
|
54
|
+
name: FfiConverterString.read(from)
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
write(value, into) {
|
|
58
|
+
FfiConverterString.write(value.kind, into);
|
|
59
|
+
FfiConverterString.write(value.code, into);
|
|
60
|
+
FfiConverterString.write(value.name, into);
|
|
61
|
+
}
|
|
62
|
+
allocationSize(value) {
|
|
63
|
+
return FfiConverterString.allocationSize(value.kind) + FfiConverterString.allocationSize(value.code) + FfiConverterString.allocationSize(value.name);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return new FFIConverter();
|
|
67
|
+
})();
|
|
68
|
+
|
|
19
69
|
/**
|
|
20
70
|
* 채플 결석신청 정보
|
|
21
71
|
*/
|
|
@@ -260,6 +310,68 @@ const FfiConverterTypeClassGrade = (() => {
|
|
|
260
310
|
return new FFIConverter();
|
|
261
311
|
})();
|
|
262
312
|
|
|
313
|
+
/**
|
|
314
|
+
* 이수구분별 개별 과목 성적
|
|
315
|
+
*/
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Generated factory for {@link ClassGradeItem} record objects.
|
|
319
|
+
*/
|
|
320
|
+
export const ClassGradeItem = (() => {
|
|
321
|
+
const defaults = () => ({});
|
|
322
|
+
const create = (() => {
|
|
323
|
+
return uniffiCreateRecord(defaults);
|
|
324
|
+
})();
|
|
325
|
+
return Object.freeze({
|
|
326
|
+
/**
|
|
327
|
+
* Create a frozen instance of {@link ClassGradeItem}, with defaults specified
|
|
328
|
+
* in Rust, in the {@link rusaint} crate.
|
|
329
|
+
*/
|
|
330
|
+
create,
|
|
331
|
+
/**
|
|
332
|
+
* Create a frozen instance of {@link ClassGradeItem}, with defaults specified
|
|
333
|
+
* in Rust, in the {@link rusaint} crate.
|
|
334
|
+
*/
|
|
335
|
+
new: create,
|
|
336
|
+
/**
|
|
337
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
338
|
+
*/
|
|
339
|
+
defaults: () => Object.freeze(defaults())
|
|
340
|
+
});
|
|
341
|
+
})();
|
|
342
|
+
const FfiConverterTypeClassGradeItem = (() => {
|
|
343
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
344
|
+
read(from) {
|
|
345
|
+
return {
|
|
346
|
+
classification: FfiConverterString.read(from),
|
|
347
|
+
year: FfiConverterString.read(from),
|
|
348
|
+
semester: FfiConverterString.read(from),
|
|
349
|
+
courseCode: FfiConverterString.read(from),
|
|
350
|
+
courseName: FfiConverterString.read(from),
|
|
351
|
+
credits: FfiConverterString.read(from),
|
|
352
|
+
score: FfiConverterString.read(from),
|
|
353
|
+
grade: FfiConverterString.read(from),
|
|
354
|
+
note: FfiConverterString.read(from)
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
write(value, into) {
|
|
358
|
+
FfiConverterString.write(value.classification, into);
|
|
359
|
+
FfiConverterString.write(value.year, into);
|
|
360
|
+
FfiConverterString.write(value.semester, into);
|
|
361
|
+
FfiConverterString.write(value.courseCode, into);
|
|
362
|
+
FfiConverterString.write(value.courseName, into);
|
|
363
|
+
FfiConverterString.write(value.credits, into);
|
|
364
|
+
FfiConverterString.write(value.score, into);
|
|
365
|
+
FfiConverterString.write(value.grade, into);
|
|
366
|
+
FfiConverterString.write(value.note, into);
|
|
367
|
+
}
|
|
368
|
+
allocationSize(value) {
|
|
369
|
+
return FfiConverterString.allocationSize(value.classification) + FfiConverterString.allocationSize(value.year) + FfiConverterString.allocationSize(value.semester) + FfiConverterString.allocationSize(value.courseCode) + FfiConverterString.allocationSize(value.courseName) + FfiConverterString.allocationSize(value.credits) + FfiConverterString.allocationSize(value.score) + FfiConverterString.allocationSize(value.grade) + FfiConverterString.allocationSize(value.note);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
return new FFIConverter();
|
|
373
|
+
})();
|
|
374
|
+
|
|
263
375
|
/**
|
|
264
376
|
* 강의의 시간표 정보입니다.
|
|
265
377
|
*/
|
|
@@ -312,6 +424,56 @@ const FfiConverterTypeCourseScheduleInformation = (() => {
|
|
|
312
424
|
return new FFIConverter();
|
|
313
425
|
})();
|
|
314
426
|
|
|
427
|
+
/**
|
|
428
|
+
* 강의 검색 결과와 상세 정보, 강의계획서를 함께 담는 구조체
|
|
429
|
+
*/
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Generated factory for {@link DetailedLecture} record objects.
|
|
433
|
+
*/
|
|
434
|
+
export const DetailedLecture = (() => {
|
|
435
|
+
const defaults = () => ({});
|
|
436
|
+
const create = (() => {
|
|
437
|
+
return uniffiCreateRecord(defaults);
|
|
438
|
+
})();
|
|
439
|
+
return Object.freeze({
|
|
440
|
+
/**
|
|
441
|
+
* Create a frozen instance of {@link DetailedLecture}, with defaults specified
|
|
442
|
+
* in Rust, in the {@link rusaint} crate.
|
|
443
|
+
*/
|
|
444
|
+
create,
|
|
445
|
+
/**
|
|
446
|
+
* Create a frozen instance of {@link DetailedLecture}, with defaults specified
|
|
447
|
+
* in Rust, in the {@link rusaint} crate.
|
|
448
|
+
*/
|
|
449
|
+
new: create,
|
|
450
|
+
/**
|
|
451
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
452
|
+
*/
|
|
453
|
+
defaults: () => Object.freeze(defaults())
|
|
454
|
+
});
|
|
455
|
+
})();
|
|
456
|
+
const FfiConverterTypeDetailedLecture = (() => {
|
|
457
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
458
|
+
read(from) {
|
|
459
|
+
return {
|
|
460
|
+
lecture: FfiConverterTypeLecture.read(from),
|
|
461
|
+
detail: FfiConverterOptionalTypeLectureDetail.read(from),
|
|
462
|
+
syllabus: FfiConverterOptionalTypeLectureSyllabus.read(from)
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
write(value, into) {
|
|
466
|
+
FfiConverterTypeLecture.write(value.lecture, into);
|
|
467
|
+
FfiConverterOptionalTypeLectureDetail.write(value.detail, into);
|
|
468
|
+
FfiConverterOptionalTypeLectureSyllabus.write(value.syllabus, into);
|
|
469
|
+
}
|
|
470
|
+
allocationSize(value) {
|
|
471
|
+
return FfiConverterTypeLecture.allocationSize(value.lecture) + FfiConverterOptionalTypeLectureDetail.allocationSize(value.detail) + FfiConverterOptionalTypeLectureSyllabus.allocationSize(value.syllabus);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return new FFIConverter();
|
|
475
|
+
})();
|
|
476
|
+
|
|
315
477
|
/**
|
|
316
478
|
* 채플 기본 정보(좌석번호, 결석현황, 성적결과)
|
|
317
479
|
*/
|
|
@@ -428,6 +590,66 @@ const FfiConverterTypeGradeSummary = (() => {
|
|
|
428
590
|
return new FFIConverter();
|
|
429
591
|
})();
|
|
430
592
|
|
|
593
|
+
/**
|
|
594
|
+
* 이수구분별 성적 조회 결과
|
|
595
|
+
*/
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Generated factory for {@link GradesByClassification} record objects.
|
|
599
|
+
*/
|
|
600
|
+
export const GradesByClassification = (() => {
|
|
601
|
+
const defaults = () => ({});
|
|
602
|
+
const create = (() => {
|
|
603
|
+
return uniffiCreateRecord(defaults);
|
|
604
|
+
})();
|
|
605
|
+
return Object.freeze({
|
|
606
|
+
/**
|
|
607
|
+
* Create a frozen instance of {@link GradesByClassification}, with defaults specified
|
|
608
|
+
* in Rust, in the {@link rusaint} crate.
|
|
609
|
+
*/
|
|
610
|
+
create,
|
|
611
|
+
/**
|
|
612
|
+
* Create a frozen instance of {@link GradesByClassification}, with defaults specified
|
|
613
|
+
* in Rust, in the {@link rusaint} crate.
|
|
614
|
+
*/
|
|
615
|
+
new: create,
|
|
616
|
+
/**
|
|
617
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
618
|
+
*/
|
|
619
|
+
defaults: () => Object.freeze(defaults())
|
|
620
|
+
});
|
|
621
|
+
})();
|
|
622
|
+
const FfiConverterTypeGradesByClassification = (() => {
|
|
623
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
624
|
+
read(from) {
|
|
625
|
+
return {
|
|
626
|
+
studentNumber: FfiConverterString.read(from),
|
|
627
|
+
studentName: FfiConverterString.read(from),
|
|
628
|
+
yearLevel: FfiConverterString.read(from),
|
|
629
|
+
college: FfiConverterString.read(from),
|
|
630
|
+
department: FfiConverterString.read(from),
|
|
631
|
+
major: FfiConverterString.read(from),
|
|
632
|
+
auditDate: FfiConverterString.read(from),
|
|
633
|
+
grades: FfiConverterArrayTypeClassGradeItem.read(from)
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
write(value, into) {
|
|
637
|
+
FfiConverterString.write(value.studentNumber, into);
|
|
638
|
+
FfiConverterString.write(value.studentName, into);
|
|
639
|
+
FfiConverterString.write(value.yearLevel, into);
|
|
640
|
+
FfiConverterString.write(value.college, into);
|
|
641
|
+
FfiConverterString.write(value.department, into);
|
|
642
|
+
FfiConverterString.write(value.major, into);
|
|
643
|
+
FfiConverterString.write(value.auditDate, into);
|
|
644
|
+
FfiConverterArrayTypeClassGradeItem.write(value.grades, into);
|
|
645
|
+
}
|
|
646
|
+
allocationSize(value) {
|
|
647
|
+
return FfiConverterString.allocationSize(value.studentNumber) + FfiConverterString.allocationSize(value.studentName) + FfiConverterString.allocationSize(value.yearLevel) + FfiConverterString.allocationSize(value.college) + FfiConverterString.allocationSize(value.department) + FfiConverterString.allocationSize(value.major) + FfiConverterString.allocationSize(value.auditDate) + FfiConverterArrayTypeClassGradeItem.allocationSize(value.grades);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
return new FFIConverter();
|
|
651
|
+
})();
|
|
652
|
+
|
|
431
653
|
/**
|
|
432
654
|
* 졸업 요건
|
|
433
655
|
*/
|
|
@@ -740,6 +962,192 @@ const FfiConverterTypeLectureAssessmentResult = (() => {
|
|
|
740
962
|
return new FFIConverter();
|
|
741
963
|
})();
|
|
742
964
|
|
|
965
|
+
/**
|
|
966
|
+
* 강의 변경 이력
|
|
967
|
+
*/
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Generated factory for {@link LectureChangeHistory} record objects.
|
|
971
|
+
*/
|
|
972
|
+
export const LectureChangeHistory = (() => {
|
|
973
|
+
const defaults = () => ({});
|
|
974
|
+
const create = (() => {
|
|
975
|
+
return uniffiCreateRecord(defaults);
|
|
976
|
+
})();
|
|
977
|
+
return Object.freeze({
|
|
978
|
+
/**
|
|
979
|
+
* Create a frozen instance of {@link LectureChangeHistory}, with defaults specified
|
|
980
|
+
* in Rust, in the {@link rusaint} crate.
|
|
981
|
+
*/
|
|
982
|
+
create,
|
|
983
|
+
/**
|
|
984
|
+
* Create a frozen instance of {@link LectureChangeHistory}, with defaults specified
|
|
985
|
+
* in Rust, in the {@link rusaint} crate.
|
|
986
|
+
*/
|
|
987
|
+
new: create,
|
|
988
|
+
/**
|
|
989
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
990
|
+
*/
|
|
991
|
+
defaults: () => Object.freeze(defaults())
|
|
992
|
+
});
|
|
993
|
+
})();
|
|
994
|
+
const FfiConverterTypeLectureChangeHistory = (() => {
|
|
995
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
996
|
+
read(from) {
|
|
997
|
+
return {
|
|
998
|
+
startDate: FfiConverterString.read(from),
|
|
999
|
+
endDate: FfiConverterString.read(from),
|
|
1000
|
+
name: FfiConverterString.read(from)
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
write(value, into) {
|
|
1004
|
+
FfiConverterString.write(value.startDate, into);
|
|
1005
|
+
FfiConverterString.write(value.endDate, into);
|
|
1006
|
+
FfiConverterString.write(value.name, into);
|
|
1007
|
+
}
|
|
1008
|
+
allocationSize(value) {
|
|
1009
|
+
return FfiConverterString.allocationSize(value.startDate) + FfiConverterString.allocationSize(value.endDate) + FfiConverterString.allocationSize(value.name);
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
return new FFIConverter();
|
|
1013
|
+
})();
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* 강의 상세 정보
|
|
1017
|
+
*/
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Generated factory for {@link LectureDetail} record objects.
|
|
1021
|
+
*/
|
|
1022
|
+
export const LectureDetail = (() => {
|
|
1023
|
+
const defaults = () => ({});
|
|
1024
|
+
const create = (() => {
|
|
1025
|
+
return uniffiCreateRecord(defaults);
|
|
1026
|
+
})();
|
|
1027
|
+
return Object.freeze({
|
|
1028
|
+
/**
|
|
1029
|
+
* Create a frozen instance of {@link LectureDetail}, with defaults specified
|
|
1030
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1031
|
+
*/
|
|
1032
|
+
create,
|
|
1033
|
+
/**
|
|
1034
|
+
* Create a frozen instance of {@link LectureDetail}, with defaults specified
|
|
1035
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1036
|
+
*/
|
|
1037
|
+
new: create,
|
|
1038
|
+
/**
|
|
1039
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1040
|
+
*/
|
|
1041
|
+
defaults: () => Object.freeze(defaults())
|
|
1042
|
+
});
|
|
1043
|
+
})();
|
|
1044
|
+
const FfiConverterTypeLectureDetail = (() => {
|
|
1045
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1046
|
+
read(from) {
|
|
1047
|
+
return {
|
|
1048
|
+
changesHistory: FfiConverterArrayTypeLectureChangeHistory.read(from),
|
|
1049
|
+
alternativeLectures: FfiConverterArrayTypeAlternativeLecture.read(from),
|
|
1050
|
+
categories: FfiConverterArrayString.read(from),
|
|
1051
|
+
prerequisites: FfiConverterArrayTypePrerequisiteLecture.read(from)
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
write(value, into) {
|
|
1055
|
+
FfiConverterArrayTypeLectureChangeHistory.write(value.changesHistory, into);
|
|
1056
|
+
FfiConverterArrayTypeAlternativeLecture.write(value.alternativeLectures, into);
|
|
1057
|
+
FfiConverterArrayString.write(value.categories, into);
|
|
1058
|
+
FfiConverterArrayTypePrerequisiteLecture.write(value.prerequisites, into);
|
|
1059
|
+
}
|
|
1060
|
+
allocationSize(value) {
|
|
1061
|
+
return FfiConverterArrayTypeLectureChangeHistory.allocationSize(value.changesHistory) + FfiConverterArrayTypeAlternativeLecture.allocationSize(value.alternativeLectures) + FfiConverterArrayString.allocationSize(value.categories) + FfiConverterArrayTypePrerequisiteLecture.allocationSize(value.prerequisites);
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
return new FFIConverter();
|
|
1065
|
+
})();
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* 강의계획서 - Full lecture syllabus information
|
|
1069
|
+
*/
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Generated factory for {@link LectureSyllabus} record objects.
|
|
1073
|
+
*/
|
|
1074
|
+
export const LectureSyllabus = (() => {
|
|
1075
|
+
const defaults = () => ({});
|
|
1076
|
+
const create = (() => {
|
|
1077
|
+
return uniffiCreateRecord(defaults);
|
|
1078
|
+
})();
|
|
1079
|
+
return Object.freeze({
|
|
1080
|
+
/**
|
|
1081
|
+
* Create a frozen instance of {@link LectureSyllabus}, with defaults specified
|
|
1082
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1083
|
+
*/
|
|
1084
|
+
create,
|
|
1085
|
+
/**
|
|
1086
|
+
* Create a frozen instance of {@link LectureSyllabus}, with defaults specified
|
|
1087
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1088
|
+
*/
|
|
1089
|
+
new: create,
|
|
1090
|
+
/**
|
|
1091
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1092
|
+
*/
|
|
1093
|
+
defaults: () => Object.freeze(defaults())
|
|
1094
|
+
});
|
|
1095
|
+
})();
|
|
1096
|
+
const FfiConverterTypeLectureSyllabus = (() => {
|
|
1097
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1098
|
+
read(from) {
|
|
1099
|
+
return {
|
|
1100
|
+
courseName: FfiConverterString.read(from),
|
|
1101
|
+
professor: FfiConverterString.read(from),
|
|
1102
|
+
courseCode: FfiConverterString.read(from),
|
|
1103
|
+
year: FfiConverterString.read(from),
|
|
1104
|
+
semester: FfiConverterString.read(from),
|
|
1105
|
+
credits: FfiConverterString.read(from),
|
|
1106
|
+
abstractText: FfiConverterString.read(from),
|
|
1107
|
+
teachingMethod: FfiConverterString.read(from),
|
|
1108
|
+
mainTextbook: FfiConverterString.read(from),
|
|
1109
|
+
subTextbook: FfiConverterString.read(from),
|
|
1110
|
+
professorPhone: FfiConverterString.read(from),
|
|
1111
|
+
professorEmail: FfiConverterString.read(from),
|
|
1112
|
+
officeHours: FfiConverterString.read(from),
|
|
1113
|
+
targetStudents: FfiConverterString.read(from),
|
|
1114
|
+
designation: FfiConverterString.read(from),
|
|
1115
|
+
absencePolicy: FfiConverterString.read(from),
|
|
1116
|
+
gradingItems: FfiConverterArrayTypeSyllabusGradingItem.read(from),
|
|
1117
|
+
learningObjectives: FfiConverterArrayString.read(from),
|
|
1118
|
+
weeklySchedule: FfiConverterArrayTypeSyllabusWeeklyPlan.read(from),
|
|
1119
|
+
competencies: FfiConverterArrayTypeSyllabusCompetency.read(from)
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
write(value, into) {
|
|
1123
|
+
FfiConverterString.write(value.courseName, into);
|
|
1124
|
+
FfiConverterString.write(value.professor, into);
|
|
1125
|
+
FfiConverterString.write(value.courseCode, into);
|
|
1126
|
+
FfiConverterString.write(value.year, into);
|
|
1127
|
+
FfiConverterString.write(value.semester, into);
|
|
1128
|
+
FfiConverterString.write(value.credits, into);
|
|
1129
|
+
FfiConverterString.write(value.abstractText, into);
|
|
1130
|
+
FfiConverterString.write(value.teachingMethod, into);
|
|
1131
|
+
FfiConverterString.write(value.mainTextbook, into);
|
|
1132
|
+
FfiConverterString.write(value.subTextbook, into);
|
|
1133
|
+
FfiConverterString.write(value.professorPhone, into);
|
|
1134
|
+
FfiConverterString.write(value.professorEmail, into);
|
|
1135
|
+
FfiConverterString.write(value.officeHours, into);
|
|
1136
|
+
FfiConverterString.write(value.targetStudents, into);
|
|
1137
|
+
FfiConverterString.write(value.designation, into);
|
|
1138
|
+
FfiConverterString.write(value.absencePolicy, into);
|
|
1139
|
+
FfiConverterArrayTypeSyllabusGradingItem.write(value.gradingItems, into);
|
|
1140
|
+
FfiConverterArrayString.write(value.learningObjectives, into);
|
|
1141
|
+
FfiConverterArrayTypeSyllabusWeeklyPlan.write(value.weeklySchedule, into);
|
|
1142
|
+
FfiConverterArrayTypeSyllabusCompetency.write(value.competencies, into);
|
|
1143
|
+
}
|
|
1144
|
+
allocationSize(value) {
|
|
1145
|
+
return FfiConverterString.allocationSize(value.courseName) + FfiConverterString.allocationSize(value.professor) + FfiConverterString.allocationSize(value.courseCode) + FfiConverterString.allocationSize(value.year) + FfiConverterString.allocationSize(value.semester) + FfiConverterString.allocationSize(value.credits) + FfiConverterString.allocationSize(value.abstractText) + FfiConverterString.allocationSize(value.teachingMethod) + FfiConverterString.allocationSize(value.mainTextbook) + FfiConverterString.allocationSize(value.subTextbook) + FfiConverterString.allocationSize(value.professorPhone) + FfiConverterString.allocationSize(value.professorEmail) + FfiConverterString.allocationSize(value.officeHours) + FfiConverterString.allocationSize(value.targetStudents) + FfiConverterString.allocationSize(value.designation) + FfiConverterString.allocationSize(value.absencePolicy) + FfiConverterArrayTypeSyllabusGradingItem.allocationSize(value.gradingItems) + FfiConverterArrayString.allocationSize(value.learningObjectives) + FfiConverterArrayTypeSyllabusWeeklyPlan.allocationSize(value.weeklySchedule) + FfiConverterArrayTypeSyllabusCompetency.allocationSize(value.competencies);
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
return new FFIConverter();
|
|
1149
|
+
})();
|
|
1150
|
+
|
|
743
1151
|
/**
|
|
744
1152
|
* 개인의 수업 시간표 정보를 조회합니다.
|
|
745
1153
|
*/
|
|
@@ -786,6 +1194,54 @@ const FfiConverterTypePersonalCourseSchedule = (() => {
|
|
|
786
1194
|
return new FFIConverter();
|
|
787
1195
|
})();
|
|
788
1196
|
|
|
1197
|
+
/**
|
|
1198
|
+
* 선수 과목 정보
|
|
1199
|
+
*/
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Generated factory for {@link PrerequisiteLecture} record objects.
|
|
1203
|
+
*/
|
|
1204
|
+
export const PrerequisiteLecture = (() => {
|
|
1205
|
+
const defaults = () => ({});
|
|
1206
|
+
const create = (() => {
|
|
1207
|
+
return uniffiCreateRecord(defaults);
|
|
1208
|
+
})();
|
|
1209
|
+
return Object.freeze({
|
|
1210
|
+
/**
|
|
1211
|
+
* Create a frozen instance of {@link PrerequisiteLecture}, with defaults specified
|
|
1212
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1213
|
+
*/
|
|
1214
|
+
create,
|
|
1215
|
+
/**
|
|
1216
|
+
* Create a frozen instance of {@link PrerequisiteLecture}, with defaults specified
|
|
1217
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1218
|
+
*/
|
|
1219
|
+
new: create,
|
|
1220
|
+
/**
|
|
1221
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1222
|
+
*/
|
|
1223
|
+
defaults: () => Object.freeze(defaults())
|
|
1224
|
+
});
|
|
1225
|
+
})();
|
|
1226
|
+
const FfiConverterTypePrerequisiteLecture = (() => {
|
|
1227
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1228
|
+
read(from) {
|
|
1229
|
+
return {
|
|
1230
|
+
code: FfiConverterString.read(from),
|
|
1231
|
+
name: FfiConverterString.read(from)
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
write(value, into) {
|
|
1235
|
+
FfiConverterString.write(value.code, into);
|
|
1236
|
+
FfiConverterString.write(value.name, into);
|
|
1237
|
+
}
|
|
1238
|
+
allocationSize(value) {
|
|
1239
|
+
return FfiConverterString.allocationSize(value.code) + FfiConverterString.allocationSize(value.name);
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
return new FFIConverter();
|
|
1243
|
+
})();
|
|
1244
|
+
|
|
789
1245
|
/**
|
|
790
1246
|
* 수강신청한 과목 정보
|
|
791
1247
|
*/
|
|
@@ -1972,6 +2428,154 @@ const FfiConverterTypeStudentWorkInformation = (() => {
|
|
|
1972
2428
|
return new FFIConverter();
|
|
1973
2429
|
})();
|
|
1974
2430
|
|
|
2431
|
+
/**
|
|
2432
|
+
* 핵심역량
|
|
2433
|
+
*/
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Generated factory for {@link SyllabusCompetency} record objects.
|
|
2437
|
+
*/
|
|
2438
|
+
export const SyllabusCompetency = (() => {
|
|
2439
|
+
const defaults = () => ({});
|
|
2440
|
+
const create = (() => {
|
|
2441
|
+
return uniffiCreateRecord(defaults);
|
|
2442
|
+
})();
|
|
2443
|
+
return Object.freeze({
|
|
2444
|
+
/**
|
|
2445
|
+
* Create a frozen instance of {@link SyllabusCompetency}, with defaults specified
|
|
2446
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2447
|
+
*/
|
|
2448
|
+
create,
|
|
2449
|
+
/**
|
|
2450
|
+
* Create a frozen instance of {@link SyllabusCompetency}, with defaults specified
|
|
2451
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2452
|
+
*/
|
|
2453
|
+
new: create,
|
|
2454
|
+
/**
|
|
2455
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
2456
|
+
*/
|
|
2457
|
+
defaults: () => Object.freeze(defaults())
|
|
2458
|
+
});
|
|
2459
|
+
})();
|
|
2460
|
+
const FfiConverterTypeSyllabusCompetency = (() => {
|
|
2461
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2462
|
+
read(from) {
|
|
2463
|
+
return {
|
|
2464
|
+
name: FfiConverterString.read(from),
|
|
2465
|
+
rate: FfiConverterString.read(from)
|
|
2466
|
+
};
|
|
2467
|
+
}
|
|
2468
|
+
write(value, into) {
|
|
2469
|
+
FfiConverterString.write(value.name, into);
|
|
2470
|
+
FfiConverterString.write(value.rate, into);
|
|
2471
|
+
}
|
|
2472
|
+
allocationSize(value) {
|
|
2473
|
+
return FfiConverterString.allocationSize(value.name) + FfiConverterString.allocationSize(value.rate);
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
return new FFIConverter();
|
|
2477
|
+
})();
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* 성적평가 항목
|
|
2481
|
+
*/
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* Generated factory for {@link SyllabusGradingItem} record objects.
|
|
2485
|
+
*/
|
|
2486
|
+
export const SyllabusGradingItem = (() => {
|
|
2487
|
+
const defaults = () => ({});
|
|
2488
|
+
const create = (() => {
|
|
2489
|
+
return uniffiCreateRecord(defaults);
|
|
2490
|
+
})();
|
|
2491
|
+
return Object.freeze({
|
|
2492
|
+
/**
|
|
2493
|
+
* Create a frozen instance of {@link SyllabusGradingItem}, with defaults specified
|
|
2494
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2495
|
+
*/
|
|
2496
|
+
create,
|
|
2497
|
+
/**
|
|
2498
|
+
* Create a frozen instance of {@link SyllabusGradingItem}, with defaults specified
|
|
2499
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2500
|
+
*/
|
|
2501
|
+
new: create,
|
|
2502
|
+
/**
|
|
2503
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
2504
|
+
*/
|
|
2505
|
+
defaults: () => Object.freeze(defaults())
|
|
2506
|
+
});
|
|
2507
|
+
})();
|
|
2508
|
+
const FfiConverterTypeSyllabusGradingItem = (() => {
|
|
2509
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2510
|
+
read(from) {
|
|
2511
|
+
return {
|
|
2512
|
+
name: FfiConverterString.read(from),
|
|
2513
|
+
rate: FfiConverterString.read(from)
|
|
2514
|
+
};
|
|
2515
|
+
}
|
|
2516
|
+
write(value, into) {
|
|
2517
|
+
FfiConverterString.write(value.name, into);
|
|
2518
|
+
FfiConverterString.write(value.rate, into);
|
|
2519
|
+
}
|
|
2520
|
+
allocationSize(value) {
|
|
2521
|
+
return FfiConverterString.allocationSize(value.name) + FfiConverterString.allocationSize(value.rate);
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
return new FFIConverter();
|
|
2525
|
+
})();
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* 주차별 수업계획
|
|
2529
|
+
*/
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* Generated factory for {@link SyllabusWeeklyPlan} record objects.
|
|
2533
|
+
*/
|
|
2534
|
+
export const SyllabusWeeklyPlan = (() => {
|
|
2535
|
+
const defaults = () => ({});
|
|
2536
|
+
const create = (() => {
|
|
2537
|
+
return uniffiCreateRecord(defaults);
|
|
2538
|
+
})();
|
|
2539
|
+
return Object.freeze({
|
|
2540
|
+
/**
|
|
2541
|
+
* Create a frozen instance of {@link SyllabusWeeklyPlan}, with defaults specified
|
|
2542
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2543
|
+
*/
|
|
2544
|
+
create,
|
|
2545
|
+
/**
|
|
2546
|
+
* Create a frozen instance of {@link SyllabusWeeklyPlan}, with defaults specified
|
|
2547
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2548
|
+
*/
|
|
2549
|
+
new: create,
|
|
2550
|
+
/**
|
|
2551
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
2552
|
+
*/
|
|
2553
|
+
defaults: () => Object.freeze(defaults())
|
|
2554
|
+
});
|
|
2555
|
+
})();
|
|
2556
|
+
const FfiConverterTypeSyllabusWeeklyPlan = (() => {
|
|
2557
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2558
|
+
read(from) {
|
|
2559
|
+
return {
|
|
2560
|
+
week: FfiConverterString.read(from),
|
|
2561
|
+
topic: FfiConverterString.read(from),
|
|
2562
|
+
details: FfiConverterString.read(from),
|
|
2563
|
+
teachingMethod: FfiConverterString.read(from)
|
|
2564
|
+
};
|
|
2565
|
+
}
|
|
2566
|
+
write(value, into) {
|
|
2567
|
+
FfiConverterString.write(value.week, into);
|
|
2568
|
+
FfiConverterString.write(value.topic, into);
|
|
2569
|
+
FfiConverterString.write(value.details, into);
|
|
2570
|
+
FfiConverterString.write(value.teachingMethod, into);
|
|
2571
|
+
}
|
|
2572
|
+
allocationSize(value) {
|
|
2573
|
+
return FfiConverterString.allocationSize(value.week) + FfiConverterString.allocationSize(value.topic) + FfiConverterString.allocationSize(value.details) + FfiConverterString.allocationSize(value.teachingMethod);
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
return new FFIConverter();
|
|
2577
|
+
})();
|
|
2578
|
+
|
|
1975
2579
|
/**
|
|
1976
2580
|
* uniffi 지원을 위한 u32 Pair입니다.
|
|
1977
2581
|
*/
|
|
@@ -3155,6 +3759,12 @@ const FfiConverterTypeLectureCategoryBuilder = new FfiConverterObject(uniffiType
|
|
|
3155
3759
|
// FfiConverter for /*f32*/number | undefined
|
|
3156
3760
|
const FfiConverterOptionalFloat32 = new FfiConverterOptional(FfiConverterFloat32);
|
|
3157
3761
|
|
|
3762
|
+
// FfiConverter for LectureDetail | undefined
|
|
3763
|
+
const FfiConverterOptionalTypeLectureDetail = new FfiConverterOptional(FfiConverterTypeLectureDetail);
|
|
3764
|
+
|
|
3765
|
+
// FfiConverter for LectureSyllabus | undefined
|
|
3766
|
+
const FfiConverterOptionalTypeLectureSyllabus = new FfiConverterOptional(FfiConverterTypeLectureSyllabus);
|
|
3767
|
+
|
|
3158
3768
|
// FfiConverter for StudentForignStudyInformation | undefined
|
|
3159
3769
|
const FfiConverterOptionalTypeStudentForignStudyInformation = new FfiConverterOptional(FfiConverterTypeStudentForignStudyInformation);
|
|
3160
3770
|
|
|
@@ -3173,15 +3783,27 @@ const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
|
|
|
3173
3783
|
// FfiConverter for /*u32*/number | undefined
|
|
3174
3784
|
const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);
|
|
3175
3785
|
|
|
3786
|
+
// FfiConverter for Array<AlternativeLecture>
|
|
3787
|
+
const FfiConverterArrayTypeAlternativeLecture = new FfiConverterArray(FfiConverterTypeAlternativeLecture);
|
|
3788
|
+
|
|
3176
3789
|
// FfiConverter for Array<ChapelAbsenceRequest>
|
|
3177
3790
|
const FfiConverterArrayTypeChapelAbsenceRequest = new FfiConverterArray(FfiConverterTypeChapelAbsenceRequest);
|
|
3178
3791
|
|
|
3179
3792
|
// FfiConverter for Array<ChapelAttendance>
|
|
3180
3793
|
const FfiConverterArrayTypeChapelAttendance = new FfiConverterArray(FfiConverterTypeChapelAttendance);
|
|
3181
3794
|
|
|
3795
|
+
// FfiConverter for Array<ClassGradeItem>
|
|
3796
|
+
const FfiConverterArrayTypeClassGradeItem = new FfiConverterArray(FfiConverterTypeClassGradeItem);
|
|
3797
|
+
|
|
3182
3798
|
// FfiConverter for Array<CourseScheduleInformation>
|
|
3183
3799
|
const FfiConverterArrayTypeCourseScheduleInformation = new FfiConverterArray(FfiConverterTypeCourseScheduleInformation);
|
|
3184
3800
|
|
|
3801
|
+
// FfiConverter for Array<LectureChangeHistory>
|
|
3802
|
+
const FfiConverterArrayTypeLectureChangeHistory = new FfiConverterArray(FfiConverterTypeLectureChangeHistory);
|
|
3803
|
+
|
|
3804
|
+
// FfiConverter for Array<PrerequisiteLecture>
|
|
3805
|
+
const FfiConverterArrayTypePrerequisiteLecture = new FfiConverterArray(FfiConverterTypePrerequisiteLecture);
|
|
3806
|
+
|
|
3185
3807
|
// FfiConverter for Array<StudentAcademicRecord>
|
|
3186
3808
|
const FfiConverterArrayTypeStudentAcademicRecord = new FfiConverterArray(FfiConverterTypeStudentAcademicRecord);
|
|
3187
3809
|
|
|
@@ -3191,6 +3813,15 @@ const FfiConverterArrayTypeStudentFamilyMember = new FfiConverterArray(FfiConver
|
|
|
3191
3813
|
// FfiConverter for Array<StudentTransferRecord>
|
|
3192
3814
|
const FfiConverterArrayTypeStudentTransferRecord = new FfiConverterArray(FfiConverterTypeStudentTransferRecord);
|
|
3193
3815
|
|
|
3816
|
+
// FfiConverter for Array<SyllabusCompetency>
|
|
3817
|
+
const FfiConverterArrayTypeSyllabusCompetency = new FfiConverterArray(FfiConverterTypeSyllabusCompetency);
|
|
3818
|
+
|
|
3819
|
+
// FfiConverter for Array<SyllabusGradingItem>
|
|
3820
|
+
const FfiConverterArrayTypeSyllabusGradingItem = new FfiConverterArray(FfiConverterTypeSyllabusGradingItem);
|
|
3821
|
+
|
|
3822
|
+
// FfiConverter for Array<SyllabusWeeklyPlan>
|
|
3823
|
+
const FfiConverterArrayTypeSyllabusWeeklyPlan = new FfiConverterArray(FfiConverterTypeSyllabusWeeklyPlan);
|
|
3824
|
+
|
|
3194
3825
|
// FfiConverter for Array<string>
|
|
3195
3826
|
const FfiConverterArrayString = new FfiConverterArray(FfiConverterString);
|
|
3196
3827
|
|
|
@@ -3261,15 +3892,19 @@ function uniffiEnsureInitialized() {
|
|
|
3261
3892
|
export default Object.freeze({
|
|
3262
3893
|
initialize: uniffiEnsureInitialized,
|
|
3263
3894
|
converters: {
|
|
3895
|
+
FfiConverterTypeAlternativeLecture,
|
|
3264
3896
|
FfiConverterTypeChapelAbsenceRequest,
|
|
3265
3897
|
FfiConverterTypeChapelAttendance,
|
|
3266
3898
|
FfiConverterTypeChapelInformation,
|
|
3267
3899
|
FfiConverterTypeClassGrade,
|
|
3900
|
+
FfiConverterTypeClassGradeItem,
|
|
3268
3901
|
FfiConverterTypeClassScore,
|
|
3269
3902
|
FfiConverterTypeCourseScheduleInformation,
|
|
3270
3903
|
FfiConverterTypeCourseType,
|
|
3904
|
+
FfiConverterTypeDetailedLecture,
|
|
3271
3905
|
FfiConverterTypeGeneralChapelInformation,
|
|
3272
3906
|
FfiConverterTypeGradeSummary,
|
|
3907
|
+
FfiConverterTypeGradesByClassification,
|
|
3273
3908
|
FfiConverterTypeGraduationRequirement,
|
|
3274
3909
|
FfiConverterTypeGraduationRequirements,
|
|
3275
3910
|
FfiConverterTypeGraduationStudent,
|
|
@@ -3277,7 +3912,11 @@ export default Object.freeze({
|
|
|
3277
3912
|
FfiConverterTypeLectureAssessmentResult,
|
|
3278
3913
|
FfiConverterTypeLectureCategory,
|
|
3279
3914
|
FfiConverterTypeLectureCategoryBuilder,
|
|
3915
|
+
FfiConverterTypeLectureChangeHistory,
|
|
3916
|
+
FfiConverterTypeLectureDetail,
|
|
3917
|
+
FfiConverterTypeLectureSyllabus,
|
|
3280
3918
|
FfiConverterTypePersonalCourseSchedule,
|
|
3919
|
+
FfiConverterTypePrerequisiteLecture,
|
|
3281
3920
|
FfiConverterTypeRegisteredLecture,
|
|
3282
3921
|
FfiConverterTypeScholarship,
|
|
3283
3922
|
FfiConverterTypeSemesterGrade,
|
|
@@ -3299,6 +3938,9 @@ export default Object.freeze({
|
|
|
3299
3938
|
FfiConverterTypeStudentTransferRecord,
|
|
3300
3939
|
FfiConverterTypeStudentTransferRecords,
|
|
3301
3940
|
FfiConverterTypeStudentWorkInformation,
|
|
3941
|
+
FfiConverterTypeSyllabusCompetency,
|
|
3942
|
+
FfiConverterTypeSyllabusGradingItem,
|
|
3943
|
+
FfiConverterTypeSyllabusWeeklyPlan,
|
|
3302
3944
|
FfiConverterTypeU32Pair,
|
|
3303
3945
|
FfiConverterTypeUnsignedIntPair,
|
|
3304
3946
|
FfiConverterTypeWeekday
|