@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
package/src/generated/rusaint.ts
CHANGED
|
@@ -70,6 +70,80 @@ const uniffiIsDebug =
|
|
|
70
70
|
false;
|
|
71
71
|
// Public interface members begin here.
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* 대체 과목 정보
|
|
75
|
+
*/
|
|
76
|
+
export type AlternativeLecture = {
|
|
77
|
+
/**
|
|
78
|
+
* 구분
|
|
79
|
+
*/
|
|
80
|
+
kind: string;
|
|
81
|
+
/**
|
|
82
|
+
* 과목번호
|
|
83
|
+
*/
|
|
84
|
+
code: string;
|
|
85
|
+
/**
|
|
86
|
+
* 과목명
|
|
87
|
+
*/
|
|
88
|
+
name: string;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Generated factory for {@link AlternativeLecture} record objects.
|
|
93
|
+
*/
|
|
94
|
+
export const AlternativeLecture = (() => {
|
|
95
|
+
const defaults = () => ({});
|
|
96
|
+
const create = (() => {
|
|
97
|
+
return uniffiCreateRecord<AlternativeLecture, ReturnType<typeof defaults>>(
|
|
98
|
+
defaults
|
|
99
|
+
);
|
|
100
|
+
})();
|
|
101
|
+
return Object.freeze({
|
|
102
|
+
/**
|
|
103
|
+
* Create a frozen instance of {@link AlternativeLecture}, with defaults specified
|
|
104
|
+
* in Rust, in the {@link rusaint} crate.
|
|
105
|
+
*/
|
|
106
|
+
create,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Create a frozen instance of {@link AlternativeLecture}, with defaults specified
|
|
110
|
+
* in Rust, in the {@link rusaint} crate.
|
|
111
|
+
*/
|
|
112
|
+
new: create,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
116
|
+
*/
|
|
117
|
+
defaults: () => Object.freeze(defaults()) as Partial<AlternativeLecture>,
|
|
118
|
+
});
|
|
119
|
+
})();
|
|
120
|
+
|
|
121
|
+
const FfiConverterTypeAlternativeLecture = (() => {
|
|
122
|
+
type TypeName = AlternativeLecture;
|
|
123
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
124
|
+
read(from: RustBuffer): TypeName {
|
|
125
|
+
return {
|
|
126
|
+
kind: FfiConverterString.read(from),
|
|
127
|
+
code: FfiConverterString.read(from),
|
|
128
|
+
name: FfiConverterString.read(from),
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
132
|
+
FfiConverterString.write(value.kind, into);
|
|
133
|
+
FfiConverterString.write(value.code, into);
|
|
134
|
+
FfiConverterString.write(value.name, into);
|
|
135
|
+
}
|
|
136
|
+
allocationSize(value: TypeName): number {
|
|
137
|
+
return (
|
|
138
|
+
FfiConverterString.allocationSize(value.kind) +
|
|
139
|
+
FfiConverterString.allocationSize(value.code) +
|
|
140
|
+
FfiConverterString.allocationSize(value.name)
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return new FFIConverter();
|
|
145
|
+
})();
|
|
146
|
+
|
|
73
147
|
/**
|
|
74
148
|
* 채플 결석신청 정보
|
|
75
149
|
*/
|
|
@@ -458,6 +532,122 @@ const FfiConverterTypeClassGrade = (() => {
|
|
|
458
532
|
return new FFIConverter();
|
|
459
533
|
})();
|
|
460
534
|
|
|
535
|
+
/**
|
|
536
|
+
* 이수구분별 개별 과목 성적
|
|
537
|
+
*/
|
|
538
|
+
export type ClassGradeItem = {
|
|
539
|
+
/**
|
|
540
|
+
* 이수구분 (e.g., "교양필수", "전공선택")
|
|
541
|
+
*/
|
|
542
|
+
classification: string;
|
|
543
|
+
/**
|
|
544
|
+
* 학년도
|
|
545
|
+
*/
|
|
546
|
+
year: string;
|
|
547
|
+
/**
|
|
548
|
+
* 학기
|
|
549
|
+
*/
|
|
550
|
+
semester: string;
|
|
551
|
+
/**
|
|
552
|
+
* 과목코드
|
|
553
|
+
*/
|
|
554
|
+
courseCode: string;
|
|
555
|
+
/**
|
|
556
|
+
* 과목명
|
|
557
|
+
*/
|
|
558
|
+
courseName: string;
|
|
559
|
+
/**
|
|
560
|
+
* 학점
|
|
561
|
+
*/
|
|
562
|
+
credits: string;
|
|
563
|
+
/**
|
|
564
|
+
* 성적 점수 (e.g., "100")
|
|
565
|
+
*/
|
|
566
|
+
score: string;
|
|
567
|
+
/**
|
|
568
|
+
* 성적 등급 (e.g., "A+")
|
|
569
|
+
*/
|
|
570
|
+
grade: string;
|
|
571
|
+
/**
|
|
572
|
+
* 비고
|
|
573
|
+
*/
|
|
574
|
+
note: string;
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Generated factory for {@link ClassGradeItem} record objects.
|
|
579
|
+
*/
|
|
580
|
+
export const ClassGradeItem = (() => {
|
|
581
|
+
const defaults = () => ({});
|
|
582
|
+
const create = (() => {
|
|
583
|
+
return uniffiCreateRecord<ClassGradeItem, ReturnType<typeof defaults>>(
|
|
584
|
+
defaults
|
|
585
|
+
);
|
|
586
|
+
})();
|
|
587
|
+
return Object.freeze({
|
|
588
|
+
/**
|
|
589
|
+
* Create a frozen instance of {@link ClassGradeItem}, with defaults specified
|
|
590
|
+
* in Rust, in the {@link rusaint} crate.
|
|
591
|
+
*/
|
|
592
|
+
create,
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Create a frozen instance of {@link ClassGradeItem}, with defaults specified
|
|
596
|
+
* in Rust, in the {@link rusaint} crate.
|
|
597
|
+
*/
|
|
598
|
+
new: create,
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
602
|
+
*/
|
|
603
|
+
defaults: () => Object.freeze(defaults()) as Partial<ClassGradeItem>,
|
|
604
|
+
});
|
|
605
|
+
})();
|
|
606
|
+
|
|
607
|
+
const FfiConverterTypeClassGradeItem = (() => {
|
|
608
|
+
type TypeName = ClassGradeItem;
|
|
609
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
610
|
+
read(from: RustBuffer): TypeName {
|
|
611
|
+
return {
|
|
612
|
+
classification: FfiConverterString.read(from),
|
|
613
|
+
year: FfiConverterString.read(from),
|
|
614
|
+
semester: FfiConverterString.read(from),
|
|
615
|
+
courseCode: FfiConverterString.read(from),
|
|
616
|
+
courseName: FfiConverterString.read(from),
|
|
617
|
+
credits: FfiConverterString.read(from),
|
|
618
|
+
score: FfiConverterString.read(from),
|
|
619
|
+
grade: FfiConverterString.read(from),
|
|
620
|
+
note: FfiConverterString.read(from),
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
624
|
+
FfiConverterString.write(value.classification, into);
|
|
625
|
+
FfiConverterString.write(value.year, into);
|
|
626
|
+
FfiConverterString.write(value.semester, into);
|
|
627
|
+
FfiConverterString.write(value.courseCode, into);
|
|
628
|
+
FfiConverterString.write(value.courseName, into);
|
|
629
|
+
FfiConverterString.write(value.credits, into);
|
|
630
|
+
FfiConverterString.write(value.score, into);
|
|
631
|
+
FfiConverterString.write(value.grade, into);
|
|
632
|
+
FfiConverterString.write(value.note, into);
|
|
633
|
+
}
|
|
634
|
+
allocationSize(value: TypeName): number {
|
|
635
|
+
return (
|
|
636
|
+
FfiConverterString.allocationSize(value.classification) +
|
|
637
|
+
FfiConverterString.allocationSize(value.year) +
|
|
638
|
+
FfiConverterString.allocationSize(value.semester) +
|
|
639
|
+
FfiConverterString.allocationSize(value.courseCode) +
|
|
640
|
+
FfiConverterString.allocationSize(value.courseName) +
|
|
641
|
+
FfiConverterString.allocationSize(value.credits) +
|
|
642
|
+
FfiConverterString.allocationSize(value.score) +
|
|
643
|
+
FfiConverterString.allocationSize(value.grade) +
|
|
644
|
+
FfiConverterString.allocationSize(value.note)
|
|
645
|
+
);
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
return new FFIConverter();
|
|
649
|
+
})();
|
|
650
|
+
|
|
461
651
|
/**
|
|
462
652
|
* 강의의 시간표 정보입니다.
|
|
463
653
|
*/
|
|
@@ -529,6 +719,80 @@ const FfiConverterTypeCourseScheduleInformation = (() => {
|
|
|
529
719
|
return new FFIConverter();
|
|
530
720
|
})();
|
|
531
721
|
|
|
722
|
+
/**
|
|
723
|
+
* 강의 검색 결과와 상세 정보, 강의계획서를 함께 담는 구조체
|
|
724
|
+
*/
|
|
725
|
+
export type DetailedLecture = {
|
|
726
|
+
/**
|
|
727
|
+
* 강의 기본 정보
|
|
728
|
+
*/
|
|
729
|
+
lecture: Lecture;
|
|
730
|
+
/**
|
|
731
|
+
* 강의 상세 정보 (상세 정보 링크가 없는 경우 `None`)
|
|
732
|
+
*/
|
|
733
|
+
detail: LectureDetail | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* 강의계획서 (조회하지 않았거나 강의계획서가 없는 강의의 경우 `None`)
|
|
736
|
+
*/
|
|
737
|
+
syllabus: LectureSyllabus | undefined;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Generated factory for {@link DetailedLecture} record objects.
|
|
742
|
+
*/
|
|
743
|
+
export const DetailedLecture = (() => {
|
|
744
|
+
const defaults = () => ({});
|
|
745
|
+
const create = (() => {
|
|
746
|
+
return uniffiCreateRecord<DetailedLecture, ReturnType<typeof defaults>>(
|
|
747
|
+
defaults
|
|
748
|
+
);
|
|
749
|
+
})();
|
|
750
|
+
return Object.freeze({
|
|
751
|
+
/**
|
|
752
|
+
* Create a frozen instance of {@link DetailedLecture}, with defaults specified
|
|
753
|
+
* in Rust, in the {@link rusaint} crate.
|
|
754
|
+
*/
|
|
755
|
+
create,
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Create a frozen instance of {@link DetailedLecture}, with defaults specified
|
|
759
|
+
* in Rust, in the {@link rusaint} crate.
|
|
760
|
+
*/
|
|
761
|
+
new: create,
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
765
|
+
*/
|
|
766
|
+
defaults: () => Object.freeze(defaults()) as Partial<DetailedLecture>,
|
|
767
|
+
});
|
|
768
|
+
})();
|
|
769
|
+
|
|
770
|
+
const FfiConverterTypeDetailedLecture = (() => {
|
|
771
|
+
type TypeName = DetailedLecture;
|
|
772
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
773
|
+
read(from: RustBuffer): TypeName {
|
|
774
|
+
return {
|
|
775
|
+
lecture: FfiConverterTypeLecture.read(from),
|
|
776
|
+
detail: FfiConverterOptionalTypeLectureDetail.read(from),
|
|
777
|
+
syllabus: FfiConverterOptionalTypeLectureSyllabus.read(from),
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
781
|
+
FfiConverterTypeLecture.write(value.lecture, into);
|
|
782
|
+
FfiConverterOptionalTypeLectureDetail.write(value.detail, into);
|
|
783
|
+
FfiConverterOptionalTypeLectureSyllabus.write(value.syllabus, into);
|
|
784
|
+
}
|
|
785
|
+
allocationSize(value: TypeName): number {
|
|
786
|
+
return (
|
|
787
|
+
FfiConverterTypeLecture.allocationSize(value.lecture) +
|
|
788
|
+
FfiConverterOptionalTypeLectureDetail.allocationSize(value.detail) +
|
|
789
|
+
FfiConverterOptionalTypeLectureSyllabus.allocationSize(value.syllabus)
|
|
790
|
+
);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
return new FFIConverter();
|
|
794
|
+
})();
|
|
795
|
+
|
|
532
796
|
/**
|
|
533
797
|
* 채플 기본 정보(좌석번호, 결석현황, 성적결과)
|
|
534
798
|
*/
|
|
@@ -711,6 +975,117 @@ const FfiConverterTypeGradeSummary = (() => {
|
|
|
711
975
|
return new FFIConverter();
|
|
712
976
|
})();
|
|
713
977
|
|
|
978
|
+
/**
|
|
979
|
+
* 이수구분별 성적 조회 결과
|
|
980
|
+
*/
|
|
981
|
+
export type GradesByClassification = {
|
|
982
|
+
/**
|
|
983
|
+
* 학번
|
|
984
|
+
*/
|
|
985
|
+
studentNumber: string;
|
|
986
|
+
/**
|
|
987
|
+
* 이름
|
|
988
|
+
*/
|
|
989
|
+
studentName: string;
|
|
990
|
+
/**
|
|
991
|
+
* 학년
|
|
992
|
+
*/
|
|
993
|
+
yearLevel: string;
|
|
994
|
+
/**
|
|
995
|
+
* 대학
|
|
996
|
+
*/
|
|
997
|
+
college: string;
|
|
998
|
+
/**
|
|
999
|
+
* 학부(과)
|
|
1000
|
+
*/
|
|
1001
|
+
department: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* 전공
|
|
1004
|
+
*/
|
|
1005
|
+
major: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* 조회일
|
|
1008
|
+
*/
|
|
1009
|
+
auditDate: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* 이수구분별 과목 성적 목록
|
|
1012
|
+
*/
|
|
1013
|
+
grades: Array<ClassGradeItem>;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Generated factory for {@link GradesByClassification} record objects.
|
|
1018
|
+
*/
|
|
1019
|
+
export const GradesByClassification = (() => {
|
|
1020
|
+
const defaults = () => ({});
|
|
1021
|
+
const create = (() => {
|
|
1022
|
+
return uniffiCreateRecord<
|
|
1023
|
+
GradesByClassification,
|
|
1024
|
+
ReturnType<typeof defaults>
|
|
1025
|
+
>(defaults);
|
|
1026
|
+
})();
|
|
1027
|
+
return Object.freeze({
|
|
1028
|
+
/**
|
|
1029
|
+
* Create a frozen instance of {@link GradesByClassification}, with defaults specified
|
|
1030
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1031
|
+
*/
|
|
1032
|
+
create,
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Create a frozen instance of {@link GradesByClassification}, with defaults specified
|
|
1036
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1037
|
+
*/
|
|
1038
|
+
new: create,
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1042
|
+
*/
|
|
1043
|
+
defaults: () =>
|
|
1044
|
+
Object.freeze(defaults()) as Partial<GradesByClassification>,
|
|
1045
|
+
});
|
|
1046
|
+
})();
|
|
1047
|
+
|
|
1048
|
+
const FfiConverterTypeGradesByClassification = (() => {
|
|
1049
|
+
type TypeName = GradesByClassification;
|
|
1050
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
1051
|
+
read(from: RustBuffer): TypeName {
|
|
1052
|
+
return {
|
|
1053
|
+
studentNumber: FfiConverterString.read(from),
|
|
1054
|
+
studentName: FfiConverterString.read(from),
|
|
1055
|
+
yearLevel: FfiConverterString.read(from),
|
|
1056
|
+
college: FfiConverterString.read(from),
|
|
1057
|
+
department: FfiConverterString.read(from),
|
|
1058
|
+
major: FfiConverterString.read(from),
|
|
1059
|
+
auditDate: FfiConverterString.read(from),
|
|
1060
|
+
grades: FfiConverterArrayTypeClassGradeItem.read(from),
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
1064
|
+
FfiConverterString.write(value.studentNumber, into);
|
|
1065
|
+
FfiConverterString.write(value.studentName, into);
|
|
1066
|
+
FfiConverterString.write(value.yearLevel, into);
|
|
1067
|
+
FfiConverterString.write(value.college, into);
|
|
1068
|
+
FfiConverterString.write(value.department, into);
|
|
1069
|
+
FfiConverterString.write(value.major, into);
|
|
1070
|
+
FfiConverterString.write(value.auditDate, into);
|
|
1071
|
+
FfiConverterArrayTypeClassGradeItem.write(value.grades, into);
|
|
1072
|
+
}
|
|
1073
|
+
allocationSize(value: TypeName): number {
|
|
1074
|
+
return (
|
|
1075
|
+
FfiConverterString.allocationSize(value.studentNumber) +
|
|
1076
|
+
FfiConverterString.allocationSize(value.studentName) +
|
|
1077
|
+
FfiConverterString.allocationSize(value.yearLevel) +
|
|
1078
|
+
FfiConverterString.allocationSize(value.college) +
|
|
1079
|
+
FfiConverterString.allocationSize(value.department) +
|
|
1080
|
+
FfiConverterString.allocationSize(value.major) +
|
|
1081
|
+
FfiConverterString.allocationSize(value.auditDate) +
|
|
1082
|
+
FfiConverterArrayTypeClassGradeItem.allocationSize(value.grades)
|
|
1083
|
+
);
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
return new FFIConverter();
|
|
1087
|
+
})();
|
|
1088
|
+
|
|
714
1089
|
/**
|
|
715
1090
|
* 졸업 요건
|
|
716
1091
|
*/
|
|
@@ -1177,36 +1552,403 @@ const FfiConverterTypeLectureAssessmentResult = (() => {
|
|
|
1177
1552
|
lectureName: FfiConverterString.read(from),
|
|
1178
1553
|
points: FfiConverterFloat32.read(from),
|
|
1179
1554
|
professor: FfiConverterString.read(from),
|
|
1180
|
-
collage: FfiConverterString.read(from),
|
|
1181
|
-
department: FfiConverterString.read(from),
|
|
1182
|
-
position: FfiConverterString.read(from),
|
|
1183
|
-
score: FfiConverterFloat32.read(from),
|
|
1555
|
+
collage: FfiConverterString.read(from),
|
|
1556
|
+
department: FfiConverterString.read(from),
|
|
1557
|
+
position: FfiConverterString.read(from),
|
|
1558
|
+
score: FfiConverterFloat32.read(from),
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
1562
|
+
FfiConverterString.write(value.year, into);
|
|
1563
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
1564
|
+
FfiConverterUInt32.write(value.lectureCode, into);
|
|
1565
|
+
FfiConverterString.write(value.lectureName, into);
|
|
1566
|
+
FfiConverterFloat32.write(value.points, into);
|
|
1567
|
+
FfiConverterString.write(value.professor, into);
|
|
1568
|
+
FfiConverterString.write(value.collage, into);
|
|
1569
|
+
FfiConverterString.write(value.department, into);
|
|
1570
|
+
FfiConverterString.write(value.position, into);
|
|
1571
|
+
FfiConverterFloat32.write(value.score, into);
|
|
1572
|
+
}
|
|
1573
|
+
allocationSize(value: TypeName): number {
|
|
1574
|
+
return (
|
|
1575
|
+
FfiConverterString.allocationSize(value.year) +
|
|
1576
|
+
FfiConverterTypeSemesterType.allocationSize(value.semester) +
|
|
1577
|
+
FfiConverterUInt32.allocationSize(value.lectureCode) +
|
|
1578
|
+
FfiConverterString.allocationSize(value.lectureName) +
|
|
1579
|
+
FfiConverterFloat32.allocationSize(value.points) +
|
|
1580
|
+
FfiConverterString.allocationSize(value.professor) +
|
|
1581
|
+
FfiConverterString.allocationSize(value.collage) +
|
|
1582
|
+
FfiConverterString.allocationSize(value.department) +
|
|
1583
|
+
FfiConverterString.allocationSize(value.position) +
|
|
1584
|
+
FfiConverterFloat32.allocationSize(value.score)
|
|
1585
|
+
);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
return new FFIConverter();
|
|
1589
|
+
})();
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* 강의 변경 이력
|
|
1593
|
+
*/
|
|
1594
|
+
export type LectureChangeHistory = {
|
|
1595
|
+
/**
|
|
1596
|
+
* 시작일자
|
|
1597
|
+
*/
|
|
1598
|
+
startDate: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* 종료일자
|
|
1601
|
+
*/
|
|
1602
|
+
endDate: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* 과목명
|
|
1605
|
+
*/
|
|
1606
|
+
name: string;
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* Generated factory for {@link LectureChangeHistory} record objects.
|
|
1611
|
+
*/
|
|
1612
|
+
export const LectureChangeHistory = (() => {
|
|
1613
|
+
const defaults = () => ({});
|
|
1614
|
+
const create = (() => {
|
|
1615
|
+
return uniffiCreateRecord<
|
|
1616
|
+
LectureChangeHistory,
|
|
1617
|
+
ReturnType<typeof defaults>
|
|
1618
|
+
>(defaults);
|
|
1619
|
+
})();
|
|
1620
|
+
return Object.freeze({
|
|
1621
|
+
/**
|
|
1622
|
+
* Create a frozen instance of {@link LectureChangeHistory}, with defaults specified
|
|
1623
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1624
|
+
*/
|
|
1625
|
+
create,
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Create a frozen instance of {@link LectureChangeHistory}, with defaults specified
|
|
1629
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1630
|
+
*/
|
|
1631
|
+
new: create,
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1635
|
+
*/
|
|
1636
|
+
defaults: () => Object.freeze(defaults()) as Partial<LectureChangeHistory>,
|
|
1637
|
+
});
|
|
1638
|
+
})();
|
|
1639
|
+
|
|
1640
|
+
const FfiConverterTypeLectureChangeHistory = (() => {
|
|
1641
|
+
type TypeName = LectureChangeHistory;
|
|
1642
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
1643
|
+
read(from: RustBuffer): TypeName {
|
|
1644
|
+
return {
|
|
1645
|
+
startDate: FfiConverterString.read(from),
|
|
1646
|
+
endDate: FfiConverterString.read(from),
|
|
1647
|
+
name: FfiConverterString.read(from),
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
1651
|
+
FfiConverterString.write(value.startDate, into);
|
|
1652
|
+
FfiConverterString.write(value.endDate, into);
|
|
1653
|
+
FfiConverterString.write(value.name, into);
|
|
1654
|
+
}
|
|
1655
|
+
allocationSize(value: TypeName): number {
|
|
1656
|
+
return (
|
|
1657
|
+
FfiConverterString.allocationSize(value.startDate) +
|
|
1658
|
+
FfiConverterString.allocationSize(value.endDate) +
|
|
1659
|
+
FfiConverterString.allocationSize(value.name)
|
|
1660
|
+
);
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
return new FFIConverter();
|
|
1664
|
+
})();
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* 강의 상세 정보
|
|
1668
|
+
*/
|
|
1669
|
+
export type LectureDetail = {
|
|
1670
|
+
/**
|
|
1671
|
+
* 강의 변경 이력 목록
|
|
1672
|
+
*/
|
|
1673
|
+
changesHistory: Array<LectureChangeHistory>;
|
|
1674
|
+
/**
|
|
1675
|
+
* 대체 과목 목록
|
|
1676
|
+
*/
|
|
1677
|
+
alternativeLectures: Array<AlternativeLecture>;
|
|
1678
|
+
/**
|
|
1679
|
+
* 과목 분류 목록
|
|
1680
|
+
*/
|
|
1681
|
+
categories: Array<string>;
|
|
1682
|
+
/**
|
|
1683
|
+
* 선수 과목 목록
|
|
1684
|
+
*/
|
|
1685
|
+
prerequisites: Array<PrerequisiteLecture>;
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Generated factory for {@link LectureDetail} record objects.
|
|
1690
|
+
*/
|
|
1691
|
+
export const LectureDetail = (() => {
|
|
1692
|
+
const defaults = () => ({});
|
|
1693
|
+
const create = (() => {
|
|
1694
|
+
return uniffiCreateRecord<LectureDetail, ReturnType<typeof defaults>>(
|
|
1695
|
+
defaults
|
|
1696
|
+
);
|
|
1697
|
+
})();
|
|
1698
|
+
return Object.freeze({
|
|
1699
|
+
/**
|
|
1700
|
+
* Create a frozen instance of {@link LectureDetail}, with defaults specified
|
|
1701
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1702
|
+
*/
|
|
1703
|
+
create,
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Create a frozen instance of {@link LectureDetail}, with defaults specified
|
|
1707
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1708
|
+
*/
|
|
1709
|
+
new: create,
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1713
|
+
*/
|
|
1714
|
+
defaults: () => Object.freeze(defaults()) as Partial<LectureDetail>,
|
|
1715
|
+
});
|
|
1716
|
+
})();
|
|
1717
|
+
|
|
1718
|
+
const FfiConverterTypeLectureDetail = (() => {
|
|
1719
|
+
type TypeName = LectureDetail;
|
|
1720
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
1721
|
+
read(from: RustBuffer): TypeName {
|
|
1722
|
+
return {
|
|
1723
|
+
changesHistory: FfiConverterArrayTypeLectureChangeHistory.read(from),
|
|
1724
|
+
alternativeLectures: FfiConverterArrayTypeAlternativeLecture.read(from),
|
|
1725
|
+
categories: FfiConverterArrayString.read(from),
|
|
1726
|
+
prerequisites: FfiConverterArrayTypePrerequisiteLecture.read(from),
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
1730
|
+
FfiConverterArrayTypeLectureChangeHistory.write(
|
|
1731
|
+
value.changesHistory,
|
|
1732
|
+
into
|
|
1733
|
+
);
|
|
1734
|
+
FfiConverterArrayTypeAlternativeLecture.write(
|
|
1735
|
+
value.alternativeLectures,
|
|
1736
|
+
into
|
|
1737
|
+
);
|
|
1738
|
+
FfiConverterArrayString.write(value.categories, into);
|
|
1739
|
+
FfiConverterArrayTypePrerequisiteLecture.write(value.prerequisites, into);
|
|
1740
|
+
}
|
|
1741
|
+
allocationSize(value: TypeName): number {
|
|
1742
|
+
return (
|
|
1743
|
+
FfiConverterArrayTypeLectureChangeHistory.allocationSize(
|
|
1744
|
+
value.changesHistory
|
|
1745
|
+
) +
|
|
1746
|
+
FfiConverterArrayTypeAlternativeLecture.allocationSize(
|
|
1747
|
+
value.alternativeLectures
|
|
1748
|
+
) +
|
|
1749
|
+
FfiConverterArrayString.allocationSize(value.categories) +
|
|
1750
|
+
FfiConverterArrayTypePrerequisiteLecture.allocationSize(
|
|
1751
|
+
value.prerequisites
|
|
1752
|
+
)
|
|
1753
|
+
);
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
return new FFIConverter();
|
|
1757
|
+
})();
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* 강의계획서 - Full lecture syllabus information
|
|
1761
|
+
*/
|
|
1762
|
+
export type LectureSyllabus = {
|
|
1763
|
+
/**
|
|
1764
|
+
* 교과목명
|
|
1765
|
+
*/
|
|
1766
|
+
courseName: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* 담당교수
|
|
1769
|
+
*/
|
|
1770
|
+
professor: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* 과목코드
|
|
1773
|
+
*/
|
|
1774
|
+
courseCode: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* 학년도
|
|
1777
|
+
*/
|
|
1778
|
+
year: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* 학기
|
|
1781
|
+
*/
|
|
1782
|
+
semester: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* 학점
|
|
1785
|
+
*/
|
|
1786
|
+
credits: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* 강의개요
|
|
1789
|
+
*/
|
|
1790
|
+
abstractText: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* 수업방법
|
|
1793
|
+
*/
|
|
1794
|
+
teachingMethod: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* 주교재
|
|
1797
|
+
*/
|
|
1798
|
+
mainTextbook: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* 부교재
|
|
1801
|
+
*/
|
|
1802
|
+
subTextbook: string;
|
|
1803
|
+
/**
|
|
1804
|
+
* 교수 전화번호
|
|
1805
|
+
*/
|
|
1806
|
+
professorPhone: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* 교수 이메일
|
|
1809
|
+
*/
|
|
1810
|
+
professorEmail: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* 상담시간
|
|
1813
|
+
*/
|
|
1814
|
+
officeHours: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* 수강대상
|
|
1817
|
+
*/
|
|
1818
|
+
targetStudents: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* 이수구분
|
|
1821
|
+
*/
|
|
1822
|
+
designation: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* 결석처리
|
|
1825
|
+
*/
|
|
1826
|
+
absencePolicy: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* 성적평가 항목
|
|
1829
|
+
*/
|
|
1830
|
+
gradingItems: Array<SyllabusGradingItem>;
|
|
1831
|
+
/**
|
|
1832
|
+
* 학습목표
|
|
1833
|
+
*/
|
|
1834
|
+
learningObjectives: Array<string>;
|
|
1835
|
+
/**
|
|
1836
|
+
* 주차별 수업계획
|
|
1837
|
+
*/
|
|
1838
|
+
weeklySchedule: Array<SyllabusWeeklyPlan>;
|
|
1839
|
+
/**
|
|
1840
|
+
* 핵심역량
|
|
1841
|
+
*/
|
|
1842
|
+
competencies: Array<SyllabusCompetency>;
|
|
1843
|
+
};
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Generated factory for {@link LectureSyllabus} record objects.
|
|
1847
|
+
*/
|
|
1848
|
+
export const LectureSyllabus = (() => {
|
|
1849
|
+
const defaults = () => ({});
|
|
1850
|
+
const create = (() => {
|
|
1851
|
+
return uniffiCreateRecord<LectureSyllabus, ReturnType<typeof defaults>>(
|
|
1852
|
+
defaults
|
|
1853
|
+
);
|
|
1854
|
+
})();
|
|
1855
|
+
return Object.freeze({
|
|
1856
|
+
/**
|
|
1857
|
+
* Create a frozen instance of {@link LectureSyllabus}, with defaults specified
|
|
1858
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1859
|
+
*/
|
|
1860
|
+
create,
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Create a frozen instance of {@link LectureSyllabus}, with defaults specified
|
|
1864
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1865
|
+
*/
|
|
1866
|
+
new: create,
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1870
|
+
*/
|
|
1871
|
+
defaults: () => Object.freeze(defaults()) as Partial<LectureSyllabus>,
|
|
1872
|
+
});
|
|
1873
|
+
})();
|
|
1874
|
+
|
|
1875
|
+
const FfiConverterTypeLectureSyllabus = (() => {
|
|
1876
|
+
type TypeName = LectureSyllabus;
|
|
1877
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
1878
|
+
read(from: RustBuffer): TypeName {
|
|
1879
|
+
return {
|
|
1880
|
+
courseName: FfiConverterString.read(from),
|
|
1881
|
+
professor: FfiConverterString.read(from),
|
|
1882
|
+
courseCode: FfiConverterString.read(from),
|
|
1883
|
+
year: FfiConverterString.read(from),
|
|
1884
|
+
semester: FfiConverterString.read(from),
|
|
1885
|
+
credits: FfiConverterString.read(from),
|
|
1886
|
+
abstractText: FfiConverterString.read(from),
|
|
1887
|
+
teachingMethod: FfiConverterString.read(from),
|
|
1888
|
+
mainTextbook: FfiConverterString.read(from),
|
|
1889
|
+
subTextbook: FfiConverterString.read(from),
|
|
1890
|
+
professorPhone: FfiConverterString.read(from),
|
|
1891
|
+
professorEmail: FfiConverterString.read(from),
|
|
1892
|
+
officeHours: FfiConverterString.read(from),
|
|
1893
|
+
targetStudents: FfiConverterString.read(from),
|
|
1894
|
+
designation: FfiConverterString.read(from),
|
|
1895
|
+
absencePolicy: FfiConverterString.read(from),
|
|
1896
|
+
gradingItems: FfiConverterArrayTypeSyllabusGradingItem.read(from),
|
|
1897
|
+
learningObjectives: FfiConverterArrayString.read(from),
|
|
1898
|
+
weeklySchedule: FfiConverterArrayTypeSyllabusWeeklyPlan.read(from),
|
|
1899
|
+
competencies: FfiConverterArrayTypeSyllabusCompetency.read(from),
|
|
1184
1900
|
};
|
|
1185
1901
|
}
|
|
1186
1902
|
write(value: TypeName, into: RustBuffer): void {
|
|
1187
|
-
FfiConverterString.write(value.
|
|
1188
|
-
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
1189
|
-
FfiConverterUInt32.write(value.lectureCode, into);
|
|
1190
|
-
FfiConverterString.write(value.lectureName, into);
|
|
1191
|
-
FfiConverterFloat32.write(value.points, into);
|
|
1903
|
+
FfiConverterString.write(value.courseName, into);
|
|
1192
1904
|
FfiConverterString.write(value.professor, into);
|
|
1193
|
-
FfiConverterString.write(value.
|
|
1194
|
-
FfiConverterString.write(value.
|
|
1195
|
-
FfiConverterString.write(value.
|
|
1196
|
-
|
|
1905
|
+
FfiConverterString.write(value.courseCode, into);
|
|
1906
|
+
FfiConverterString.write(value.year, into);
|
|
1907
|
+
FfiConverterString.write(value.semester, into);
|
|
1908
|
+
FfiConverterString.write(value.credits, into);
|
|
1909
|
+
FfiConverterString.write(value.abstractText, into);
|
|
1910
|
+
FfiConverterString.write(value.teachingMethod, into);
|
|
1911
|
+
FfiConverterString.write(value.mainTextbook, into);
|
|
1912
|
+
FfiConverterString.write(value.subTextbook, into);
|
|
1913
|
+
FfiConverterString.write(value.professorPhone, into);
|
|
1914
|
+
FfiConverterString.write(value.professorEmail, into);
|
|
1915
|
+
FfiConverterString.write(value.officeHours, into);
|
|
1916
|
+
FfiConverterString.write(value.targetStudents, into);
|
|
1917
|
+
FfiConverterString.write(value.designation, into);
|
|
1918
|
+
FfiConverterString.write(value.absencePolicy, into);
|
|
1919
|
+
FfiConverterArrayTypeSyllabusGradingItem.write(value.gradingItems, into);
|
|
1920
|
+
FfiConverterArrayString.write(value.learningObjectives, into);
|
|
1921
|
+
FfiConverterArrayTypeSyllabusWeeklyPlan.write(value.weeklySchedule, into);
|
|
1922
|
+
FfiConverterArrayTypeSyllabusCompetency.write(value.competencies, into);
|
|
1197
1923
|
}
|
|
1198
1924
|
allocationSize(value: TypeName): number {
|
|
1199
1925
|
return (
|
|
1200
|
-
FfiConverterString.allocationSize(value.
|
|
1201
|
-
FfiConverterTypeSemesterType.allocationSize(value.semester) +
|
|
1202
|
-
FfiConverterUInt32.allocationSize(value.lectureCode) +
|
|
1203
|
-
FfiConverterString.allocationSize(value.lectureName) +
|
|
1204
|
-
FfiConverterFloat32.allocationSize(value.points) +
|
|
1926
|
+
FfiConverterString.allocationSize(value.courseName) +
|
|
1205
1927
|
FfiConverterString.allocationSize(value.professor) +
|
|
1206
|
-
FfiConverterString.allocationSize(value.
|
|
1207
|
-
FfiConverterString.allocationSize(value.
|
|
1208
|
-
FfiConverterString.allocationSize(value.
|
|
1209
|
-
|
|
1928
|
+
FfiConverterString.allocationSize(value.courseCode) +
|
|
1929
|
+
FfiConverterString.allocationSize(value.year) +
|
|
1930
|
+
FfiConverterString.allocationSize(value.semester) +
|
|
1931
|
+
FfiConverterString.allocationSize(value.credits) +
|
|
1932
|
+
FfiConverterString.allocationSize(value.abstractText) +
|
|
1933
|
+
FfiConverterString.allocationSize(value.teachingMethod) +
|
|
1934
|
+
FfiConverterString.allocationSize(value.mainTextbook) +
|
|
1935
|
+
FfiConverterString.allocationSize(value.subTextbook) +
|
|
1936
|
+
FfiConverterString.allocationSize(value.professorPhone) +
|
|
1937
|
+
FfiConverterString.allocationSize(value.professorEmail) +
|
|
1938
|
+
FfiConverterString.allocationSize(value.officeHours) +
|
|
1939
|
+
FfiConverterString.allocationSize(value.targetStudents) +
|
|
1940
|
+
FfiConverterString.allocationSize(value.designation) +
|
|
1941
|
+
FfiConverterString.allocationSize(value.absencePolicy) +
|
|
1942
|
+
FfiConverterArrayTypeSyllabusGradingItem.allocationSize(
|
|
1943
|
+
value.gradingItems
|
|
1944
|
+
) +
|
|
1945
|
+
FfiConverterArrayString.allocationSize(value.learningObjectives) +
|
|
1946
|
+
FfiConverterArrayTypeSyllabusWeeklyPlan.allocationSize(
|
|
1947
|
+
value.weeklySchedule
|
|
1948
|
+
) +
|
|
1949
|
+
FfiConverterArrayTypeSyllabusCompetency.allocationSize(
|
|
1950
|
+
value.competencies
|
|
1951
|
+
)
|
|
1210
1952
|
);
|
|
1211
1953
|
}
|
|
1212
1954
|
}
|
|
@@ -1278,6 +2020,73 @@ const FfiConverterTypePersonalCourseSchedule = (() => {
|
|
|
1278
2020
|
return new FFIConverter();
|
|
1279
2021
|
})();
|
|
1280
2022
|
|
|
2023
|
+
/**
|
|
2024
|
+
* 선수 과목 정보
|
|
2025
|
+
*/
|
|
2026
|
+
export type PrerequisiteLecture = {
|
|
2027
|
+
/**
|
|
2028
|
+
* 과목번호
|
|
2029
|
+
*/
|
|
2030
|
+
code: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* 과목명
|
|
2033
|
+
*/
|
|
2034
|
+
name: string;
|
|
2035
|
+
};
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* Generated factory for {@link PrerequisiteLecture} record objects.
|
|
2039
|
+
*/
|
|
2040
|
+
export const PrerequisiteLecture = (() => {
|
|
2041
|
+
const defaults = () => ({});
|
|
2042
|
+
const create = (() => {
|
|
2043
|
+
return uniffiCreateRecord<PrerequisiteLecture, ReturnType<typeof defaults>>(
|
|
2044
|
+
defaults
|
|
2045
|
+
);
|
|
2046
|
+
})();
|
|
2047
|
+
return Object.freeze({
|
|
2048
|
+
/**
|
|
2049
|
+
* Create a frozen instance of {@link PrerequisiteLecture}, with defaults specified
|
|
2050
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2051
|
+
*/
|
|
2052
|
+
create,
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* Create a frozen instance of {@link PrerequisiteLecture}, with defaults specified
|
|
2056
|
+
* in Rust, in the {@link rusaint} crate.
|
|
2057
|
+
*/
|
|
2058
|
+
new: create,
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
2062
|
+
*/
|
|
2063
|
+
defaults: () => Object.freeze(defaults()) as Partial<PrerequisiteLecture>,
|
|
2064
|
+
});
|
|
2065
|
+
})();
|
|
2066
|
+
|
|
2067
|
+
const FfiConverterTypePrerequisiteLecture = (() => {
|
|
2068
|
+
type TypeName = PrerequisiteLecture;
|
|
2069
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
2070
|
+
read(from: RustBuffer): TypeName {
|
|
2071
|
+
return {
|
|
2072
|
+
code: FfiConverterString.read(from),
|
|
2073
|
+
name: FfiConverterString.read(from),
|
|
2074
|
+
};
|
|
2075
|
+
}
|
|
2076
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
2077
|
+
FfiConverterString.write(value.code, into);
|
|
2078
|
+
FfiConverterString.write(value.name, into);
|
|
2079
|
+
}
|
|
2080
|
+
allocationSize(value: TypeName): number {
|
|
2081
|
+
return (
|
|
2082
|
+
FfiConverterString.allocationSize(value.code) +
|
|
2083
|
+
FfiConverterString.allocationSize(value.name)
|
|
2084
|
+
);
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
return new FFIConverter();
|
|
2088
|
+
})();
|
|
2089
|
+
|
|
1281
2090
|
/**
|
|
1282
2091
|
* 수강신청한 과목 정보
|
|
1283
2092
|
*/
|
|
@@ -3085,6 +3894,221 @@ const FfiConverterTypeStudentWorkInformation = (() => {
|
|
|
3085
3894
|
return new FFIConverter();
|
|
3086
3895
|
})();
|
|
3087
3896
|
|
|
3897
|
+
/**
|
|
3898
|
+
* 핵심역량
|
|
3899
|
+
*/
|
|
3900
|
+
export type SyllabusCompetency = {
|
|
3901
|
+
/**
|
|
3902
|
+
* 역량명
|
|
3903
|
+
*/
|
|
3904
|
+
name: string;
|
|
3905
|
+
/**
|
|
3906
|
+
* 관련비율 (%)
|
|
3907
|
+
*/
|
|
3908
|
+
rate: string;
|
|
3909
|
+
};
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* Generated factory for {@link SyllabusCompetency} record objects.
|
|
3913
|
+
*/
|
|
3914
|
+
export const SyllabusCompetency = (() => {
|
|
3915
|
+
const defaults = () => ({});
|
|
3916
|
+
const create = (() => {
|
|
3917
|
+
return uniffiCreateRecord<SyllabusCompetency, ReturnType<typeof defaults>>(
|
|
3918
|
+
defaults
|
|
3919
|
+
);
|
|
3920
|
+
})();
|
|
3921
|
+
return Object.freeze({
|
|
3922
|
+
/**
|
|
3923
|
+
* Create a frozen instance of {@link SyllabusCompetency}, with defaults specified
|
|
3924
|
+
* in Rust, in the {@link rusaint} crate.
|
|
3925
|
+
*/
|
|
3926
|
+
create,
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
* Create a frozen instance of {@link SyllabusCompetency}, with defaults specified
|
|
3930
|
+
* in Rust, in the {@link rusaint} crate.
|
|
3931
|
+
*/
|
|
3932
|
+
new: create,
|
|
3933
|
+
|
|
3934
|
+
/**
|
|
3935
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
3936
|
+
*/
|
|
3937
|
+
defaults: () => Object.freeze(defaults()) as Partial<SyllabusCompetency>,
|
|
3938
|
+
});
|
|
3939
|
+
})();
|
|
3940
|
+
|
|
3941
|
+
const FfiConverterTypeSyllabusCompetency = (() => {
|
|
3942
|
+
type TypeName = SyllabusCompetency;
|
|
3943
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
3944
|
+
read(from: RustBuffer): TypeName {
|
|
3945
|
+
return {
|
|
3946
|
+
name: FfiConverterString.read(from),
|
|
3947
|
+
rate: FfiConverterString.read(from),
|
|
3948
|
+
};
|
|
3949
|
+
}
|
|
3950
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
3951
|
+
FfiConverterString.write(value.name, into);
|
|
3952
|
+
FfiConverterString.write(value.rate, into);
|
|
3953
|
+
}
|
|
3954
|
+
allocationSize(value: TypeName): number {
|
|
3955
|
+
return (
|
|
3956
|
+
FfiConverterString.allocationSize(value.name) +
|
|
3957
|
+
FfiConverterString.allocationSize(value.rate)
|
|
3958
|
+
);
|
|
3959
|
+
}
|
|
3960
|
+
}
|
|
3961
|
+
return new FFIConverter();
|
|
3962
|
+
})();
|
|
3963
|
+
|
|
3964
|
+
/**
|
|
3965
|
+
* 성적평가 항목
|
|
3966
|
+
*/
|
|
3967
|
+
export type SyllabusGradingItem = {
|
|
3968
|
+
/**
|
|
3969
|
+
* 평가항목명
|
|
3970
|
+
*/
|
|
3971
|
+
name: string;
|
|
3972
|
+
/**
|
|
3973
|
+
* 비율 (%)
|
|
3974
|
+
*/
|
|
3975
|
+
rate: string;
|
|
3976
|
+
};
|
|
3977
|
+
|
|
3978
|
+
/**
|
|
3979
|
+
* Generated factory for {@link SyllabusGradingItem} record objects.
|
|
3980
|
+
*/
|
|
3981
|
+
export const SyllabusGradingItem = (() => {
|
|
3982
|
+
const defaults = () => ({});
|
|
3983
|
+
const create = (() => {
|
|
3984
|
+
return uniffiCreateRecord<SyllabusGradingItem, ReturnType<typeof defaults>>(
|
|
3985
|
+
defaults
|
|
3986
|
+
);
|
|
3987
|
+
})();
|
|
3988
|
+
return Object.freeze({
|
|
3989
|
+
/**
|
|
3990
|
+
* Create a frozen instance of {@link SyllabusGradingItem}, with defaults specified
|
|
3991
|
+
* in Rust, in the {@link rusaint} crate.
|
|
3992
|
+
*/
|
|
3993
|
+
create,
|
|
3994
|
+
|
|
3995
|
+
/**
|
|
3996
|
+
* Create a frozen instance of {@link SyllabusGradingItem}, with defaults specified
|
|
3997
|
+
* in Rust, in the {@link rusaint} crate.
|
|
3998
|
+
*/
|
|
3999
|
+
new: create,
|
|
4000
|
+
|
|
4001
|
+
/**
|
|
4002
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
4003
|
+
*/
|
|
4004
|
+
defaults: () => Object.freeze(defaults()) as Partial<SyllabusGradingItem>,
|
|
4005
|
+
});
|
|
4006
|
+
})();
|
|
4007
|
+
|
|
4008
|
+
const FfiConverterTypeSyllabusGradingItem = (() => {
|
|
4009
|
+
type TypeName = SyllabusGradingItem;
|
|
4010
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
4011
|
+
read(from: RustBuffer): TypeName {
|
|
4012
|
+
return {
|
|
4013
|
+
name: FfiConverterString.read(from),
|
|
4014
|
+
rate: FfiConverterString.read(from),
|
|
4015
|
+
};
|
|
4016
|
+
}
|
|
4017
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
4018
|
+
FfiConverterString.write(value.name, into);
|
|
4019
|
+
FfiConverterString.write(value.rate, into);
|
|
4020
|
+
}
|
|
4021
|
+
allocationSize(value: TypeName): number {
|
|
4022
|
+
return (
|
|
4023
|
+
FfiConverterString.allocationSize(value.name) +
|
|
4024
|
+
FfiConverterString.allocationSize(value.rate)
|
|
4025
|
+
);
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4028
|
+
return new FFIConverter();
|
|
4029
|
+
})();
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* 주차별 수업계획
|
|
4033
|
+
*/
|
|
4034
|
+
export type SyllabusWeeklyPlan = {
|
|
4035
|
+
/**
|
|
4036
|
+
* 주차
|
|
4037
|
+
*/
|
|
4038
|
+
week: string;
|
|
4039
|
+
/**
|
|
4040
|
+
* 핵심주제
|
|
4041
|
+
*/
|
|
4042
|
+
topic: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* 세부내용
|
|
4045
|
+
*/
|
|
4046
|
+
details: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* 수업방법
|
|
4049
|
+
*/
|
|
4050
|
+
teachingMethod: string;
|
|
4051
|
+
};
|
|
4052
|
+
|
|
4053
|
+
/**
|
|
4054
|
+
* Generated factory for {@link SyllabusWeeklyPlan} record objects.
|
|
4055
|
+
*/
|
|
4056
|
+
export const SyllabusWeeklyPlan = (() => {
|
|
4057
|
+
const defaults = () => ({});
|
|
4058
|
+
const create = (() => {
|
|
4059
|
+
return uniffiCreateRecord<SyllabusWeeklyPlan, ReturnType<typeof defaults>>(
|
|
4060
|
+
defaults
|
|
4061
|
+
);
|
|
4062
|
+
})();
|
|
4063
|
+
return Object.freeze({
|
|
4064
|
+
/**
|
|
4065
|
+
* Create a frozen instance of {@link SyllabusWeeklyPlan}, with defaults specified
|
|
4066
|
+
* in Rust, in the {@link rusaint} crate.
|
|
4067
|
+
*/
|
|
4068
|
+
create,
|
|
4069
|
+
|
|
4070
|
+
/**
|
|
4071
|
+
* Create a frozen instance of {@link SyllabusWeeklyPlan}, with defaults specified
|
|
4072
|
+
* in Rust, in the {@link rusaint} crate.
|
|
4073
|
+
*/
|
|
4074
|
+
new: create,
|
|
4075
|
+
|
|
4076
|
+
/**
|
|
4077
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
4078
|
+
*/
|
|
4079
|
+
defaults: () => Object.freeze(defaults()) as Partial<SyllabusWeeklyPlan>,
|
|
4080
|
+
});
|
|
4081
|
+
})();
|
|
4082
|
+
|
|
4083
|
+
const FfiConverterTypeSyllabusWeeklyPlan = (() => {
|
|
4084
|
+
type TypeName = SyllabusWeeklyPlan;
|
|
4085
|
+
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
4086
|
+
read(from: RustBuffer): TypeName {
|
|
4087
|
+
return {
|
|
4088
|
+
week: FfiConverterString.read(from),
|
|
4089
|
+
topic: FfiConverterString.read(from),
|
|
4090
|
+
details: FfiConverterString.read(from),
|
|
4091
|
+
teachingMethod: FfiConverterString.read(from),
|
|
4092
|
+
};
|
|
4093
|
+
}
|
|
4094
|
+
write(value: TypeName, into: RustBuffer): void {
|
|
4095
|
+
FfiConverterString.write(value.week, into);
|
|
4096
|
+
FfiConverterString.write(value.topic, into);
|
|
4097
|
+
FfiConverterString.write(value.details, into);
|
|
4098
|
+
FfiConverterString.write(value.teachingMethod, into);
|
|
4099
|
+
}
|
|
4100
|
+
allocationSize(value: TypeName): number {
|
|
4101
|
+
return (
|
|
4102
|
+
FfiConverterString.allocationSize(value.week) +
|
|
4103
|
+
FfiConverterString.allocationSize(value.topic) +
|
|
4104
|
+
FfiConverterString.allocationSize(value.details) +
|
|
4105
|
+
FfiConverterString.allocationSize(value.teachingMethod)
|
|
4106
|
+
);
|
|
4107
|
+
}
|
|
4108
|
+
}
|
|
4109
|
+
return new FFIConverter();
|
|
4110
|
+
})();
|
|
4111
|
+
|
|
3088
4112
|
/**
|
|
3089
4113
|
* uniffi 지원을 위한 u32 Pair입니다.
|
|
3090
4114
|
*/
|
|
@@ -4792,6 +5816,16 @@ const FfiConverterOptionalFloat32 = new FfiConverterOptional(
|
|
|
4792
5816
|
FfiConverterFloat32
|
|
4793
5817
|
);
|
|
4794
5818
|
|
|
5819
|
+
// FfiConverter for LectureDetail | undefined
|
|
5820
|
+
const FfiConverterOptionalTypeLectureDetail = new FfiConverterOptional(
|
|
5821
|
+
FfiConverterTypeLectureDetail
|
|
5822
|
+
);
|
|
5823
|
+
|
|
5824
|
+
// FfiConverter for LectureSyllabus | undefined
|
|
5825
|
+
const FfiConverterOptionalTypeLectureSyllabus = new FfiConverterOptional(
|
|
5826
|
+
FfiConverterTypeLectureSyllabus
|
|
5827
|
+
);
|
|
5828
|
+
|
|
4795
5829
|
// FfiConverter for StudentForignStudyInformation | undefined
|
|
4796
5830
|
const FfiConverterOptionalTypeStudentForignStudyInformation =
|
|
4797
5831
|
new FfiConverterOptional(FfiConverterTypeStudentForignStudyInformation);
|
|
@@ -4816,6 +5850,11 @@ const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
|
|
|
4816
5850
|
// FfiConverter for /*u32*/number | undefined
|
|
4817
5851
|
const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);
|
|
4818
5852
|
|
|
5853
|
+
// FfiConverter for Array<AlternativeLecture>
|
|
5854
|
+
const FfiConverterArrayTypeAlternativeLecture = new FfiConverterArray(
|
|
5855
|
+
FfiConverterTypeAlternativeLecture
|
|
5856
|
+
);
|
|
5857
|
+
|
|
4819
5858
|
// FfiConverter for Array<ChapelAbsenceRequest>
|
|
4820
5859
|
const FfiConverterArrayTypeChapelAbsenceRequest = new FfiConverterArray(
|
|
4821
5860
|
FfiConverterTypeChapelAbsenceRequest
|
|
@@ -4826,11 +5865,26 @@ const FfiConverterArrayTypeChapelAttendance = new FfiConverterArray(
|
|
|
4826
5865
|
FfiConverterTypeChapelAttendance
|
|
4827
5866
|
);
|
|
4828
5867
|
|
|
5868
|
+
// FfiConverter for Array<ClassGradeItem>
|
|
5869
|
+
const FfiConverterArrayTypeClassGradeItem = new FfiConverterArray(
|
|
5870
|
+
FfiConverterTypeClassGradeItem
|
|
5871
|
+
);
|
|
5872
|
+
|
|
4829
5873
|
// FfiConverter for Array<CourseScheduleInformation>
|
|
4830
5874
|
const FfiConverterArrayTypeCourseScheduleInformation = new FfiConverterArray(
|
|
4831
5875
|
FfiConverterTypeCourseScheduleInformation
|
|
4832
5876
|
);
|
|
4833
5877
|
|
|
5878
|
+
// FfiConverter for Array<LectureChangeHistory>
|
|
5879
|
+
const FfiConverterArrayTypeLectureChangeHistory = new FfiConverterArray(
|
|
5880
|
+
FfiConverterTypeLectureChangeHistory
|
|
5881
|
+
);
|
|
5882
|
+
|
|
5883
|
+
// FfiConverter for Array<PrerequisiteLecture>
|
|
5884
|
+
const FfiConverterArrayTypePrerequisiteLecture = new FfiConverterArray(
|
|
5885
|
+
FfiConverterTypePrerequisiteLecture
|
|
5886
|
+
);
|
|
5887
|
+
|
|
4834
5888
|
// FfiConverter for Array<StudentAcademicRecord>
|
|
4835
5889
|
const FfiConverterArrayTypeStudentAcademicRecord = new FfiConverterArray(
|
|
4836
5890
|
FfiConverterTypeStudentAcademicRecord
|
|
@@ -4846,6 +5900,21 @@ const FfiConverterArrayTypeStudentTransferRecord = new FfiConverterArray(
|
|
|
4846
5900
|
FfiConverterTypeStudentTransferRecord
|
|
4847
5901
|
);
|
|
4848
5902
|
|
|
5903
|
+
// FfiConverter for Array<SyllabusCompetency>
|
|
5904
|
+
const FfiConverterArrayTypeSyllabusCompetency = new FfiConverterArray(
|
|
5905
|
+
FfiConverterTypeSyllabusCompetency
|
|
5906
|
+
);
|
|
5907
|
+
|
|
5908
|
+
// FfiConverter for Array<SyllabusGradingItem>
|
|
5909
|
+
const FfiConverterArrayTypeSyllabusGradingItem = new FfiConverterArray(
|
|
5910
|
+
FfiConverterTypeSyllabusGradingItem
|
|
5911
|
+
);
|
|
5912
|
+
|
|
5913
|
+
// FfiConverter for Array<SyllabusWeeklyPlan>
|
|
5914
|
+
const FfiConverterArrayTypeSyllabusWeeklyPlan = new FfiConverterArray(
|
|
5915
|
+
FfiConverterTypeSyllabusWeeklyPlan
|
|
5916
|
+
);
|
|
5917
|
+
|
|
4849
5918
|
// FfiConverter for Array<string>
|
|
4850
5919
|
const FfiConverterArrayString = new FfiConverterArray(FfiConverterString);
|
|
4851
5920
|
|
|
@@ -4992,15 +6061,19 @@ function uniffiEnsureInitialized() {
|
|
|
4992
6061
|
export default Object.freeze({
|
|
4993
6062
|
initialize: uniffiEnsureInitialized,
|
|
4994
6063
|
converters: {
|
|
6064
|
+
FfiConverterTypeAlternativeLecture,
|
|
4995
6065
|
FfiConverterTypeChapelAbsenceRequest,
|
|
4996
6066
|
FfiConverterTypeChapelAttendance,
|
|
4997
6067
|
FfiConverterTypeChapelInformation,
|
|
4998
6068
|
FfiConverterTypeClassGrade,
|
|
6069
|
+
FfiConverterTypeClassGradeItem,
|
|
4999
6070
|
FfiConverterTypeClassScore,
|
|
5000
6071
|
FfiConverterTypeCourseScheduleInformation,
|
|
5001
6072
|
FfiConverterTypeCourseType,
|
|
6073
|
+
FfiConverterTypeDetailedLecture,
|
|
5002
6074
|
FfiConverterTypeGeneralChapelInformation,
|
|
5003
6075
|
FfiConverterTypeGradeSummary,
|
|
6076
|
+
FfiConverterTypeGradesByClassification,
|
|
5004
6077
|
FfiConverterTypeGraduationRequirement,
|
|
5005
6078
|
FfiConverterTypeGraduationRequirements,
|
|
5006
6079
|
FfiConverterTypeGraduationStudent,
|
|
@@ -5008,7 +6081,11 @@ export default Object.freeze({
|
|
|
5008
6081
|
FfiConverterTypeLectureAssessmentResult,
|
|
5009
6082
|
FfiConverterTypeLectureCategory,
|
|
5010
6083
|
FfiConverterTypeLectureCategoryBuilder,
|
|
6084
|
+
FfiConverterTypeLectureChangeHistory,
|
|
6085
|
+
FfiConverterTypeLectureDetail,
|
|
6086
|
+
FfiConverterTypeLectureSyllabus,
|
|
5011
6087
|
FfiConverterTypePersonalCourseSchedule,
|
|
6088
|
+
FfiConverterTypePrerequisiteLecture,
|
|
5012
6089
|
FfiConverterTypeRegisteredLecture,
|
|
5013
6090
|
FfiConverterTypeScholarship,
|
|
5014
6091
|
FfiConverterTypeSemesterGrade,
|
|
@@ -5030,6 +6107,9 @@ export default Object.freeze({
|
|
|
5030
6107
|
FfiConverterTypeStudentTransferRecord,
|
|
5031
6108
|
FfiConverterTypeStudentTransferRecords,
|
|
5032
6109
|
FfiConverterTypeStudentWorkInformation,
|
|
6110
|
+
FfiConverterTypeSyllabusCompetency,
|
|
6111
|
+
FfiConverterTypeSyllabusGradingItem,
|
|
6112
|
+
FfiConverterTypeSyllabusWeeklyPlan,
|
|
5033
6113
|
FfiConverterTypeU32Pair,
|
|
5034
6114
|
FfiConverterTypeUnsignedIntPair,
|
|
5035
6115
|
FfiConverterTypeWeekday,
|