@rusaint/react-native 0.10.0-dev.0
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/LICENSE +20 -0
- package/README.md +15 -0
- package/android/CMakeLists.txt +78 -0
- package/android/build.gradle +143 -0
- package/android/cpp-adapter.cpp +63 -0
- package/android/generated/java/dev/eatsteak/rusaint/reactnative/NativeReactNativeSpec.java +41 -0
- package/android/generated/jni/CMakeLists.txt +36 -0
- package/android/generated/jni/RNReactNativeSpec-generated.cpp +38 -0
- package/android/generated/jni/RNReactNativeSpec.h +31 -0
- package/android/generated/jni/react/renderer/components/RNReactNativeSpec/RNReactNativeSpecJSI-generated.cpp +32 -0
- package/android/generated/jni/react/renderer/components/RNReactNativeSpec/RNReactNativeSpecJSI.h +80 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/dev/eatsteak/rusaint/reactnative/ReactNativeModule.kt +43 -0
- package/android/src/main/java/dev/eatsteak/rusaint/reactnative/ReactNativePackage.kt +34 -0
- package/android/src/main/jniLibs/arm64-v8a/librusaint_ffi.a +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/librusaint_ffi.a +0 -0
- package/android/src/main/jniLibs/x86/librusaint_ffi.a +0 -0
- package/android/src/main/jniLibs/x86_64/librusaint_ffi.a +0 -0
- package/build/RusaintReactNativeFramework.xcframework/Info.plist +43 -0
- package/build/RusaintReactNativeFramework.xcframework/ios-arm64/librusaint_ffi.a +0 -0
- package/build/RusaintReactNativeFramework.xcframework/ios-arm64-simulator/librusaint_ffi.a +0 -0
- package/cpp/generated/rusaint.cpp +2485 -0
- package/cpp/generated/rusaint.hpp +168 -0
- package/cpp/generated/rusaint_ffi.cpp +7397 -0
- package/cpp/generated/rusaint_ffi.hpp +873 -0
- package/cpp/rusaint-react-native.cpp +18 -0
- package/cpp/rusaint-react-native.h +15 -0
- package/ios/ReactNative.h +16 -0
- package/ios/ReactNative.mm +66 -0
- package/ios/generated/RNReactNativeSpec/RNReactNativeSpec-generated.mm +46 -0
- package/ios/generated/RNReactNativeSpec/RNReactNativeSpec.h +63 -0
- package/ios/generated/RNReactNativeSpecJSI-generated.cpp +32 -0
- package/ios/generated/RNReactNativeSpecJSI.h +80 -0
- package/lib/commonjs/NativeReactNative.ts +10 -0
- package/lib/commonjs/generated/rusaint-ffi.js +44 -0
- package/lib/commonjs/generated/rusaint-ffi.js.map +1 -0
- package/lib/commonjs/generated/rusaint.js +3232 -0
- package/lib/commonjs/generated/rusaint.js.map +1 -0
- package/lib/commonjs/generated/rusaint_ffi-ffi.js +44 -0
- package/lib/commonjs/generated/rusaint_ffi-ffi.js.map +1 -0
- package/lib/commonjs/generated/rusaint_ffi.js +2493 -0
- package/lib/commonjs/generated/rusaint_ffi.js.map +1 -0
- package/lib/commonjs/index.js +68 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/module/NativeReactNative.ts +10 -0
- package/lib/module/generated/rusaint-ffi.js +43 -0
- package/lib/module/generated/rusaint-ffi.js.map +1 -0
- package/lib/module/generated/rusaint.js +3226 -0
- package/lib/module/generated/rusaint.js.map +1 -0
- package/lib/module/generated/rusaint_ffi-ffi.js +43 -0
- package/lib/module/generated/rusaint_ffi-ffi.js.map +1 -0
- package/lib/module/generated/rusaint_ffi.js +2469 -0
- package/lib/module/generated/rusaint_ffi.js.map +1 -0
- package/lib/module/index.js +40 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/commonjs/src/NativeReactNative.d.ts +8 -0
- package/lib/typescript/commonjs/src/NativeReactNative.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint-ffi.d.ts +109 -0
- package/lib/typescript/commonjs/src/generated/rusaint-ffi.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts +2330 -0
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts +300 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts +1111 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/package.json +185 -0
- package/react-native.config.js +12 -0
- package/rusaint-react-native.podspec +44 -0
- package/src/NativeReactNative.ts +10 -0
- package/src/generated/rusaint-ffi.ts +276 -0
- package/src/generated/rusaint.ts +4867 -0
- package/src/generated/rusaint_ffi-ffi.ts +832 -0
- package/src/generated/rusaint_ffi.ts +5519 -0
- package/src/index.tsx +38 -0
|
@@ -0,0 +1,3232 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Weekday = exports.UnsignedIntPair = exports.StudentWorkInformation = exports.StudentTransferRecords = exports.StudentTransferRecord = exports.StudentTeachingPluralMajorInformation = exports.StudentTeachingMajorInformation = exports.StudentResearchBankAccount = exports.StudentReligion = exports.StudentQualification = exports.StudentLifelongInformation = exports.StudentInformation = exports.StudentGraduation = exports.StudentForignStudyInformation = exports.StudentFamilyMember = exports.StudentFamily = exports.StudentBankAccount = exports.StudentAcademicRecords = exports.StudentAcademicRecord = exports.SemesterType = exports.SemesterGrade = exports.Scholarship = exports.PersonalCourseSchedule = exports.LectureCategory_Tags = exports.LectureCategoryBuilder = exports.LectureCategory = exports.LectureAssessmentResult = exports.Lecture = exports.GraduationStudent = exports.GraduationRequirements = exports.GraduationRequirement = exports.GradeSummary = exports.GeneralChapelInformation = exports.CourseType = exports.CourseScheduleInformation = exports.ClassScore_Tags = exports.ClassScore = exports.ClassGrade = exports.ChapelInformation = exports.ChapelAttendance = exports.ChapelAbsenceRequest = void 0;
|
|
7
|
+
var _rusaintFfi = _interopRequireDefault(require("./rusaint-ffi.js"));
|
|
8
|
+
var _uniffiBindgenReactNative = require("uniffi-bindgen-react-native");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
11
|
+
// Trust me, you don't want to mess with it!
|
|
12
|
+
|
|
13
|
+
// Get converters from the other files, if any.
|
|
14
|
+
const uniffiCaller = new _uniffiBindgenReactNative.UniffiRustCaller();
|
|
15
|
+
const uniffiIsDebug =
|
|
16
|
+
// @ts-ignore -- The process global might not be defined
|
|
17
|
+
typeof process !== 'object' ||
|
|
18
|
+
// @ts-ignore -- The process global might not be defined
|
|
19
|
+
process?.env?.NODE_ENV !== 'production' || false;
|
|
20
|
+
// Public interface members begin here.
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 채플 결석신청 정보
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Generated factory for {@link ChapelAbsenceRequest} record objects.
|
|
28
|
+
*/
|
|
29
|
+
const ChapelAbsenceRequest = exports.ChapelAbsenceRequest = (() => {
|
|
30
|
+
const defaults = () => ({});
|
|
31
|
+
const create = (() => {
|
|
32
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
33
|
+
})();
|
|
34
|
+
return Object.freeze({
|
|
35
|
+
/**
|
|
36
|
+
* Create a frozen instance of {@link ChapelAbsenceRequest}, with defaults specified
|
|
37
|
+
* in Rust, in the {@link rusaint} crate.
|
|
38
|
+
*/
|
|
39
|
+
create,
|
|
40
|
+
/**
|
|
41
|
+
* Create a frozen instance of {@link ChapelAbsenceRequest}, with defaults specified
|
|
42
|
+
* in Rust, in the {@link rusaint} crate.
|
|
43
|
+
*/
|
|
44
|
+
new: create,
|
|
45
|
+
/**
|
|
46
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
47
|
+
*/
|
|
48
|
+
defaults: () => Object.freeze(defaults())
|
|
49
|
+
});
|
|
50
|
+
})();
|
|
51
|
+
const FfiConverterTypeChapelAbsenceRequest = (() => {
|
|
52
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
53
|
+
read(from) {
|
|
54
|
+
return {
|
|
55
|
+
year: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
56
|
+
semester: FfiConverterTypeSemesterType.read(from),
|
|
57
|
+
absenceDetail: FfiConverterString.read(from),
|
|
58
|
+
absenceStart: FfiConverterString.read(from),
|
|
59
|
+
absenceEnd: FfiConverterString.read(from),
|
|
60
|
+
absenceReasonKr: FfiConverterString.read(from),
|
|
61
|
+
absenceReasonEn: FfiConverterString.read(from),
|
|
62
|
+
applicationDate: FfiConverterString.read(from),
|
|
63
|
+
approvalDate: FfiConverterString.read(from),
|
|
64
|
+
denialReason: FfiConverterString.read(from),
|
|
65
|
+
status: FfiConverterString.read(from)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
write(value, into) {
|
|
69
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.year, into);
|
|
70
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
71
|
+
FfiConverterString.write(value.absenceDetail, into);
|
|
72
|
+
FfiConverterString.write(value.absenceStart, into);
|
|
73
|
+
FfiConverterString.write(value.absenceEnd, into);
|
|
74
|
+
FfiConverterString.write(value.absenceReasonKr, into);
|
|
75
|
+
FfiConverterString.write(value.absenceReasonEn, into);
|
|
76
|
+
FfiConverterString.write(value.applicationDate, into);
|
|
77
|
+
FfiConverterString.write(value.approvalDate, into);
|
|
78
|
+
FfiConverterString.write(value.denialReason, into);
|
|
79
|
+
FfiConverterString.write(value.status, into);
|
|
80
|
+
}
|
|
81
|
+
allocationSize(value) {
|
|
82
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester) + FfiConverterString.allocationSize(value.absenceDetail) + FfiConverterString.allocationSize(value.absenceStart) + FfiConverterString.allocationSize(value.absenceEnd) + FfiConverterString.allocationSize(value.absenceReasonKr) + FfiConverterString.allocationSize(value.absenceReasonEn) + FfiConverterString.allocationSize(value.applicationDate) + FfiConverterString.allocationSize(value.approvalDate) + FfiConverterString.allocationSize(value.denialReason) + FfiConverterString.allocationSize(value.status);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return new FFIConverter();
|
|
86
|
+
})();
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 채플 수업별 출석정보
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Generated factory for {@link ChapelAttendance} record objects.
|
|
94
|
+
*/
|
|
95
|
+
const ChapelAttendance = exports.ChapelAttendance = (() => {
|
|
96
|
+
const defaults = () => ({});
|
|
97
|
+
const create = (() => {
|
|
98
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
99
|
+
})();
|
|
100
|
+
return Object.freeze({
|
|
101
|
+
/**
|
|
102
|
+
* Create a frozen instance of {@link ChapelAttendance}, with defaults specified
|
|
103
|
+
* in Rust, in the {@link rusaint} crate.
|
|
104
|
+
*/
|
|
105
|
+
create,
|
|
106
|
+
/**
|
|
107
|
+
* Create a frozen instance of {@link ChapelAttendance}, with defaults specified
|
|
108
|
+
* in Rust, in the {@link rusaint} crate.
|
|
109
|
+
*/
|
|
110
|
+
new: create,
|
|
111
|
+
/**
|
|
112
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
113
|
+
*/
|
|
114
|
+
defaults: () => Object.freeze(defaults())
|
|
115
|
+
});
|
|
116
|
+
})();
|
|
117
|
+
const FfiConverterTypeChapelAttendance = (() => {
|
|
118
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
119
|
+
read(from) {
|
|
120
|
+
return {
|
|
121
|
+
division: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
122
|
+
classDate: FfiConverterString.read(from),
|
|
123
|
+
category: FfiConverterString.read(from),
|
|
124
|
+
instructor: FfiConverterString.read(from),
|
|
125
|
+
instructorDepartment: FfiConverterString.read(from),
|
|
126
|
+
title: FfiConverterString.read(from),
|
|
127
|
+
attendance: FfiConverterString.read(from),
|
|
128
|
+
result: FfiConverterString.read(from),
|
|
129
|
+
note: FfiConverterString.read(from)
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
write(value, into) {
|
|
133
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.division, into);
|
|
134
|
+
FfiConverterString.write(value.classDate, into);
|
|
135
|
+
FfiConverterString.write(value.category, into);
|
|
136
|
+
FfiConverterString.write(value.instructor, into);
|
|
137
|
+
FfiConverterString.write(value.instructorDepartment, into);
|
|
138
|
+
FfiConverterString.write(value.title, into);
|
|
139
|
+
FfiConverterString.write(value.attendance, into);
|
|
140
|
+
FfiConverterString.write(value.result, into);
|
|
141
|
+
FfiConverterString.write(value.note, into);
|
|
142
|
+
}
|
|
143
|
+
allocationSize(value) {
|
|
144
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.division) + FfiConverterString.allocationSize(value.classDate) + FfiConverterString.allocationSize(value.category) + FfiConverterString.allocationSize(value.instructor) + FfiConverterString.allocationSize(value.instructorDepartment) + FfiConverterString.allocationSize(value.title) + FfiConverterString.allocationSize(value.attendance) + FfiConverterString.allocationSize(value.result) + FfiConverterString.allocationSize(value.note);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return new FFIConverter();
|
|
148
|
+
})();
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* 학기별 채플 정보
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Generated factory for {@link ChapelInformation} record objects.
|
|
156
|
+
*/
|
|
157
|
+
const ChapelInformation = exports.ChapelInformation = (() => {
|
|
158
|
+
const defaults = () => ({});
|
|
159
|
+
const create = (() => {
|
|
160
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
161
|
+
})();
|
|
162
|
+
return Object.freeze({
|
|
163
|
+
/**
|
|
164
|
+
* Create a frozen instance of {@link ChapelInformation}, with defaults specified
|
|
165
|
+
* in Rust, in the {@link rusaint} crate.
|
|
166
|
+
*/
|
|
167
|
+
create,
|
|
168
|
+
/**
|
|
169
|
+
* Create a frozen instance of {@link ChapelInformation}, with defaults specified
|
|
170
|
+
* in Rust, in the {@link rusaint} crate.
|
|
171
|
+
*/
|
|
172
|
+
new: create,
|
|
173
|
+
/**
|
|
174
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
175
|
+
*/
|
|
176
|
+
defaults: () => Object.freeze(defaults())
|
|
177
|
+
});
|
|
178
|
+
})();
|
|
179
|
+
const FfiConverterTypeChapelInformation = (() => {
|
|
180
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
181
|
+
read(from) {
|
|
182
|
+
return {
|
|
183
|
+
year: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
184
|
+
semester: FfiConverterTypeSemesterType.read(from),
|
|
185
|
+
generalInformation: FfiConverterTypeGeneralChapelInformation.read(from),
|
|
186
|
+
attendances: FfiConverterArrayTypeChapelAttendance.read(from),
|
|
187
|
+
absenceRequests: FfiConverterArrayTypeChapelAbsenceRequest.read(from)
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
write(value, into) {
|
|
191
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.year, into);
|
|
192
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
193
|
+
FfiConverterTypeGeneralChapelInformation.write(value.generalInformation, into);
|
|
194
|
+
FfiConverterArrayTypeChapelAttendance.write(value.attendances, into);
|
|
195
|
+
FfiConverterArrayTypeChapelAbsenceRequest.write(value.absenceRequests, into);
|
|
196
|
+
}
|
|
197
|
+
allocationSize(value) {
|
|
198
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester) + FfiConverterTypeGeneralChapelInformation.allocationSize(value.generalInformation) + FfiConverterArrayTypeChapelAttendance.allocationSize(value.attendances) + FfiConverterArrayTypeChapelAbsenceRequest.allocationSize(value.absenceRequests);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return new FFIConverter();
|
|
202
|
+
})();
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* 과목별 성적
|
|
206
|
+
*/
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Generated factory for {@link ClassGrade} record objects.
|
|
210
|
+
*/
|
|
211
|
+
const ClassGrade = exports.ClassGrade = (() => {
|
|
212
|
+
const defaults = () => ({});
|
|
213
|
+
const create = (() => {
|
|
214
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
215
|
+
})();
|
|
216
|
+
return Object.freeze({
|
|
217
|
+
/**
|
|
218
|
+
* Create a frozen instance of {@link ClassGrade}, with defaults specified
|
|
219
|
+
* in Rust, in the {@link rusaint} crate.
|
|
220
|
+
*/
|
|
221
|
+
create,
|
|
222
|
+
/**
|
|
223
|
+
* Create a frozen instance of {@link ClassGrade}, with defaults specified
|
|
224
|
+
* in Rust, in the {@link rusaint} crate.
|
|
225
|
+
*/
|
|
226
|
+
new: create,
|
|
227
|
+
/**
|
|
228
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
229
|
+
*/
|
|
230
|
+
defaults: () => Object.freeze(defaults())
|
|
231
|
+
});
|
|
232
|
+
})();
|
|
233
|
+
const FfiConverterTypeClassGrade = (() => {
|
|
234
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
235
|
+
read(from) {
|
|
236
|
+
return {
|
|
237
|
+
year: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
238
|
+
semester: FfiConverterTypeSemesterType.read(from),
|
|
239
|
+
code: FfiConverterString.read(from),
|
|
240
|
+
className: FfiConverterString.read(from),
|
|
241
|
+
gradePoints: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
242
|
+
score: FfiConverterTypeClassScore.read(from),
|
|
243
|
+
rank: FfiConverterString.read(from),
|
|
244
|
+
professor: FfiConverterString.read(from),
|
|
245
|
+
detail: FfiConverterOptionalMapStringFloat32.read(from)
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
write(value, into) {
|
|
249
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.year, into);
|
|
250
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
251
|
+
FfiConverterString.write(value.code, into);
|
|
252
|
+
FfiConverterString.write(value.className, into);
|
|
253
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.gradePoints, into);
|
|
254
|
+
FfiConverterTypeClassScore.write(value.score, into);
|
|
255
|
+
FfiConverterString.write(value.rank, into);
|
|
256
|
+
FfiConverterString.write(value.professor, into);
|
|
257
|
+
FfiConverterOptionalMapStringFloat32.write(value.detail, into);
|
|
258
|
+
}
|
|
259
|
+
allocationSize(value) {
|
|
260
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester) + FfiConverterString.allocationSize(value.code) + FfiConverterString.allocationSize(value.className) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.gradePoints) + FfiConverterTypeClassScore.allocationSize(value.score) + FfiConverterString.allocationSize(value.rank) + FfiConverterString.allocationSize(value.professor) + FfiConverterOptionalMapStringFloat32.allocationSize(value.detail);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return new FFIConverter();
|
|
264
|
+
})();
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* 강의의 시간표 정보입니다.
|
|
268
|
+
*/
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Generated factory for {@link CourseScheduleInformation} record objects.
|
|
272
|
+
*/
|
|
273
|
+
const CourseScheduleInformation = exports.CourseScheduleInformation = (() => {
|
|
274
|
+
const defaults = () => ({});
|
|
275
|
+
const create = (() => {
|
|
276
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
277
|
+
})();
|
|
278
|
+
return Object.freeze({
|
|
279
|
+
/**
|
|
280
|
+
* Create a frozen instance of {@link CourseScheduleInformation}, with defaults specified
|
|
281
|
+
* in Rust, in the {@link rusaint} crate.
|
|
282
|
+
*/
|
|
283
|
+
create,
|
|
284
|
+
/**
|
|
285
|
+
* Create a frozen instance of {@link CourseScheduleInformation}, with defaults specified
|
|
286
|
+
* in Rust, in the {@link rusaint} crate.
|
|
287
|
+
*/
|
|
288
|
+
new: create,
|
|
289
|
+
/**
|
|
290
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
291
|
+
*/
|
|
292
|
+
defaults: () => Object.freeze(defaults())
|
|
293
|
+
});
|
|
294
|
+
})();
|
|
295
|
+
const FfiConverterTypeCourseScheduleInformation = (() => {
|
|
296
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
297
|
+
read(from) {
|
|
298
|
+
return {
|
|
299
|
+
name: FfiConverterString.read(from),
|
|
300
|
+
professor: FfiConverterString.read(from),
|
|
301
|
+
time: FfiConverterString.read(from),
|
|
302
|
+
classroom: FfiConverterString.read(from)
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
write(value, into) {
|
|
306
|
+
FfiConverterString.write(value.name, into);
|
|
307
|
+
FfiConverterString.write(value.professor, into);
|
|
308
|
+
FfiConverterString.write(value.time, into);
|
|
309
|
+
FfiConverterString.write(value.classroom, into);
|
|
310
|
+
}
|
|
311
|
+
allocationSize(value) {
|
|
312
|
+
return FfiConverterString.allocationSize(value.name) + FfiConverterString.allocationSize(value.professor) + FfiConverterString.allocationSize(value.time) + FfiConverterString.allocationSize(value.classroom);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
return new FFIConverter();
|
|
316
|
+
})();
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* 채플 기본 정보(좌석번호, 결석현황, 성적결과)
|
|
320
|
+
*/
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Generated factory for {@link GeneralChapelInformation} record objects.
|
|
324
|
+
*/
|
|
325
|
+
const GeneralChapelInformation = exports.GeneralChapelInformation = (() => {
|
|
326
|
+
const defaults = () => ({});
|
|
327
|
+
const create = (() => {
|
|
328
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
329
|
+
})();
|
|
330
|
+
return Object.freeze({
|
|
331
|
+
/**
|
|
332
|
+
* Create a frozen instance of {@link GeneralChapelInformation}, with defaults specified
|
|
333
|
+
* in Rust, in the {@link rusaint} crate.
|
|
334
|
+
*/
|
|
335
|
+
create,
|
|
336
|
+
/**
|
|
337
|
+
* Create a frozen instance of {@link GeneralChapelInformation}, with defaults specified
|
|
338
|
+
* in Rust, in the {@link rusaint} crate.
|
|
339
|
+
*/
|
|
340
|
+
new: create,
|
|
341
|
+
/**
|
|
342
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
343
|
+
*/
|
|
344
|
+
defaults: () => Object.freeze(defaults())
|
|
345
|
+
});
|
|
346
|
+
})();
|
|
347
|
+
const FfiConverterTypeGeneralChapelInformation = (() => {
|
|
348
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
349
|
+
read(from) {
|
|
350
|
+
return {
|
|
351
|
+
division: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
352
|
+
chapelTime: FfiConverterString.read(from),
|
|
353
|
+
chapelRoom: FfiConverterString.read(from),
|
|
354
|
+
floorLevel: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
355
|
+
seatNumber: FfiConverterString.read(from),
|
|
356
|
+
absenceTime: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
357
|
+
result: FfiConverterString.read(from),
|
|
358
|
+
note: FfiConverterString.read(from)
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
write(value, into) {
|
|
362
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.division, into);
|
|
363
|
+
FfiConverterString.write(value.chapelTime, into);
|
|
364
|
+
FfiConverterString.write(value.chapelRoom, into);
|
|
365
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.floorLevel, into);
|
|
366
|
+
FfiConverterString.write(value.seatNumber, into);
|
|
367
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.absenceTime, into);
|
|
368
|
+
FfiConverterString.write(value.result, into);
|
|
369
|
+
FfiConverterString.write(value.note, into);
|
|
370
|
+
}
|
|
371
|
+
allocationSize(value) {
|
|
372
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.division) + FfiConverterString.allocationSize(value.chapelTime) + FfiConverterString.allocationSize(value.chapelRoom) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.floorLevel) + FfiConverterString.allocationSize(value.seatNumber) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.absenceTime) + FfiConverterString.allocationSize(value.result) + FfiConverterString.allocationSize(value.note);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
return new FFIConverter();
|
|
376
|
+
})();
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* 전체 성적(학적부, 증명)
|
|
380
|
+
*/
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Generated factory for {@link GradeSummary} record objects.
|
|
384
|
+
*/
|
|
385
|
+
const GradeSummary = exports.GradeSummary = (() => {
|
|
386
|
+
const defaults = () => ({});
|
|
387
|
+
const create = (() => {
|
|
388
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
389
|
+
})();
|
|
390
|
+
return Object.freeze({
|
|
391
|
+
/**
|
|
392
|
+
* Create a frozen instance of {@link GradeSummary}, with defaults specified
|
|
393
|
+
* in Rust, in the {@link rusaint} crate.
|
|
394
|
+
*/
|
|
395
|
+
create,
|
|
396
|
+
/**
|
|
397
|
+
* Create a frozen instance of {@link GradeSummary}, with defaults specified
|
|
398
|
+
* in Rust, in the {@link rusaint} crate.
|
|
399
|
+
*/
|
|
400
|
+
new: create,
|
|
401
|
+
/**
|
|
402
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
403
|
+
*/
|
|
404
|
+
defaults: () => Object.freeze(defaults())
|
|
405
|
+
});
|
|
406
|
+
})();
|
|
407
|
+
const FfiConverterTypeGradeSummary = (() => {
|
|
408
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
409
|
+
read(from) {
|
|
410
|
+
return {
|
|
411
|
+
attemptedCredits: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
412
|
+
earnedCredits: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
413
|
+
gradePointsSum: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
414
|
+
gradePointsAverage: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
415
|
+
arithmeticMean: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
416
|
+
pfEarnedCredits: _uniffiBindgenReactNative.FfiConverterFloat32.read(from)
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
write(value, into) {
|
|
420
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.attemptedCredits, into);
|
|
421
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.earnedCredits, into);
|
|
422
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.gradePointsSum, into);
|
|
423
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.gradePointsAverage, into);
|
|
424
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.arithmeticMean, into);
|
|
425
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.pfEarnedCredits, into);
|
|
426
|
+
}
|
|
427
|
+
allocationSize(value) {
|
|
428
|
+
return _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.attemptedCredits) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.earnedCredits) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.gradePointsSum) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.gradePointsAverage) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.arithmeticMean) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.pfEarnedCredits);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
return new FFIConverter();
|
|
432
|
+
})();
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* 졸업 요건
|
|
436
|
+
*/
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Generated factory for {@link GraduationRequirement} record objects.
|
|
440
|
+
*/
|
|
441
|
+
const GraduationRequirement = exports.GraduationRequirement = (() => {
|
|
442
|
+
const defaults = () => ({});
|
|
443
|
+
const create = (() => {
|
|
444
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
445
|
+
})();
|
|
446
|
+
return Object.freeze({
|
|
447
|
+
/**
|
|
448
|
+
* Create a frozen instance of {@link GraduationRequirement}, with defaults specified
|
|
449
|
+
* in Rust, in the {@link rusaint} crate.
|
|
450
|
+
*/
|
|
451
|
+
create,
|
|
452
|
+
/**
|
|
453
|
+
* Create a frozen instance of {@link GraduationRequirement}, with defaults specified
|
|
454
|
+
* in Rust, in the {@link rusaint} crate.
|
|
455
|
+
*/
|
|
456
|
+
new: create,
|
|
457
|
+
/**
|
|
458
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
459
|
+
*/
|
|
460
|
+
defaults: () => Object.freeze(defaults())
|
|
461
|
+
});
|
|
462
|
+
})();
|
|
463
|
+
const FfiConverterTypeGraduationRequirement = (() => {
|
|
464
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
465
|
+
read(from) {
|
|
466
|
+
return {
|
|
467
|
+
name: FfiConverterString.read(from),
|
|
468
|
+
requirement: FfiConverterOptionalUInt32.read(from),
|
|
469
|
+
calcuation: FfiConverterOptionalFloat32.read(from),
|
|
470
|
+
difference: FfiConverterOptionalFloat32.read(from),
|
|
471
|
+
result: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
472
|
+
category: FfiConverterString.read(from),
|
|
473
|
+
lectures: FfiConverterArrayString.read(from)
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
write(value, into) {
|
|
477
|
+
FfiConverterString.write(value.name, into);
|
|
478
|
+
FfiConverterOptionalUInt32.write(value.requirement, into);
|
|
479
|
+
FfiConverterOptionalFloat32.write(value.calcuation, into);
|
|
480
|
+
FfiConverterOptionalFloat32.write(value.difference, into);
|
|
481
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.result, into);
|
|
482
|
+
FfiConverterString.write(value.category, into);
|
|
483
|
+
FfiConverterArrayString.write(value.lectures, into);
|
|
484
|
+
}
|
|
485
|
+
allocationSize(value) {
|
|
486
|
+
return FfiConverterString.allocationSize(value.name) + FfiConverterOptionalUInt32.allocationSize(value.requirement) + FfiConverterOptionalFloat32.allocationSize(value.calcuation) + FfiConverterOptionalFloat32.allocationSize(value.difference) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.result) + FfiConverterString.allocationSize(value.category) + FfiConverterArrayString.allocationSize(value.lectures);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
return new FFIConverter();
|
|
490
|
+
})();
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* 전체 졸업 요건 정보
|
|
494
|
+
*/
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Generated factory for {@link GraduationRequirements} record objects.
|
|
498
|
+
*/
|
|
499
|
+
const GraduationRequirements = exports.GraduationRequirements = (() => {
|
|
500
|
+
const defaults = () => ({});
|
|
501
|
+
const create = (() => {
|
|
502
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
503
|
+
})();
|
|
504
|
+
return Object.freeze({
|
|
505
|
+
/**
|
|
506
|
+
* Create a frozen instance of {@link GraduationRequirements}, with defaults specified
|
|
507
|
+
* in Rust, in the {@link rusaint} crate.
|
|
508
|
+
*/
|
|
509
|
+
create,
|
|
510
|
+
/**
|
|
511
|
+
* Create a frozen instance of {@link GraduationRequirements}, with defaults specified
|
|
512
|
+
* in Rust, in the {@link rusaint} crate.
|
|
513
|
+
*/
|
|
514
|
+
new: create,
|
|
515
|
+
/**
|
|
516
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
517
|
+
*/
|
|
518
|
+
defaults: () => Object.freeze(defaults())
|
|
519
|
+
});
|
|
520
|
+
})();
|
|
521
|
+
const FfiConverterTypeGraduationRequirements = (() => {
|
|
522
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
523
|
+
read(from) {
|
|
524
|
+
return {
|
|
525
|
+
isGraduatable: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
526
|
+
requirements: FfiConverterMapStringTypeGraduationRequirement.read(from)
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
write(value, into) {
|
|
530
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.isGraduatable, into);
|
|
531
|
+
FfiConverterMapStringTypeGraduationRequirement.write(value.requirements, into);
|
|
532
|
+
}
|
|
533
|
+
allocationSize(value) {
|
|
534
|
+
return _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.isGraduatable) + FfiConverterMapStringTypeGraduationRequirement.allocationSize(value.requirements);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
return new FFIConverter();
|
|
538
|
+
})();
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* 졸업 학생 정보
|
|
542
|
+
*/
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Generated factory for {@link GraduationStudent} record objects.
|
|
546
|
+
*/
|
|
547
|
+
const GraduationStudent = exports.GraduationStudent = (() => {
|
|
548
|
+
const defaults = () => ({});
|
|
549
|
+
const create = (() => {
|
|
550
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
551
|
+
})();
|
|
552
|
+
return Object.freeze({
|
|
553
|
+
/**
|
|
554
|
+
* Create a frozen instance of {@link GraduationStudent}, with defaults specified
|
|
555
|
+
* in Rust, in the {@link rusaint} crate.
|
|
556
|
+
*/
|
|
557
|
+
create,
|
|
558
|
+
/**
|
|
559
|
+
* Create a frozen instance of {@link GraduationStudent}, with defaults specified
|
|
560
|
+
* in Rust, in the {@link rusaint} crate.
|
|
561
|
+
*/
|
|
562
|
+
new: create,
|
|
563
|
+
/**
|
|
564
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
565
|
+
*/
|
|
566
|
+
defaults: () => Object.freeze(defaults())
|
|
567
|
+
});
|
|
568
|
+
})();
|
|
569
|
+
const FfiConverterTypeGraduationStudent = (() => {
|
|
570
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
571
|
+
read(from) {
|
|
572
|
+
return {
|
|
573
|
+
number: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
574
|
+
name: FfiConverterString.read(from),
|
|
575
|
+
grade: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
576
|
+
semester: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
577
|
+
status: FfiConverterString.read(from),
|
|
578
|
+
applyYear: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
579
|
+
applyType: FfiConverterString.read(from),
|
|
580
|
+
department: FfiConverterString.read(from),
|
|
581
|
+
majors: FfiConverterArrayString.read(from),
|
|
582
|
+
auditDate: FfiConverterString.read(from),
|
|
583
|
+
graduationPoints: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
584
|
+
completedPoints: _uniffiBindgenReactNative.FfiConverterFloat32.read(from)
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
write(value, into) {
|
|
588
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.number, into);
|
|
589
|
+
FfiConverterString.write(value.name, into);
|
|
590
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.grade, into);
|
|
591
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.semester, into);
|
|
592
|
+
FfiConverterString.write(value.status, into);
|
|
593
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.applyYear, into);
|
|
594
|
+
FfiConverterString.write(value.applyType, into);
|
|
595
|
+
FfiConverterString.write(value.department, into);
|
|
596
|
+
FfiConverterArrayString.write(value.majors, into);
|
|
597
|
+
FfiConverterString.write(value.auditDate, into);
|
|
598
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.graduationPoints, into);
|
|
599
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.completedPoints, into);
|
|
600
|
+
}
|
|
601
|
+
allocationSize(value) {
|
|
602
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.number) + FfiConverterString.allocationSize(value.name) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.grade) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.semester) + FfiConverterString.allocationSize(value.status) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.applyYear) + FfiConverterString.allocationSize(value.applyType) + FfiConverterString.allocationSize(value.department) + FfiConverterArrayString.allocationSize(value.majors) + FfiConverterString.allocationSize(value.auditDate) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.graduationPoints) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.completedPoints);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
return new FFIConverter();
|
|
606
|
+
})();
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* 과목 정보
|
|
610
|
+
*/
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Generated factory for {@link Lecture} record objects.
|
|
614
|
+
*/
|
|
615
|
+
const Lecture = exports.Lecture = (() => {
|
|
616
|
+
const defaults = () => ({});
|
|
617
|
+
const create = (() => {
|
|
618
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
619
|
+
})();
|
|
620
|
+
return Object.freeze({
|
|
621
|
+
/**
|
|
622
|
+
* Create a frozen instance of {@link Lecture}, with defaults specified
|
|
623
|
+
* in Rust, in the {@link rusaint} crate.
|
|
624
|
+
*/
|
|
625
|
+
create,
|
|
626
|
+
/**
|
|
627
|
+
* Create a frozen instance of {@link Lecture}, with defaults specified
|
|
628
|
+
* in Rust, in the {@link rusaint} crate.
|
|
629
|
+
*/
|
|
630
|
+
new: create,
|
|
631
|
+
/**
|
|
632
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
633
|
+
*/
|
|
634
|
+
defaults: () => Object.freeze(defaults())
|
|
635
|
+
});
|
|
636
|
+
})();
|
|
637
|
+
const FfiConverterTypeLecture = (() => {
|
|
638
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
639
|
+
read(from) {
|
|
640
|
+
return {
|
|
641
|
+
syllabus: FfiConverterOptionalString.read(from),
|
|
642
|
+
category: FfiConverterString.read(from),
|
|
643
|
+
subCategory: FfiConverterOptionalString.read(from),
|
|
644
|
+
abeekInfo: FfiConverterOptionalString.read(from),
|
|
645
|
+
field: FfiConverterOptionalString.read(from),
|
|
646
|
+
code: FfiConverterString.read(from),
|
|
647
|
+
name: FfiConverterString.read(from),
|
|
648
|
+
division: FfiConverterOptionalString.read(from),
|
|
649
|
+
professor: FfiConverterString.read(from),
|
|
650
|
+
department: FfiConverterString.read(from),
|
|
651
|
+
timePoints: FfiConverterString.read(from),
|
|
652
|
+
personeel: FfiConverterString.read(from),
|
|
653
|
+
remainingSeats: FfiConverterString.read(from),
|
|
654
|
+
scheduleRoom: FfiConverterString.read(from),
|
|
655
|
+
target: FfiConverterString.read(from)
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
write(value, into) {
|
|
659
|
+
FfiConverterOptionalString.write(value.syllabus, into);
|
|
660
|
+
FfiConverterString.write(value.category, into);
|
|
661
|
+
FfiConverterOptionalString.write(value.subCategory, into);
|
|
662
|
+
FfiConverterOptionalString.write(value.abeekInfo, into);
|
|
663
|
+
FfiConverterOptionalString.write(value.field, into);
|
|
664
|
+
FfiConverterString.write(value.code, into);
|
|
665
|
+
FfiConverterString.write(value.name, into);
|
|
666
|
+
FfiConverterOptionalString.write(value.division, into);
|
|
667
|
+
FfiConverterString.write(value.professor, into);
|
|
668
|
+
FfiConverterString.write(value.department, into);
|
|
669
|
+
FfiConverterString.write(value.timePoints, into);
|
|
670
|
+
FfiConverterString.write(value.personeel, into);
|
|
671
|
+
FfiConverterString.write(value.remainingSeats, into);
|
|
672
|
+
FfiConverterString.write(value.scheduleRoom, into);
|
|
673
|
+
FfiConverterString.write(value.target, into);
|
|
674
|
+
}
|
|
675
|
+
allocationSize(value) {
|
|
676
|
+
return FfiConverterOptionalString.allocationSize(value.syllabus) + FfiConverterString.allocationSize(value.category) + FfiConverterOptionalString.allocationSize(value.subCategory) + FfiConverterOptionalString.allocationSize(value.abeekInfo) + FfiConverterOptionalString.allocationSize(value.field) + FfiConverterString.allocationSize(value.code) + FfiConverterString.allocationSize(value.name) + FfiConverterOptionalString.allocationSize(value.division) + FfiConverterString.allocationSize(value.professor) + FfiConverterString.allocationSize(value.department) + FfiConverterString.allocationSize(value.timePoints) + FfiConverterString.allocationSize(value.personeel) + FfiConverterString.allocationSize(value.remainingSeats) + FfiConverterString.allocationSize(value.scheduleRoom) + FfiConverterString.allocationSize(value.target);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
return new FFIConverter();
|
|
680
|
+
})();
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* 강의평가 결과
|
|
684
|
+
*/
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Generated factory for {@link LectureAssessmentResult} record objects.
|
|
688
|
+
*/
|
|
689
|
+
const LectureAssessmentResult = exports.LectureAssessmentResult = (() => {
|
|
690
|
+
const defaults = () => ({});
|
|
691
|
+
const create = (() => {
|
|
692
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
693
|
+
})();
|
|
694
|
+
return Object.freeze({
|
|
695
|
+
/**
|
|
696
|
+
* Create a frozen instance of {@link LectureAssessmentResult}, with defaults specified
|
|
697
|
+
* in Rust, in the {@link rusaint} crate.
|
|
698
|
+
*/
|
|
699
|
+
create,
|
|
700
|
+
/**
|
|
701
|
+
* Create a frozen instance of {@link LectureAssessmentResult}, with defaults specified
|
|
702
|
+
* in Rust, in the {@link rusaint} crate.
|
|
703
|
+
*/
|
|
704
|
+
new: create,
|
|
705
|
+
/**
|
|
706
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
707
|
+
*/
|
|
708
|
+
defaults: () => Object.freeze(defaults())
|
|
709
|
+
});
|
|
710
|
+
})();
|
|
711
|
+
const FfiConverterTypeLectureAssessmentResult = (() => {
|
|
712
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
713
|
+
read(from) {
|
|
714
|
+
return {
|
|
715
|
+
year: FfiConverterString.read(from),
|
|
716
|
+
semester: FfiConverterTypeSemesterType.read(from),
|
|
717
|
+
lectureCode: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
718
|
+
lectureName: FfiConverterString.read(from),
|
|
719
|
+
points: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
720
|
+
professor: FfiConverterString.read(from),
|
|
721
|
+
collage: FfiConverterString.read(from),
|
|
722
|
+
department: FfiConverterString.read(from),
|
|
723
|
+
position: FfiConverterString.read(from),
|
|
724
|
+
score: _uniffiBindgenReactNative.FfiConverterFloat32.read(from)
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
write(value, into) {
|
|
728
|
+
FfiConverterString.write(value.year, into);
|
|
729
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
730
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.lectureCode, into);
|
|
731
|
+
FfiConverterString.write(value.lectureName, into);
|
|
732
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.points, into);
|
|
733
|
+
FfiConverterString.write(value.professor, into);
|
|
734
|
+
FfiConverterString.write(value.collage, into);
|
|
735
|
+
FfiConverterString.write(value.department, into);
|
|
736
|
+
FfiConverterString.write(value.position, into);
|
|
737
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.score, into);
|
|
738
|
+
}
|
|
739
|
+
allocationSize(value) {
|
|
740
|
+
return FfiConverterString.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.lectureCode) + FfiConverterString.allocationSize(value.lectureName) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.points) + FfiConverterString.allocationSize(value.professor) + FfiConverterString.allocationSize(value.collage) + FfiConverterString.allocationSize(value.department) + FfiConverterString.allocationSize(value.position) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.score);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
return new FFIConverter();
|
|
744
|
+
})();
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* 개인의 수업 시간표 정보를 조회합니다.
|
|
748
|
+
*/
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Generated factory for {@link PersonalCourseSchedule} record objects.
|
|
752
|
+
*/
|
|
753
|
+
const PersonalCourseSchedule = exports.PersonalCourseSchedule = (() => {
|
|
754
|
+
const defaults = () => ({});
|
|
755
|
+
const create = (() => {
|
|
756
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
757
|
+
})();
|
|
758
|
+
return Object.freeze({
|
|
759
|
+
/**
|
|
760
|
+
* Create a frozen instance of {@link PersonalCourseSchedule}, with defaults specified
|
|
761
|
+
* in Rust, in the {@link rusaint} crate.
|
|
762
|
+
*/
|
|
763
|
+
create,
|
|
764
|
+
/**
|
|
765
|
+
* Create a frozen instance of {@link PersonalCourseSchedule}, with defaults specified
|
|
766
|
+
* in Rust, in the {@link rusaint} crate.
|
|
767
|
+
*/
|
|
768
|
+
new: create,
|
|
769
|
+
/**
|
|
770
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
771
|
+
*/
|
|
772
|
+
defaults: () => Object.freeze(defaults())
|
|
773
|
+
});
|
|
774
|
+
})();
|
|
775
|
+
const FfiConverterTypePersonalCourseSchedule = (() => {
|
|
776
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
777
|
+
read(from) {
|
|
778
|
+
return {
|
|
779
|
+
schedule: FfiConverterMapTypeWeekdayArrayTypeCourseScheduleInformation.read(from)
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
write(value, into) {
|
|
783
|
+
FfiConverterMapTypeWeekdayArrayTypeCourseScheduleInformation.write(value.schedule, into);
|
|
784
|
+
}
|
|
785
|
+
allocationSize(value) {
|
|
786
|
+
return FfiConverterMapTypeWeekdayArrayTypeCourseScheduleInformation.allocationSize(value.schedule);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
return new FFIConverter();
|
|
790
|
+
})();
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* 수혜받은 장학금 정보
|
|
794
|
+
*/
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Generated factory for {@link Scholarship} record objects.
|
|
798
|
+
*/
|
|
799
|
+
const Scholarship = exports.Scholarship = (() => {
|
|
800
|
+
const defaults = () => ({});
|
|
801
|
+
const create = (() => {
|
|
802
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
803
|
+
})();
|
|
804
|
+
return Object.freeze({
|
|
805
|
+
/**
|
|
806
|
+
* Create a frozen instance of {@link Scholarship}, with defaults specified
|
|
807
|
+
* in Rust, in the {@link rusaint} crate.
|
|
808
|
+
*/
|
|
809
|
+
create,
|
|
810
|
+
/**
|
|
811
|
+
* Create a frozen instance of {@link Scholarship}, with defaults specified
|
|
812
|
+
* in Rust, in the {@link rusaint} crate.
|
|
813
|
+
*/
|
|
814
|
+
new: create,
|
|
815
|
+
/**
|
|
816
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
817
|
+
*/
|
|
818
|
+
defaults: () => Object.freeze(defaults())
|
|
819
|
+
});
|
|
820
|
+
})();
|
|
821
|
+
const FfiConverterTypeScholarship = (() => {
|
|
822
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
823
|
+
read(from) {
|
|
824
|
+
return {
|
|
825
|
+
year: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
826
|
+
semester: FfiConverterTypeSemesterType.read(from),
|
|
827
|
+
name: FfiConverterString.read(from),
|
|
828
|
+
receivedAmount: _uniffiBindgenReactNative.FfiConverterUInt64.read(from),
|
|
829
|
+
receiveType: FfiConverterString.read(from),
|
|
830
|
+
status: FfiConverterString.read(from),
|
|
831
|
+
processedAt: FfiConverterString.read(from),
|
|
832
|
+
selectedAmount: _uniffiBindgenReactNative.FfiConverterUInt64.read(from),
|
|
833
|
+
refundedAmount: _uniffiBindgenReactNative.FfiConverterUInt64.read(from),
|
|
834
|
+
replacedAmount: _uniffiBindgenReactNative.FfiConverterUInt64.read(from),
|
|
835
|
+
replacedBy: FfiConverterString.read(from),
|
|
836
|
+
dropReason: FfiConverterString.read(from),
|
|
837
|
+
note: FfiConverterString.read(from),
|
|
838
|
+
workedAt: FfiConverterString.read(from)
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
write(value, into) {
|
|
842
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.year, into);
|
|
843
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
844
|
+
FfiConverterString.write(value.name, into);
|
|
845
|
+
_uniffiBindgenReactNative.FfiConverterUInt64.write(value.receivedAmount, into);
|
|
846
|
+
FfiConverterString.write(value.receiveType, into);
|
|
847
|
+
FfiConverterString.write(value.status, into);
|
|
848
|
+
FfiConverterString.write(value.processedAt, into);
|
|
849
|
+
_uniffiBindgenReactNative.FfiConverterUInt64.write(value.selectedAmount, into);
|
|
850
|
+
_uniffiBindgenReactNative.FfiConverterUInt64.write(value.refundedAmount, into);
|
|
851
|
+
_uniffiBindgenReactNative.FfiConverterUInt64.write(value.replacedAmount, into);
|
|
852
|
+
FfiConverterString.write(value.replacedBy, into);
|
|
853
|
+
FfiConverterString.write(value.dropReason, into);
|
|
854
|
+
FfiConverterString.write(value.note, into);
|
|
855
|
+
FfiConverterString.write(value.workedAt, into);
|
|
856
|
+
}
|
|
857
|
+
allocationSize(value) {
|
|
858
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester) + FfiConverterString.allocationSize(value.name) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.receivedAmount) + FfiConverterString.allocationSize(value.receiveType) + FfiConverterString.allocationSize(value.status) + FfiConverterString.allocationSize(value.processedAt) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.selectedAmount) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.refundedAmount) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.replacedAmount) + FfiConverterString.allocationSize(value.replacedBy) + FfiConverterString.allocationSize(value.dropReason) + FfiConverterString.allocationSize(value.note) + FfiConverterString.allocationSize(value.workedAt);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
return new FFIConverter();
|
|
862
|
+
})();
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* 학기별 성적
|
|
866
|
+
*/
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Generated factory for {@link SemesterGrade} record objects.
|
|
870
|
+
*/
|
|
871
|
+
const SemesterGrade = exports.SemesterGrade = (() => {
|
|
872
|
+
const defaults = () => ({});
|
|
873
|
+
const create = (() => {
|
|
874
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
875
|
+
})();
|
|
876
|
+
return Object.freeze({
|
|
877
|
+
/**
|
|
878
|
+
* Create a frozen instance of {@link SemesterGrade}, with defaults specified
|
|
879
|
+
* in Rust, in the {@link rusaint} crate.
|
|
880
|
+
*/
|
|
881
|
+
create,
|
|
882
|
+
/**
|
|
883
|
+
* Create a frozen instance of {@link SemesterGrade}, with defaults specified
|
|
884
|
+
* in Rust, in the {@link rusaint} crate.
|
|
885
|
+
*/
|
|
886
|
+
new: create,
|
|
887
|
+
/**
|
|
888
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
889
|
+
*/
|
|
890
|
+
defaults: () => Object.freeze(defaults())
|
|
891
|
+
});
|
|
892
|
+
})();
|
|
893
|
+
const FfiConverterTypeSemesterGrade = (() => {
|
|
894
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
895
|
+
read(from) {
|
|
896
|
+
return {
|
|
897
|
+
year: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
898
|
+
semester: FfiConverterTypeSemesterType.read(from),
|
|
899
|
+
attemptedCredits: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
900
|
+
earnedCredits: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
901
|
+
pfEarnedCredits: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
902
|
+
gradePointsAverage: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
903
|
+
gradePointsSum: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
904
|
+
arithmeticMean: _uniffiBindgenReactNative.FfiConverterFloat32.read(from),
|
|
905
|
+
semesterRank: FfiConverterTypeU32Pair.read(from),
|
|
906
|
+
generalRank: FfiConverterTypeU32Pair.read(from),
|
|
907
|
+
academicProbation: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
908
|
+
consult: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
909
|
+
flunked: _uniffiBindgenReactNative.FfiConverterBool.read(from)
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
write(value, into) {
|
|
913
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.year, into);
|
|
914
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
915
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.attemptedCredits, into);
|
|
916
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.earnedCredits, into);
|
|
917
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.pfEarnedCredits, into);
|
|
918
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.gradePointsAverage, into);
|
|
919
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.gradePointsSum, into);
|
|
920
|
+
_uniffiBindgenReactNative.FfiConverterFloat32.write(value.arithmeticMean, into);
|
|
921
|
+
FfiConverterTypeU32Pair.write(value.semesterRank, into);
|
|
922
|
+
FfiConverterTypeU32Pair.write(value.generalRank, into);
|
|
923
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.academicProbation, into);
|
|
924
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.consult, into);
|
|
925
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.flunked, into);
|
|
926
|
+
}
|
|
927
|
+
allocationSize(value) {
|
|
928
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.attemptedCredits) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.earnedCredits) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.pfEarnedCredits) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.gradePointsAverage) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.gradePointsSum) + _uniffiBindgenReactNative.FfiConverterFloat32.allocationSize(value.arithmeticMean) + FfiConverterTypeU32Pair.allocationSize(value.semesterRank) + FfiConverterTypeU32Pair.allocationSize(value.generalRank) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.academicProbation) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.consult) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.flunked);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return new FFIConverter();
|
|
932
|
+
})();
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* 학생의 학적상태 기록
|
|
936
|
+
*/
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Generated factory for {@link StudentAcademicRecord} record objects.
|
|
940
|
+
*/
|
|
941
|
+
const StudentAcademicRecord = exports.StudentAcademicRecord = (() => {
|
|
942
|
+
const defaults = () => ({});
|
|
943
|
+
const create = (() => {
|
|
944
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
945
|
+
})();
|
|
946
|
+
return Object.freeze({
|
|
947
|
+
/**
|
|
948
|
+
* Create a frozen instance of {@link StudentAcademicRecord}, with defaults specified
|
|
949
|
+
* in Rust, in the {@link rusaint} crate.
|
|
950
|
+
*/
|
|
951
|
+
create,
|
|
952
|
+
/**
|
|
953
|
+
* Create a frozen instance of {@link StudentAcademicRecord}, with defaults specified
|
|
954
|
+
* in Rust, in the {@link rusaint} crate.
|
|
955
|
+
*/
|
|
956
|
+
new: create,
|
|
957
|
+
/**
|
|
958
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
959
|
+
*/
|
|
960
|
+
defaults: () => Object.freeze(defaults())
|
|
961
|
+
});
|
|
962
|
+
})();
|
|
963
|
+
const FfiConverterTypeStudentAcademicRecord = (() => {
|
|
964
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
965
|
+
read(from) {
|
|
966
|
+
return {
|
|
967
|
+
startDate: FfiConverterString.read(from),
|
|
968
|
+
endDate: FfiConverterString.read(from),
|
|
969
|
+
year: FfiConverterString.read(from),
|
|
970
|
+
term: FfiConverterString.read(from),
|
|
971
|
+
category: FfiConverterString.read(from),
|
|
972
|
+
reason: FfiConverterString.read(from),
|
|
973
|
+
processDate: FfiConverterString.read(from)
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
write(value, into) {
|
|
977
|
+
FfiConverterString.write(value.startDate, into);
|
|
978
|
+
FfiConverterString.write(value.endDate, into);
|
|
979
|
+
FfiConverterString.write(value.year, into);
|
|
980
|
+
FfiConverterString.write(value.term, into);
|
|
981
|
+
FfiConverterString.write(value.category, into);
|
|
982
|
+
FfiConverterString.write(value.reason, into);
|
|
983
|
+
FfiConverterString.write(value.processDate, into);
|
|
984
|
+
}
|
|
985
|
+
allocationSize(value) {
|
|
986
|
+
return FfiConverterString.allocationSize(value.startDate) + FfiConverterString.allocationSize(value.endDate) + FfiConverterString.allocationSize(value.year) + FfiConverterString.allocationSize(value.term) + FfiConverterString.allocationSize(value.category) + FfiConverterString.allocationSize(value.reason) + FfiConverterString.allocationSize(value.processDate);
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
return new FFIConverter();
|
|
990
|
+
})();
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* 학생의 학적상태 정보
|
|
994
|
+
*/
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Generated factory for {@link StudentAcademicRecords} record objects.
|
|
998
|
+
*/
|
|
999
|
+
const StudentAcademicRecords = exports.StudentAcademicRecords = (() => {
|
|
1000
|
+
const defaults = () => ({});
|
|
1001
|
+
const create = (() => {
|
|
1002
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1003
|
+
})();
|
|
1004
|
+
return Object.freeze({
|
|
1005
|
+
/**
|
|
1006
|
+
* Create a frozen instance of {@link StudentAcademicRecords}, with defaults specified
|
|
1007
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1008
|
+
*/
|
|
1009
|
+
create,
|
|
1010
|
+
/**
|
|
1011
|
+
* Create a frozen instance of {@link StudentAcademicRecords}, with defaults specified
|
|
1012
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1013
|
+
*/
|
|
1014
|
+
new: create,
|
|
1015
|
+
/**
|
|
1016
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1017
|
+
*/
|
|
1018
|
+
defaults: () => Object.freeze(defaults())
|
|
1019
|
+
});
|
|
1020
|
+
})();
|
|
1021
|
+
const FfiConverterTypeStudentAcademicRecords = (() => {
|
|
1022
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1023
|
+
read(from) {
|
|
1024
|
+
return {
|
|
1025
|
+
records: FfiConverterArrayTypeStudentAcademicRecord.read(from)
|
|
1026
|
+
};
|
|
1027
|
+
}
|
|
1028
|
+
write(value, into) {
|
|
1029
|
+
FfiConverterArrayTypeStudentAcademicRecord.write(value.records, into);
|
|
1030
|
+
}
|
|
1031
|
+
allocationSize(value) {
|
|
1032
|
+
return FfiConverterArrayTypeStudentAcademicRecord.allocationSize(value.records);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
return new FFIConverter();
|
|
1036
|
+
})();
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* 학생의 은행 계좌 정보
|
|
1040
|
+
*/
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Generated factory for {@link StudentBankAccount} record objects.
|
|
1044
|
+
*/
|
|
1045
|
+
const StudentBankAccount = exports.StudentBankAccount = (() => {
|
|
1046
|
+
const defaults = () => ({});
|
|
1047
|
+
const create = (() => {
|
|
1048
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1049
|
+
})();
|
|
1050
|
+
return Object.freeze({
|
|
1051
|
+
/**
|
|
1052
|
+
* Create a frozen instance of {@link StudentBankAccount}, with defaults specified
|
|
1053
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1054
|
+
*/
|
|
1055
|
+
create,
|
|
1056
|
+
/**
|
|
1057
|
+
* Create a frozen instance of {@link StudentBankAccount}, with defaults specified
|
|
1058
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1059
|
+
*/
|
|
1060
|
+
new: create,
|
|
1061
|
+
/**
|
|
1062
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1063
|
+
*/
|
|
1064
|
+
defaults: () => Object.freeze(defaults())
|
|
1065
|
+
});
|
|
1066
|
+
})();
|
|
1067
|
+
const FfiConverterTypeStudentBankAccount = (() => {
|
|
1068
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1069
|
+
read(from) {
|
|
1070
|
+
return {
|
|
1071
|
+
bank: FfiConverterOptionalString.read(from),
|
|
1072
|
+
accountNumber: FfiConverterOptionalString.read(from),
|
|
1073
|
+
holder: FfiConverterOptionalString.read(from)
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
write(value, into) {
|
|
1077
|
+
FfiConverterOptionalString.write(value.bank, into);
|
|
1078
|
+
FfiConverterOptionalString.write(value.accountNumber, into);
|
|
1079
|
+
FfiConverterOptionalString.write(value.holder, into);
|
|
1080
|
+
}
|
|
1081
|
+
allocationSize(value) {
|
|
1082
|
+
return FfiConverterOptionalString.allocationSize(value.bank) + FfiConverterOptionalString.allocationSize(value.accountNumber) + FfiConverterOptionalString.allocationSize(value.holder);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
return new FFIConverter();
|
|
1086
|
+
})();
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* 학생의 가족관계 정보
|
|
1090
|
+
*/
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Generated factory for {@link StudentFamily} record objects.
|
|
1094
|
+
*/
|
|
1095
|
+
const StudentFamily = exports.StudentFamily = (() => {
|
|
1096
|
+
const defaults = () => ({});
|
|
1097
|
+
const create = (() => {
|
|
1098
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1099
|
+
})();
|
|
1100
|
+
return Object.freeze({
|
|
1101
|
+
/**
|
|
1102
|
+
* Create a frozen instance of {@link StudentFamily}, with defaults specified
|
|
1103
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1104
|
+
*/
|
|
1105
|
+
create,
|
|
1106
|
+
/**
|
|
1107
|
+
* Create a frozen instance of {@link StudentFamily}, with defaults specified
|
|
1108
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1109
|
+
*/
|
|
1110
|
+
new: create,
|
|
1111
|
+
/**
|
|
1112
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1113
|
+
*/
|
|
1114
|
+
defaults: () => Object.freeze(defaults())
|
|
1115
|
+
});
|
|
1116
|
+
})();
|
|
1117
|
+
const FfiConverterTypeStudentFamily = (() => {
|
|
1118
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1119
|
+
read(from) {
|
|
1120
|
+
return {
|
|
1121
|
+
members: FfiConverterArrayTypeStudentFamilyMember.read(from)
|
|
1122
|
+
};
|
|
1123
|
+
}
|
|
1124
|
+
write(value, into) {
|
|
1125
|
+
FfiConverterArrayTypeStudentFamilyMember.write(value.members, into);
|
|
1126
|
+
}
|
|
1127
|
+
allocationSize(value) {
|
|
1128
|
+
return FfiConverterArrayTypeStudentFamilyMember.allocationSize(value.members);
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
return new FFIConverter();
|
|
1132
|
+
})();
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* 학생의 가족 구성원
|
|
1136
|
+
*/
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Generated factory for {@link StudentFamilyMember} record objects.
|
|
1140
|
+
*/
|
|
1141
|
+
const StudentFamilyMember = exports.StudentFamilyMember = (() => {
|
|
1142
|
+
const defaults = () => ({});
|
|
1143
|
+
const create = (() => {
|
|
1144
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1145
|
+
})();
|
|
1146
|
+
return Object.freeze({
|
|
1147
|
+
/**
|
|
1148
|
+
* Create a frozen instance of {@link StudentFamilyMember}, with defaults specified
|
|
1149
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1150
|
+
*/
|
|
1151
|
+
create,
|
|
1152
|
+
/**
|
|
1153
|
+
* Create a frozen instance of {@link StudentFamilyMember}, with defaults specified
|
|
1154
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1155
|
+
*/
|
|
1156
|
+
new: create,
|
|
1157
|
+
/**
|
|
1158
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1159
|
+
*/
|
|
1160
|
+
defaults: () => Object.freeze(defaults())
|
|
1161
|
+
});
|
|
1162
|
+
})();
|
|
1163
|
+
const FfiConverterTypeStudentFamilyMember = (() => {
|
|
1164
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1165
|
+
read(from) {
|
|
1166
|
+
return {
|
|
1167
|
+
relationType: FfiConverterOptionalString.read(from),
|
|
1168
|
+
telNumber: FfiConverterOptionalString.read(from),
|
|
1169
|
+
name: FfiConverterOptionalString.read(from),
|
|
1170
|
+
mobileNumber: FfiConverterOptionalString.read(from),
|
|
1171
|
+
office: FfiConverterOptionalString.read(from),
|
|
1172
|
+
job: FfiConverterOptionalString.read(from),
|
|
1173
|
+
position: FfiConverterOptionalString.read(from),
|
|
1174
|
+
isGuardian: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
1175
|
+
isCohabit: _uniffiBindgenReactNative.FfiConverterBool.read(from)
|
|
1176
|
+
};
|
|
1177
|
+
}
|
|
1178
|
+
write(value, into) {
|
|
1179
|
+
FfiConverterOptionalString.write(value.relationType, into);
|
|
1180
|
+
FfiConverterOptionalString.write(value.telNumber, into);
|
|
1181
|
+
FfiConverterOptionalString.write(value.name, into);
|
|
1182
|
+
FfiConverterOptionalString.write(value.mobileNumber, into);
|
|
1183
|
+
FfiConverterOptionalString.write(value.office, into);
|
|
1184
|
+
FfiConverterOptionalString.write(value.job, into);
|
|
1185
|
+
FfiConverterOptionalString.write(value.position, into);
|
|
1186
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.isGuardian, into);
|
|
1187
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.isCohabit, into);
|
|
1188
|
+
}
|
|
1189
|
+
allocationSize(value) {
|
|
1190
|
+
return FfiConverterOptionalString.allocationSize(value.relationType) + FfiConverterOptionalString.allocationSize(value.telNumber) + FfiConverterOptionalString.allocationSize(value.name) + FfiConverterOptionalString.allocationSize(value.mobileNumber) + FfiConverterOptionalString.allocationSize(value.office) + FfiConverterOptionalString.allocationSize(value.job) + FfiConverterOptionalString.allocationSize(value.position) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.isGuardian) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.isCohabit);
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
return new FFIConverter();
|
|
1194
|
+
})();
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* 7+1 프로그램 정보를 반환합니다.
|
|
1198
|
+
*/
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Generated factory for {@link StudentForignStudyInformation} record objects.
|
|
1202
|
+
*/
|
|
1203
|
+
const StudentForignStudyInformation = exports.StudentForignStudyInformation = (() => {
|
|
1204
|
+
const defaults = () => ({});
|
|
1205
|
+
const create = (() => {
|
|
1206
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1207
|
+
})();
|
|
1208
|
+
return Object.freeze({
|
|
1209
|
+
/**
|
|
1210
|
+
* Create a frozen instance of {@link StudentForignStudyInformation}, with defaults specified
|
|
1211
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1212
|
+
*/
|
|
1213
|
+
create,
|
|
1214
|
+
/**
|
|
1215
|
+
* Create a frozen instance of {@link StudentForignStudyInformation}, with defaults specified
|
|
1216
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1217
|
+
*/
|
|
1218
|
+
new: create,
|
|
1219
|
+
/**
|
|
1220
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1221
|
+
*/
|
|
1222
|
+
defaults: () => Object.freeze(defaults())
|
|
1223
|
+
});
|
|
1224
|
+
})();
|
|
1225
|
+
const FfiConverterTypeStudentForignStudyInformation = (() => {
|
|
1226
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1227
|
+
read(from) {
|
|
1228
|
+
return {
|
|
1229
|
+
approvalDate: FfiConverterOptionalString.read(from),
|
|
1230
|
+
authenticationNumber: FfiConverterOptionalString.read(from),
|
|
1231
|
+
issueDate: FfiConverterOptionalString.read(from)
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
write(value, into) {
|
|
1235
|
+
FfiConverterOptionalString.write(value.approvalDate, into);
|
|
1236
|
+
FfiConverterOptionalString.write(value.authenticationNumber, into);
|
|
1237
|
+
FfiConverterOptionalString.write(value.issueDate, into);
|
|
1238
|
+
}
|
|
1239
|
+
allocationSize(value) {
|
|
1240
|
+
return FfiConverterOptionalString.allocationSize(value.approvalDate) + FfiConverterOptionalString.allocationSize(value.authenticationNumber) + FfiConverterOptionalString.allocationSize(value.issueDate);
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
return new FFIConverter();
|
|
1244
|
+
})();
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* 학생의 졸업 정보를 반환합니다. 졸업하지 않았다면 반환되지 않습니다.
|
|
1248
|
+
*/
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Generated factory for {@link StudentGraduation} record objects.
|
|
1252
|
+
*/
|
|
1253
|
+
const StudentGraduation = exports.StudentGraduation = (() => {
|
|
1254
|
+
const defaults = () => ({});
|
|
1255
|
+
const create = (() => {
|
|
1256
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1257
|
+
})();
|
|
1258
|
+
return Object.freeze({
|
|
1259
|
+
/**
|
|
1260
|
+
* Create a frozen instance of {@link StudentGraduation}, with defaults specified
|
|
1261
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1262
|
+
*/
|
|
1263
|
+
create,
|
|
1264
|
+
/**
|
|
1265
|
+
* Create a frozen instance of {@link StudentGraduation}, with defaults specified
|
|
1266
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1267
|
+
*/
|
|
1268
|
+
new: create,
|
|
1269
|
+
/**
|
|
1270
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1271
|
+
*/
|
|
1272
|
+
defaults: () => Object.freeze(defaults())
|
|
1273
|
+
});
|
|
1274
|
+
})();
|
|
1275
|
+
const FfiConverterTypeStudentGraduation = (() => {
|
|
1276
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1277
|
+
read(from) {
|
|
1278
|
+
return {
|
|
1279
|
+
graduationCardinal: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1280
|
+
graduationCertificationNumber: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1281
|
+
graduationYear: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1282
|
+
graduationTerms: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1283
|
+
graduationDate: FfiConverterString.read(from),
|
|
1284
|
+
academicDegreeNumber: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1285
|
+
academicDegreeName: FfiConverterString.read(from),
|
|
1286
|
+
earlyGraduation: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
1287
|
+
graduationRank: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1288
|
+
graduationPersonnelNumber: _uniffiBindgenReactNative.FfiConverterUInt32.read(from)
|
|
1289
|
+
};
|
|
1290
|
+
}
|
|
1291
|
+
write(value, into) {
|
|
1292
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.graduationCardinal, into);
|
|
1293
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.graduationCertificationNumber, into);
|
|
1294
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.graduationYear, into);
|
|
1295
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.graduationTerms, into);
|
|
1296
|
+
FfiConverterString.write(value.graduationDate, into);
|
|
1297
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.academicDegreeNumber, into);
|
|
1298
|
+
FfiConverterString.write(value.academicDegreeName, into);
|
|
1299
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.earlyGraduation, into);
|
|
1300
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.graduationRank, into);
|
|
1301
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.graduationPersonnelNumber, into);
|
|
1302
|
+
}
|
|
1303
|
+
allocationSize(value) {
|
|
1304
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.graduationCardinal) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.graduationCertificationNumber) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.graduationYear) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.graduationTerms) + FfiConverterString.allocationSize(value.graduationDate) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.academicDegreeNumber) + FfiConverterString.allocationSize(value.academicDegreeName) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.earlyGraduation) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.graduationRank) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.graduationPersonnelNumber);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
return new FFIConverter();
|
|
1308
|
+
})();
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* 기본 학생 정보
|
|
1312
|
+
*/
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Generated factory for {@link StudentInformation} record objects.
|
|
1316
|
+
*/
|
|
1317
|
+
const StudentInformation = exports.StudentInformation = (() => {
|
|
1318
|
+
const defaults = () => ({});
|
|
1319
|
+
const create = (() => {
|
|
1320
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1321
|
+
})();
|
|
1322
|
+
return Object.freeze({
|
|
1323
|
+
/**
|
|
1324
|
+
* Create a frozen instance of {@link StudentInformation}, with defaults specified
|
|
1325
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1326
|
+
*/
|
|
1327
|
+
create,
|
|
1328
|
+
/**
|
|
1329
|
+
* Create a frozen instance of {@link StudentInformation}, with defaults specified
|
|
1330
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1331
|
+
*/
|
|
1332
|
+
new: create,
|
|
1333
|
+
/**
|
|
1334
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1335
|
+
*/
|
|
1336
|
+
defaults: () => Object.freeze(defaults())
|
|
1337
|
+
});
|
|
1338
|
+
})();
|
|
1339
|
+
const FfiConverterTypeStudentInformation = (() => {
|
|
1340
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1341
|
+
read(from) {
|
|
1342
|
+
return {
|
|
1343
|
+
applyYear: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1344
|
+
studentNumber: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1345
|
+
name: FfiConverterString.read(from),
|
|
1346
|
+
rrn: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1347
|
+
collage: FfiConverterString.read(from),
|
|
1348
|
+
department: FfiConverterString.read(from),
|
|
1349
|
+
major: FfiConverterOptionalString.read(from),
|
|
1350
|
+
division: FfiConverterOptionalString.read(from),
|
|
1351
|
+
grade: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1352
|
+
term: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1353
|
+
image: _uniffiBindgenReactNative.FfiConverterArrayBuffer.read(from),
|
|
1354
|
+
alias: FfiConverterOptionalString.read(from),
|
|
1355
|
+
kanjiName: FfiConverterOptionalString.read(from),
|
|
1356
|
+
email: FfiConverterOptionalString.read(from),
|
|
1357
|
+
telNumber: FfiConverterOptionalString.read(from),
|
|
1358
|
+
mobileNumber: FfiConverterOptionalString.read(from),
|
|
1359
|
+
postCode: FfiConverterOptionalString.read(from),
|
|
1360
|
+
address: FfiConverterOptionalString.read(from),
|
|
1361
|
+
specificAddress: FfiConverterOptionalString.read(from),
|
|
1362
|
+
isTransferStudent: _uniffiBindgenReactNative.FfiConverterBool.read(from),
|
|
1363
|
+
applyDate: FfiConverterString.read(from),
|
|
1364
|
+
appliedCollage: FfiConverterString.read(from),
|
|
1365
|
+
appliedDepartment: FfiConverterString.read(from),
|
|
1366
|
+
pluralMajor: FfiConverterOptionalString.read(from),
|
|
1367
|
+
subMajor: FfiConverterOptionalString.read(from),
|
|
1368
|
+
connectedMajor: FfiConverterOptionalString.read(from),
|
|
1369
|
+
abeek: FfiConverterOptionalString.read(from)
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
write(value, into) {
|
|
1373
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.applyYear, into);
|
|
1374
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.studentNumber, into);
|
|
1375
|
+
FfiConverterString.write(value.name, into);
|
|
1376
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.rrn, into);
|
|
1377
|
+
FfiConverterString.write(value.collage, into);
|
|
1378
|
+
FfiConverterString.write(value.department, into);
|
|
1379
|
+
FfiConverterOptionalString.write(value.major, into);
|
|
1380
|
+
FfiConverterOptionalString.write(value.division, into);
|
|
1381
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.grade, into);
|
|
1382
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.term, into);
|
|
1383
|
+
_uniffiBindgenReactNative.FfiConverterArrayBuffer.write(value.image, into);
|
|
1384
|
+
FfiConverterOptionalString.write(value.alias, into);
|
|
1385
|
+
FfiConverterOptionalString.write(value.kanjiName, into);
|
|
1386
|
+
FfiConverterOptionalString.write(value.email, into);
|
|
1387
|
+
FfiConverterOptionalString.write(value.telNumber, into);
|
|
1388
|
+
FfiConverterOptionalString.write(value.mobileNumber, into);
|
|
1389
|
+
FfiConverterOptionalString.write(value.postCode, into);
|
|
1390
|
+
FfiConverterOptionalString.write(value.address, into);
|
|
1391
|
+
FfiConverterOptionalString.write(value.specificAddress, into);
|
|
1392
|
+
_uniffiBindgenReactNative.FfiConverterBool.write(value.isTransferStudent, into);
|
|
1393
|
+
FfiConverterString.write(value.applyDate, into);
|
|
1394
|
+
FfiConverterString.write(value.appliedCollage, into);
|
|
1395
|
+
FfiConverterString.write(value.appliedDepartment, into);
|
|
1396
|
+
FfiConverterOptionalString.write(value.pluralMajor, into);
|
|
1397
|
+
FfiConverterOptionalString.write(value.subMajor, into);
|
|
1398
|
+
FfiConverterOptionalString.write(value.connectedMajor, into);
|
|
1399
|
+
FfiConverterOptionalString.write(value.abeek, into);
|
|
1400
|
+
}
|
|
1401
|
+
allocationSize(value) {
|
|
1402
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.applyYear) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.studentNumber) + FfiConverterString.allocationSize(value.name) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.rrn) + FfiConverterString.allocationSize(value.collage) + FfiConverterString.allocationSize(value.department) + FfiConverterOptionalString.allocationSize(value.major) + FfiConverterOptionalString.allocationSize(value.division) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.grade) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.term) + _uniffiBindgenReactNative.FfiConverterArrayBuffer.allocationSize(value.image) + FfiConverterOptionalString.allocationSize(value.alias) + FfiConverterOptionalString.allocationSize(value.kanjiName) + FfiConverterOptionalString.allocationSize(value.email) + FfiConverterOptionalString.allocationSize(value.telNumber) + FfiConverterOptionalString.allocationSize(value.mobileNumber) + FfiConverterOptionalString.allocationSize(value.postCode) + FfiConverterOptionalString.allocationSize(value.address) + FfiConverterOptionalString.allocationSize(value.specificAddress) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.isTransferStudent) + FfiConverterString.allocationSize(value.applyDate) + FfiConverterString.allocationSize(value.appliedCollage) + FfiConverterString.allocationSize(value.appliedDepartment) + FfiConverterOptionalString.allocationSize(value.pluralMajor) + FfiConverterOptionalString.allocationSize(value.subMajor) + FfiConverterOptionalString.allocationSize(value.connectedMajor) + FfiConverterOptionalString.allocationSize(value.abeek);
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
return new FFIConverter();
|
|
1406
|
+
})();
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* 평생교육사 정보
|
|
1410
|
+
*/
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Generated factory for {@link StudentLifelongInformation} record objects.
|
|
1414
|
+
*/
|
|
1415
|
+
const StudentLifelongInformation = exports.StudentLifelongInformation = (() => {
|
|
1416
|
+
const defaults = () => ({});
|
|
1417
|
+
const create = (() => {
|
|
1418
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1419
|
+
})();
|
|
1420
|
+
return Object.freeze({
|
|
1421
|
+
/**
|
|
1422
|
+
* Create a frozen instance of {@link StudentLifelongInformation}, with defaults specified
|
|
1423
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1424
|
+
*/
|
|
1425
|
+
create,
|
|
1426
|
+
/**
|
|
1427
|
+
* Create a frozen instance of {@link StudentLifelongInformation}, with defaults specified
|
|
1428
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1429
|
+
*/
|
|
1430
|
+
new: create,
|
|
1431
|
+
/**
|
|
1432
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1433
|
+
*/
|
|
1434
|
+
defaults: () => Object.freeze(defaults())
|
|
1435
|
+
});
|
|
1436
|
+
})();
|
|
1437
|
+
const FfiConverterTypeStudentLifelongInformation = (() => {
|
|
1438
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1439
|
+
read(from) {
|
|
1440
|
+
return {
|
|
1441
|
+
applyDate: FfiConverterOptionalString.read(from),
|
|
1442
|
+
lifelongType: FfiConverterOptionalString.read(from),
|
|
1443
|
+
qualificationNumber: FfiConverterOptionalString.read(from),
|
|
1444
|
+
qualificationDate: FfiConverterOptionalString.read(from)
|
|
1445
|
+
};
|
|
1446
|
+
}
|
|
1447
|
+
write(value, into) {
|
|
1448
|
+
FfiConverterOptionalString.write(value.applyDate, into);
|
|
1449
|
+
FfiConverterOptionalString.write(value.lifelongType, into);
|
|
1450
|
+
FfiConverterOptionalString.write(value.qualificationNumber, into);
|
|
1451
|
+
FfiConverterOptionalString.write(value.qualificationDate, into);
|
|
1452
|
+
}
|
|
1453
|
+
allocationSize(value) {
|
|
1454
|
+
return FfiConverterOptionalString.allocationSize(value.applyDate) + FfiConverterOptionalString.allocationSize(value.lifelongType) + FfiConverterOptionalString.allocationSize(value.qualificationNumber) + FfiConverterOptionalString.allocationSize(value.qualificationDate);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
return new FFIConverter();
|
|
1458
|
+
})();
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* 학생의 자격(교직이수, 평생교육사, 7+1 프로그램) 정보
|
|
1462
|
+
*/
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* Generated factory for {@link StudentQualification} record objects.
|
|
1466
|
+
*/
|
|
1467
|
+
const StudentQualification = exports.StudentQualification = (() => {
|
|
1468
|
+
const defaults = () => ({});
|
|
1469
|
+
const create = (() => {
|
|
1470
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1471
|
+
})();
|
|
1472
|
+
return Object.freeze({
|
|
1473
|
+
/**
|
|
1474
|
+
* Create a frozen instance of {@link StudentQualification}, with defaults specified
|
|
1475
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1476
|
+
*/
|
|
1477
|
+
create,
|
|
1478
|
+
/**
|
|
1479
|
+
* Create a frozen instance of {@link StudentQualification}, with defaults specified
|
|
1480
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1481
|
+
*/
|
|
1482
|
+
new: create,
|
|
1483
|
+
/**
|
|
1484
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1485
|
+
*/
|
|
1486
|
+
defaults: () => Object.freeze(defaults())
|
|
1487
|
+
});
|
|
1488
|
+
})();
|
|
1489
|
+
const FfiConverterTypeStudentQualification = (() => {
|
|
1490
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1491
|
+
read(from) {
|
|
1492
|
+
return {
|
|
1493
|
+
teachingMajor: FfiConverterOptionalTypeStudentTeachingMajorInformation.read(from),
|
|
1494
|
+
teachingPluralMajor: FfiConverterOptionalTypeStudentTeachingPluralMajorInformation.read(from),
|
|
1495
|
+
lifelong: FfiConverterOptionalTypeStudentLifelongInformation.read(from),
|
|
1496
|
+
forignStudy: FfiConverterOptionalTypeStudentForignStudyInformation.read(from)
|
|
1497
|
+
};
|
|
1498
|
+
}
|
|
1499
|
+
write(value, into) {
|
|
1500
|
+
FfiConverterOptionalTypeStudentTeachingMajorInformation.write(value.teachingMajor, into);
|
|
1501
|
+
FfiConverterOptionalTypeStudentTeachingPluralMajorInformation.write(value.teachingPluralMajor, into);
|
|
1502
|
+
FfiConverterOptionalTypeStudentLifelongInformation.write(value.lifelong, into);
|
|
1503
|
+
FfiConverterOptionalTypeStudentForignStudyInformation.write(value.forignStudy, into);
|
|
1504
|
+
}
|
|
1505
|
+
allocationSize(value) {
|
|
1506
|
+
return FfiConverterOptionalTypeStudentTeachingMajorInformation.allocationSize(value.teachingMajor) + FfiConverterOptionalTypeStudentTeachingPluralMajorInformation.allocationSize(value.teachingPluralMajor) + FfiConverterOptionalTypeStudentLifelongInformation.allocationSize(value.lifelong) + FfiConverterOptionalTypeStudentForignStudyInformation.allocationSize(value.forignStudy);
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
return new FFIConverter();
|
|
1510
|
+
})();
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* 학생의 종교 정보
|
|
1514
|
+
*/
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* Generated factory for {@link StudentReligion} record objects.
|
|
1518
|
+
*/
|
|
1519
|
+
const StudentReligion = exports.StudentReligion = (() => {
|
|
1520
|
+
const defaults = () => ({});
|
|
1521
|
+
const create = (() => {
|
|
1522
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1523
|
+
})();
|
|
1524
|
+
return Object.freeze({
|
|
1525
|
+
/**
|
|
1526
|
+
* Create a frozen instance of {@link StudentReligion}, with defaults specified
|
|
1527
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1528
|
+
*/
|
|
1529
|
+
create,
|
|
1530
|
+
/**
|
|
1531
|
+
* Create a frozen instance of {@link StudentReligion}, with defaults specified
|
|
1532
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1533
|
+
*/
|
|
1534
|
+
new: create,
|
|
1535
|
+
/**
|
|
1536
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1537
|
+
*/
|
|
1538
|
+
defaults: () => Object.freeze(defaults())
|
|
1539
|
+
});
|
|
1540
|
+
})();
|
|
1541
|
+
const FfiConverterTypeStudentReligion = (() => {
|
|
1542
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1543
|
+
read(from) {
|
|
1544
|
+
return {
|
|
1545
|
+
religionType: FfiConverterOptionalString.read(from),
|
|
1546
|
+
startDate: FfiConverterOptionalString.read(from),
|
|
1547
|
+
church: FfiConverterOptionalString.read(from),
|
|
1548
|
+
churchMan: FfiConverterOptionalString.read(from),
|
|
1549
|
+
baptismLevel: FfiConverterOptionalString.read(from),
|
|
1550
|
+
baptismGrp: FfiConverterOptionalString.read(from),
|
|
1551
|
+
serviceDepartment: FfiConverterOptionalString.read(from),
|
|
1552
|
+
serviceDepartmentTitle: FfiConverterOptionalString.read(from),
|
|
1553
|
+
churchAddress: FfiConverterOptionalString.read(from),
|
|
1554
|
+
singeub: FfiConverterOptionalString.read(from),
|
|
1555
|
+
baptismDate: FfiConverterOptionalString.read(from),
|
|
1556
|
+
baptismChurch: FfiConverterOptionalString.read(from),
|
|
1557
|
+
baptismMan: FfiConverterOptionalString.read(from),
|
|
1558
|
+
churchGrp: FfiConverterOptionalString.read(from)
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
write(value, into) {
|
|
1562
|
+
FfiConverterOptionalString.write(value.religionType, into);
|
|
1563
|
+
FfiConverterOptionalString.write(value.startDate, into);
|
|
1564
|
+
FfiConverterOptionalString.write(value.church, into);
|
|
1565
|
+
FfiConverterOptionalString.write(value.churchMan, into);
|
|
1566
|
+
FfiConverterOptionalString.write(value.baptismLevel, into);
|
|
1567
|
+
FfiConverterOptionalString.write(value.baptismGrp, into);
|
|
1568
|
+
FfiConverterOptionalString.write(value.serviceDepartment, into);
|
|
1569
|
+
FfiConverterOptionalString.write(value.serviceDepartmentTitle, into);
|
|
1570
|
+
FfiConverterOptionalString.write(value.churchAddress, into);
|
|
1571
|
+
FfiConverterOptionalString.write(value.singeub, into);
|
|
1572
|
+
FfiConverterOptionalString.write(value.baptismDate, into);
|
|
1573
|
+
FfiConverterOptionalString.write(value.baptismChurch, into);
|
|
1574
|
+
FfiConverterOptionalString.write(value.baptismMan, into);
|
|
1575
|
+
FfiConverterOptionalString.write(value.churchGrp, into);
|
|
1576
|
+
}
|
|
1577
|
+
allocationSize(value) {
|
|
1578
|
+
return FfiConverterOptionalString.allocationSize(value.religionType) + FfiConverterOptionalString.allocationSize(value.startDate) + FfiConverterOptionalString.allocationSize(value.church) + FfiConverterOptionalString.allocationSize(value.churchMan) + FfiConverterOptionalString.allocationSize(value.baptismLevel) + FfiConverterOptionalString.allocationSize(value.baptismGrp) + FfiConverterOptionalString.allocationSize(value.serviceDepartment) + FfiConverterOptionalString.allocationSize(value.serviceDepartmentTitle) + FfiConverterOptionalString.allocationSize(value.churchAddress) + FfiConverterOptionalString.allocationSize(value.singeub) + FfiConverterOptionalString.allocationSize(value.baptismDate) + FfiConverterOptionalString.allocationSize(value.baptismChurch) + FfiConverterOptionalString.allocationSize(value.baptismMan) + FfiConverterOptionalString.allocationSize(value.churchGrp);
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
return new FFIConverter();
|
|
1582
|
+
})();
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* 연구비 입금 계좌 정보
|
|
1586
|
+
*/
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* Generated factory for {@link StudentResearchBankAccount} record objects.
|
|
1590
|
+
*/
|
|
1591
|
+
const StudentResearchBankAccount = exports.StudentResearchBankAccount = (() => {
|
|
1592
|
+
const defaults = () => ({});
|
|
1593
|
+
const create = (() => {
|
|
1594
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1595
|
+
})();
|
|
1596
|
+
return Object.freeze({
|
|
1597
|
+
/**
|
|
1598
|
+
* Create a frozen instance of {@link StudentResearchBankAccount}, with defaults specified
|
|
1599
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1600
|
+
*/
|
|
1601
|
+
create,
|
|
1602
|
+
/**
|
|
1603
|
+
* Create a frozen instance of {@link StudentResearchBankAccount}, with defaults specified
|
|
1604
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1605
|
+
*/
|
|
1606
|
+
new: create,
|
|
1607
|
+
/**
|
|
1608
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1609
|
+
*/
|
|
1610
|
+
defaults: () => Object.freeze(defaults())
|
|
1611
|
+
});
|
|
1612
|
+
})();
|
|
1613
|
+
const FfiConverterTypeStudentResearchBankAccount = (() => {
|
|
1614
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1615
|
+
read(from) {
|
|
1616
|
+
return {
|
|
1617
|
+
bank: FfiConverterOptionalString.read(from),
|
|
1618
|
+
accountNumber: FfiConverterOptionalString.read(from),
|
|
1619
|
+
holder: FfiConverterOptionalString.read(from)
|
|
1620
|
+
};
|
|
1621
|
+
}
|
|
1622
|
+
write(value, into) {
|
|
1623
|
+
FfiConverterOptionalString.write(value.bank, into);
|
|
1624
|
+
FfiConverterOptionalString.write(value.accountNumber, into);
|
|
1625
|
+
FfiConverterOptionalString.write(value.holder, into);
|
|
1626
|
+
}
|
|
1627
|
+
allocationSize(value) {
|
|
1628
|
+
return FfiConverterOptionalString.allocationSize(value.bank) + FfiConverterOptionalString.allocationSize(value.accountNumber) + FfiConverterOptionalString.allocationSize(value.holder);
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
return new FFIConverter();
|
|
1632
|
+
})();
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* 교직이수(주전공) 정보
|
|
1636
|
+
*/
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Generated factory for {@link StudentTeachingMajorInformation} record objects.
|
|
1640
|
+
*/
|
|
1641
|
+
const StudentTeachingMajorInformation = exports.StudentTeachingMajorInformation = (() => {
|
|
1642
|
+
const defaults = () => ({});
|
|
1643
|
+
const create = (() => {
|
|
1644
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1645
|
+
})();
|
|
1646
|
+
return Object.freeze({
|
|
1647
|
+
/**
|
|
1648
|
+
* Create a frozen instance of {@link StudentTeachingMajorInformation}, with defaults specified
|
|
1649
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1650
|
+
*/
|
|
1651
|
+
create,
|
|
1652
|
+
/**
|
|
1653
|
+
* Create a frozen instance of {@link StudentTeachingMajorInformation}, with defaults specified
|
|
1654
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1655
|
+
*/
|
|
1656
|
+
new: create,
|
|
1657
|
+
/**
|
|
1658
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1659
|
+
*/
|
|
1660
|
+
defaults: () => Object.freeze(defaults())
|
|
1661
|
+
});
|
|
1662
|
+
})();
|
|
1663
|
+
const FfiConverterTypeStudentTeachingMajorInformation = (() => {
|
|
1664
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1665
|
+
read(from) {
|
|
1666
|
+
return {
|
|
1667
|
+
majorName: FfiConverterOptionalString.read(from),
|
|
1668
|
+
qualificationNumber: FfiConverterOptionalString.read(from),
|
|
1669
|
+
initiationDate: FfiConverterOptionalString.read(from),
|
|
1670
|
+
qualificationDate: FfiConverterOptionalString.read(from)
|
|
1671
|
+
};
|
|
1672
|
+
}
|
|
1673
|
+
write(value, into) {
|
|
1674
|
+
FfiConverterOptionalString.write(value.majorName, into);
|
|
1675
|
+
FfiConverterOptionalString.write(value.qualificationNumber, into);
|
|
1676
|
+
FfiConverterOptionalString.write(value.initiationDate, into);
|
|
1677
|
+
FfiConverterOptionalString.write(value.qualificationDate, into);
|
|
1678
|
+
}
|
|
1679
|
+
allocationSize(value) {
|
|
1680
|
+
return FfiConverterOptionalString.allocationSize(value.majorName) + FfiConverterOptionalString.allocationSize(value.qualificationNumber) + FfiConverterOptionalString.allocationSize(value.initiationDate) + FfiConverterOptionalString.allocationSize(value.qualificationDate);
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
return new FFIConverter();
|
|
1684
|
+
})();
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* 교직이수(복수전공) 정보
|
|
1688
|
+
*/
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Generated factory for {@link StudentTeachingPluralMajorInformation} record objects.
|
|
1692
|
+
*/
|
|
1693
|
+
const StudentTeachingPluralMajorInformation = exports.StudentTeachingPluralMajorInformation = (() => {
|
|
1694
|
+
const defaults = () => ({});
|
|
1695
|
+
const create = (() => {
|
|
1696
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1697
|
+
})();
|
|
1698
|
+
return Object.freeze({
|
|
1699
|
+
/**
|
|
1700
|
+
* Create a frozen instance of {@link StudentTeachingPluralMajorInformation}, with defaults specified
|
|
1701
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1702
|
+
*/
|
|
1703
|
+
create,
|
|
1704
|
+
/**
|
|
1705
|
+
* Create a frozen instance of {@link StudentTeachingPluralMajorInformation}, with defaults specified
|
|
1706
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1707
|
+
*/
|
|
1708
|
+
new: create,
|
|
1709
|
+
/**
|
|
1710
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1711
|
+
*/
|
|
1712
|
+
defaults: () => Object.freeze(defaults())
|
|
1713
|
+
});
|
|
1714
|
+
})();
|
|
1715
|
+
const FfiConverterTypeStudentTeachingPluralMajorInformation = (() => {
|
|
1716
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1717
|
+
read(from) {
|
|
1718
|
+
return {
|
|
1719
|
+
majorName: FfiConverterOptionalString.read(from),
|
|
1720
|
+
qualificationNumber: FfiConverterOptionalString.read(from),
|
|
1721
|
+
qualificationDate: FfiConverterOptionalString.read(from)
|
|
1722
|
+
};
|
|
1723
|
+
}
|
|
1724
|
+
write(value, into) {
|
|
1725
|
+
FfiConverterOptionalString.write(value.majorName, into);
|
|
1726
|
+
FfiConverterOptionalString.write(value.qualificationNumber, into);
|
|
1727
|
+
FfiConverterOptionalString.write(value.qualificationDate, into);
|
|
1728
|
+
}
|
|
1729
|
+
allocationSize(value) {
|
|
1730
|
+
return FfiConverterOptionalString.allocationSize(value.majorName) + FfiConverterOptionalString.allocationSize(value.qualificationNumber) + FfiConverterOptionalString.allocationSize(value.qualificationDate);
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
return new FFIConverter();
|
|
1734
|
+
})();
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* 편입정보 내 기록
|
|
1738
|
+
*/
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Generated factory for {@link StudentTransferRecord} record objects.
|
|
1742
|
+
*/
|
|
1743
|
+
const StudentTransferRecord = exports.StudentTransferRecord = (() => {
|
|
1744
|
+
const defaults = () => ({});
|
|
1745
|
+
const create = (() => {
|
|
1746
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1747
|
+
})();
|
|
1748
|
+
return Object.freeze({
|
|
1749
|
+
/**
|
|
1750
|
+
* Create a frozen instance of {@link StudentTransferRecord}, with defaults specified
|
|
1751
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1752
|
+
*/
|
|
1753
|
+
create,
|
|
1754
|
+
/**
|
|
1755
|
+
* Create a frozen instance of {@link StudentTransferRecord}, with defaults specified
|
|
1756
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1757
|
+
*/
|
|
1758
|
+
new: create,
|
|
1759
|
+
/**
|
|
1760
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1761
|
+
*/
|
|
1762
|
+
defaults: () => Object.freeze(defaults())
|
|
1763
|
+
});
|
|
1764
|
+
})();
|
|
1765
|
+
const FfiConverterTypeStudentTransferRecord = (() => {
|
|
1766
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1767
|
+
read(from) {
|
|
1768
|
+
return {
|
|
1769
|
+
isTransfer: FfiConverterString.read(from),
|
|
1770
|
+
admissionDate: FfiConverterString.read(from),
|
|
1771
|
+
admissionGrade: FfiConverterString.read(from),
|
|
1772
|
+
admissionTerm: FfiConverterString.read(from),
|
|
1773
|
+
acceptedCredit: FfiConverterString.read(from),
|
|
1774
|
+
acceptedTerms: FfiConverterString.read(from)
|
|
1775
|
+
};
|
|
1776
|
+
}
|
|
1777
|
+
write(value, into) {
|
|
1778
|
+
FfiConverterString.write(value.isTransfer, into);
|
|
1779
|
+
FfiConverterString.write(value.admissionDate, into);
|
|
1780
|
+
FfiConverterString.write(value.admissionGrade, into);
|
|
1781
|
+
FfiConverterString.write(value.admissionTerm, into);
|
|
1782
|
+
FfiConverterString.write(value.acceptedCredit, into);
|
|
1783
|
+
FfiConverterString.write(value.acceptedTerms, into);
|
|
1784
|
+
}
|
|
1785
|
+
allocationSize(value) {
|
|
1786
|
+
return FfiConverterString.allocationSize(value.isTransfer) + FfiConverterString.allocationSize(value.admissionDate) + FfiConverterString.allocationSize(value.admissionGrade) + FfiConverterString.allocationSize(value.admissionTerm) + FfiConverterString.allocationSize(value.acceptedCredit) + FfiConverterString.allocationSize(value.acceptedTerms);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
return new FFIConverter();
|
|
1790
|
+
})();
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* 학생 편입 정보
|
|
1794
|
+
*/
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Generated factory for {@link StudentTransferRecords} record objects.
|
|
1798
|
+
*/
|
|
1799
|
+
const StudentTransferRecords = exports.StudentTransferRecords = (() => {
|
|
1800
|
+
const defaults = () => ({});
|
|
1801
|
+
const create = (() => {
|
|
1802
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1803
|
+
})();
|
|
1804
|
+
return Object.freeze({
|
|
1805
|
+
/**
|
|
1806
|
+
* Create a frozen instance of {@link StudentTransferRecords}, with defaults specified
|
|
1807
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1808
|
+
*/
|
|
1809
|
+
create,
|
|
1810
|
+
/**
|
|
1811
|
+
* Create a frozen instance of {@link StudentTransferRecords}, with defaults specified
|
|
1812
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1813
|
+
*/
|
|
1814
|
+
new: create,
|
|
1815
|
+
/**
|
|
1816
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1817
|
+
*/
|
|
1818
|
+
defaults: () => Object.freeze(defaults())
|
|
1819
|
+
});
|
|
1820
|
+
})();
|
|
1821
|
+
const FfiConverterTypeStudentTransferRecords = (() => {
|
|
1822
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1823
|
+
read(from) {
|
|
1824
|
+
return {
|
|
1825
|
+
records: FfiConverterArrayTypeStudentTransferRecord.read(from)
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
write(value, into) {
|
|
1829
|
+
FfiConverterArrayTypeStudentTransferRecord.write(value.records, into);
|
|
1830
|
+
}
|
|
1831
|
+
allocationSize(value) {
|
|
1832
|
+
return FfiConverterArrayTypeStudentTransferRecord.allocationSize(value.records);
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
return new FFIConverter();
|
|
1836
|
+
})();
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* 학생의 직업 정보
|
|
1840
|
+
*/
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Generated factory for {@link StudentWorkInformation} record objects.
|
|
1844
|
+
*/
|
|
1845
|
+
const StudentWorkInformation = exports.StudentWorkInformation = (() => {
|
|
1846
|
+
const defaults = () => ({});
|
|
1847
|
+
const create = (() => {
|
|
1848
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1849
|
+
})();
|
|
1850
|
+
return Object.freeze({
|
|
1851
|
+
/**
|
|
1852
|
+
* Create a frozen instance of {@link StudentWorkInformation}, with defaults specified
|
|
1853
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1854
|
+
*/
|
|
1855
|
+
create,
|
|
1856
|
+
/**
|
|
1857
|
+
* Create a frozen instance of {@link StudentWorkInformation}, with defaults specified
|
|
1858
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1859
|
+
*/
|
|
1860
|
+
new: create,
|
|
1861
|
+
/**
|
|
1862
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1863
|
+
*/
|
|
1864
|
+
defaults: () => Object.freeze(defaults())
|
|
1865
|
+
});
|
|
1866
|
+
})();
|
|
1867
|
+
const FfiConverterTypeStudentWorkInformation = (() => {
|
|
1868
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1869
|
+
read(from) {
|
|
1870
|
+
return {
|
|
1871
|
+
job: FfiConverterOptionalString.read(from),
|
|
1872
|
+
publicOfficial: FfiConverterOptionalString.read(from),
|
|
1873
|
+
companyName: FfiConverterOptionalString.read(from),
|
|
1874
|
+
departmentName: FfiConverterOptionalString.read(from),
|
|
1875
|
+
title: FfiConverterOptionalString.read(from),
|
|
1876
|
+
zipCode: FfiConverterOptionalString.read(from),
|
|
1877
|
+
address: FfiConverterOptionalString.read(from),
|
|
1878
|
+
specificAddress: FfiConverterOptionalString.read(from),
|
|
1879
|
+
telNumber: FfiConverterOptionalString.read(from),
|
|
1880
|
+
faxNumber: FfiConverterOptionalString.read(from)
|
|
1881
|
+
};
|
|
1882
|
+
}
|
|
1883
|
+
write(value, into) {
|
|
1884
|
+
FfiConverterOptionalString.write(value.job, into);
|
|
1885
|
+
FfiConverterOptionalString.write(value.publicOfficial, into);
|
|
1886
|
+
FfiConverterOptionalString.write(value.companyName, into);
|
|
1887
|
+
FfiConverterOptionalString.write(value.departmentName, into);
|
|
1888
|
+
FfiConverterOptionalString.write(value.title, into);
|
|
1889
|
+
FfiConverterOptionalString.write(value.zipCode, into);
|
|
1890
|
+
FfiConverterOptionalString.write(value.address, into);
|
|
1891
|
+
FfiConverterOptionalString.write(value.specificAddress, into);
|
|
1892
|
+
FfiConverterOptionalString.write(value.telNumber, into);
|
|
1893
|
+
FfiConverterOptionalString.write(value.faxNumber, into);
|
|
1894
|
+
}
|
|
1895
|
+
allocationSize(value) {
|
|
1896
|
+
return FfiConverterOptionalString.allocationSize(value.job) + FfiConverterOptionalString.allocationSize(value.publicOfficial) + FfiConverterOptionalString.allocationSize(value.companyName) + FfiConverterOptionalString.allocationSize(value.departmentName) + FfiConverterOptionalString.allocationSize(value.title) + FfiConverterOptionalString.allocationSize(value.zipCode) + FfiConverterOptionalString.allocationSize(value.address) + FfiConverterOptionalString.allocationSize(value.specificAddress) + FfiConverterOptionalString.allocationSize(value.telNumber) + FfiConverterOptionalString.allocationSize(value.faxNumber);
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
return new FFIConverter();
|
|
1900
|
+
})();
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* uniffi 지원을 위한 u32 Pair입니다.
|
|
1904
|
+
*/
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* Generated factory for {@link UnsignedIntPair} record objects.
|
|
1908
|
+
*/
|
|
1909
|
+
const UnsignedIntPair = exports.UnsignedIntPair = (() => {
|
|
1910
|
+
const defaults = () => ({});
|
|
1911
|
+
const create = (() => {
|
|
1912
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
1913
|
+
})();
|
|
1914
|
+
return Object.freeze({
|
|
1915
|
+
/**
|
|
1916
|
+
* Create a frozen instance of {@link UnsignedIntPair}, with defaults specified
|
|
1917
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1918
|
+
*/
|
|
1919
|
+
create,
|
|
1920
|
+
/**
|
|
1921
|
+
* Create a frozen instance of {@link UnsignedIntPair}, with defaults specified
|
|
1922
|
+
* in Rust, in the {@link rusaint} crate.
|
|
1923
|
+
*/
|
|
1924
|
+
new: create,
|
|
1925
|
+
/**
|
|
1926
|
+
* Defaults specified in the {@link rusaint} crate.
|
|
1927
|
+
*/
|
|
1928
|
+
defaults: () => Object.freeze(defaults())
|
|
1929
|
+
});
|
|
1930
|
+
})();
|
|
1931
|
+
const FfiConverterTypeUnsignedIntPair = (() => {
|
|
1932
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
1933
|
+
read(from) {
|
|
1934
|
+
return {
|
|
1935
|
+
first: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
1936
|
+
second: _uniffiBindgenReactNative.FfiConverterUInt32.read(from)
|
|
1937
|
+
};
|
|
1938
|
+
}
|
|
1939
|
+
write(value, into) {
|
|
1940
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.first, into);
|
|
1941
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.second, into);
|
|
1942
|
+
}
|
|
1943
|
+
allocationSize(value) {
|
|
1944
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.first) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.second);
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
return new FFIConverter();
|
|
1948
|
+
})();
|
|
1949
|
+
const stringConverter = {
|
|
1950
|
+
stringToBytes: s => uniffiCaller.rustCall(status => (0, _rusaintFfi.default)().ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(s, status)),
|
|
1951
|
+
bytesToString: ab => uniffiCaller.rustCall(status => (0, _rusaintFfi.default)().ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(ab, status)),
|
|
1952
|
+
stringByteLength: s => uniffiCaller.rustCall(status => (0, _rusaintFfi.default)().ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length(s, status))
|
|
1953
|
+
};
|
|
1954
|
+
const FfiConverterString = (0, _uniffiBindgenReactNative.uniffiCreateFfiConverterString)(stringConverter);
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* Typealias from the type name used in the UDL file to the builtin type. This
|
|
1958
|
+
* is needed because the UDL type name is used in function/method signatures.
|
|
1959
|
+
*/
|
|
1960
|
+
|
|
1961
|
+
// FfiConverter for U32Pair, a type alias for UnsignedIntPair.
|
|
1962
|
+
const FfiConverterTypeU32Pair = FfiConverterTypeUnsignedIntPair;
|
|
1963
|
+
|
|
1964
|
+
// Enum: ClassScore
|
|
1965
|
+
let ClassScore_Tags = exports.ClassScore_Tags = /*#__PURE__*/function (ClassScore_Tags) {
|
|
1966
|
+
ClassScore_Tags["Pass"] = "Pass";
|
|
1967
|
+
ClassScore_Tags["Failed"] = "Failed";
|
|
1968
|
+
ClassScore_Tags["Score"] = "Score";
|
|
1969
|
+
ClassScore_Tags["Empty"] = "Empty";
|
|
1970
|
+
return ClassScore_Tags;
|
|
1971
|
+
}({});
|
|
1972
|
+
/**
|
|
1973
|
+
* 과목 점수
|
|
1974
|
+
*/
|
|
1975
|
+
const ClassScore = exports.ClassScore = (() => {
|
|
1976
|
+
/**
|
|
1977
|
+
* P/F 과목의 Pass
|
|
1978
|
+
*/
|
|
1979
|
+
class Pass_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
1980
|
+
/**
|
|
1981
|
+
* @private
|
|
1982
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1983
|
+
*/
|
|
1984
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ClassScore';
|
|
1985
|
+
tag = ClassScore_Tags.Pass;
|
|
1986
|
+
constructor() {
|
|
1987
|
+
super('ClassScore', 'Pass');
|
|
1988
|
+
}
|
|
1989
|
+
static new() {
|
|
1990
|
+
return new Pass_();
|
|
1991
|
+
}
|
|
1992
|
+
static instanceOf(obj) {
|
|
1993
|
+
return obj.tag === ClassScore_Tags.Pass;
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
/**
|
|
1997
|
+
* P/F 과목의 Failed
|
|
1998
|
+
*/
|
|
1999
|
+
class Failed_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2000
|
+
/**
|
|
2001
|
+
* @private
|
|
2002
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2003
|
+
*/
|
|
2004
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ClassScore';
|
|
2005
|
+
tag = ClassScore_Tags.Failed;
|
|
2006
|
+
constructor() {
|
|
2007
|
+
super('ClassScore', 'Failed');
|
|
2008
|
+
}
|
|
2009
|
+
static new() {
|
|
2010
|
+
return new Failed_();
|
|
2011
|
+
}
|
|
2012
|
+
static instanceOf(obj) {
|
|
2013
|
+
return obj.tag === ClassScore_Tags.Failed;
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
/**
|
|
2017
|
+
* 일반 과목의 점수
|
|
2018
|
+
*/
|
|
2019
|
+
class Score_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2020
|
+
/**
|
|
2021
|
+
* @private
|
|
2022
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2023
|
+
*/
|
|
2024
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ClassScore';
|
|
2025
|
+
tag = ClassScore_Tags.Score;
|
|
2026
|
+
constructor(v0) {
|
|
2027
|
+
super('ClassScore', 'Score');
|
|
2028
|
+
this.inner = Object.freeze([v0]);
|
|
2029
|
+
}
|
|
2030
|
+
static new(v0) {
|
|
2031
|
+
return new Score_(v0);
|
|
2032
|
+
}
|
|
2033
|
+
static instanceOf(obj) {
|
|
2034
|
+
return obj.tag === ClassScore_Tags.Score;
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* 성적 없음
|
|
2039
|
+
*/
|
|
2040
|
+
class Empty_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2041
|
+
/**
|
|
2042
|
+
* @private
|
|
2043
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2044
|
+
*/
|
|
2045
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ClassScore';
|
|
2046
|
+
tag = ClassScore_Tags.Empty;
|
|
2047
|
+
constructor() {
|
|
2048
|
+
super('ClassScore', 'Empty');
|
|
2049
|
+
}
|
|
2050
|
+
static new() {
|
|
2051
|
+
return new Empty_();
|
|
2052
|
+
}
|
|
2053
|
+
static instanceOf(obj) {
|
|
2054
|
+
return obj.tag === ClassScore_Tags.Empty;
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
function instanceOf(obj) {
|
|
2058
|
+
return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'ClassScore';
|
|
2059
|
+
}
|
|
2060
|
+
return Object.freeze({
|
|
2061
|
+
instanceOf,
|
|
2062
|
+
Pass: Pass_,
|
|
2063
|
+
Failed: Failed_,
|
|
2064
|
+
Score: Score_,
|
|
2065
|
+
Empty: Empty_
|
|
2066
|
+
});
|
|
2067
|
+
})();
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* 과목 점수
|
|
2071
|
+
*/
|
|
2072
|
+
|
|
2073
|
+
// FfiConverter for enum ClassScore
|
|
2074
|
+
const FfiConverterTypeClassScore = (() => {
|
|
2075
|
+
const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
2076
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
2077
|
+
read(from) {
|
|
2078
|
+
switch (ordinalConverter.read(from)) {
|
|
2079
|
+
case 1:
|
|
2080
|
+
return new ClassScore.Pass();
|
|
2081
|
+
case 2:
|
|
2082
|
+
return new ClassScore.Failed();
|
|
2083
|
+
case 3:
|
|
2084
|
+
return new ClassScore.Score(_uniffiBindgenReactNative.FfiConverterUInt32.read(from));
|
|
2085
|
+
case 4:
|
|
2086
|
+
return new ClassScore.Empty();
|
|
2087
|
+
default:
|
|
2088
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
write(value, into) {
|
|
2092
|
+
switch (value.tag) {
|
|
2093
|
+
case ClassScore_Tags.Pass:
|
|
2094
|
+
{
|
|
2095
|
+
ordinalConverter.write(1, into);
|
|
2096
|
+
return;
|
|
2097
|
+
}
|
|
2098
|
+
case ClassScore_Tags.Failed:
|
|
2099
|
+
{
|
|
2100
|
+
ordinalConverter.write(2, into);
|
|
2101
|
+
return;
|
|
2102
|
+
}
|
|
2103
|
+
case ClassScore_Tags.Score:
|
|
2104
|
+
{
|
|
2105
|
+
ordinalConverter.write(3, into);
|
|
2106
|
+
const inner = value.inner;
|
|
2107
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(inner[0], into);
|
|
2108
|
+
return;
|
|
2109
|
+
}
|
|
2110
|
+
case ClassScore_Tags.Empty:
|
|
2111
|
+
{
|
|
2112
|
+
ordinalConverter.write(4, into);
|
|
2113
|
+
return;
|
|
2114
|
+
}
|
|
2115
|
+
default:
|
|
2116
|
+
// Throwing from here means that ClassScore_Tags hasn't matched an ordinal.
|
|
2117
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
allocationSize(value) {
|
|
2121
|
+
switch (value.tag) {
|
|
2122
|
+
case ClassScore_Tags.Pass:
|
|
2123
|
+
{
|
|
2124
|
+
return ordinalConverter.allocationSize(1);
|
|
2125
|
+
}
|
|
2126
|
+
case ClassScore_Tags.Failed:
|
|
2127
|
+
{
|
|
2128
|
+
return ordinalConverter.allocationSize(2);
|
|
2129
|
+
}
|
|
2130
|
+
case ClassScore_Tags.Score:
|
|
2131
|
+
{
|
|
2132
|
+
const inner = value.inner;
|
|
2133
|
+
let size = ordinalConverter.allocationSize(3);
|
|
2134
|
+
size += _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner[0]);
|
|
2135
|
+
return size;
|
|
2136
|
+
}
|
|
2137
|
+
case ClassScore_Tags.Empty:
|
|
2138
|
+
{
|
|
2139
|
+
return ordinalConverter.allocationSize(4);
|
|
2140
|
+
}
|
|
2141
|
+
default:
|
|
2142
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
return new FFIConverter();
|
|
2147
|
+
})();
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* 학위과정
|
|
2151
|
+
*/
|
|
2152
|
+
let CourseType = exports.CourseType = /*#__PURE__*/function (CourseType) {
|
|
2153
|
+
/**
|
|
2154
|
+
* 박사과정
|
|
2155
|
+
*/
|
|
2156
|
+
CourseType[CourseType["Phd"] = 0] = "Phd";
|
|
2157
|
+
/**
|
|
2158
|
+
* 석사과정
|
|
2159
|
+
*/
|
|
2160
|
+
CourseType[CourseType["Master"] = 1] = "Master";
|
|
2161
|
+
/**
|
|
2162
|
+
* 석박과정
|
|
2163
|
+
*/
|
|
2164
|
+
CourseType[CourseType["PhdIntergrated"] = 2] = "PhdIntergrated";
|
|
2165
|
+
/**
|
|
2166
|
+
* 연구과정
|
|
2167
|
+
*/
|
|
2168
|
+
CourseType[CourseType["Research"] = 3] = "Research";
|
|
2169
|
+
/**
|
|
2170
|
+
* 학사과정
|
|
2171
|
+
*/
|
|
2172
|
+
CourseType[CourseType["Bachelor"] = 4] = "Bachelor";
|
|
2173
|
+
return CourseType;
|
|
2174
|
+
}({});
|
|
2175
|
+
const FfiConverterTypeCourseType = (() => {
|
|
2176
|
+
const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
2177
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
2178
|
+
read(from) {
|
|
2179
|
+
switch (ordinalConverter.read(from)) {
|
|
2180
|
+
case 1:
|
|
2181
|
+
return CourseType.Phd;
|
|
2182
|
+
case 2:
|
|
2183
|
+
return CourseType.Master;
|
|
2184
|
+
case 3:
|
|
2185
|
+
return CourseType.PhdIntergrated;
|
|
2186
|
+
case 4:
|
|
2187
|
+
return CourseType.Research;
|
|
2188
|
+
case 5:
|
|
2189
|
+
return CourseType.Bachelor;
|
|
2190
|
+
default:
|
|
2191
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
write(value, into) {
|
|
2195
|
+
switch (value) {
|
|
2196
|
+
case CourseType.Phd:
|
|
2197
|
+
return ordinalConverter.write(1, into);
|
|
2198
|
+
case CourseType.Master:
|
|
2199
|
+
return ordinalConverter.write(2, into);
|
|
2200
|
+
case CourseType.PhdIntergrated:
|
|
2201
|
+
return ordinalConverter.write(3, into);
|
|
2202
|
+
case CourseType.Research:
|
|
2203
|
+
return ordinalConverter.write(4, into);
|
|
2204
|
+
case CourseType.Bachelor:
|
|
2205
|
+
return ordinalConverter.write(5, into);
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
allocationSize(value) {
|
|
2209
|
+
return ordinalConverter.allocationSize(0);
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
return new FFIConverter();
|
|
2213
|
+
})();
|
|
2214
|
+
|
|
2215
|
+
// Enum: LectureCategory
|
|
2216
|
+
let LectureCategory_Tags = exports.LectureCategory_Tags = /*#__PURE__*/function (LectureCategory_Tags) {
|
|
2217
|
+
LectureCategory_Tags["Major"] = "Major";
|
|
2218
|
+
LectureCategory_Tags["RequiredElective"] = "RequiredElective";
|
|
2219
|
+
LectureCategory_Tags["OptionalElective"] = "OptionalElective";
|
|
2220
|
+
LectureCategory_Tags["Chapel"] = "Chapel";
|
|
2221
|
+
LectureCategory_Tags["Education"] = "Education";
|
|
2222
|
+
LectureCategory_Tags["Graduated"] = "Graduated";
|
|
2223
|
+
LectureCategory_Tags["ConnectedMajor"] = "ConnectedMajor";
|
|
2224
|
+
LectureCategory_Tags["UnitedMajor"] = "UnitedMajor";
|
|
2225
|
+
LectureCategory_Tags["FindByProfessor"] = "FindByProfessor";
|
|
2226
|
+
LectureCategory_Tags["FindByLecture"] = "FindByLecture";
|
|
2227
|
+
LectureCategory_Tags["RecognizedOtherMajor"] = "RecognizedOtherMajor";
|
|
2228
|
+
LectureCategory_Tags["Cyber"] = "Cyber";
|
|
2229
|
+
return LectureCategory_Tags;
|
|
2230
|
+
}({});
|
|
2231
|
+
/**
|
|
2232
|
+
* 강의를 찾을 때 사용하는 강의 카테고리
|
|
2233
|
+
*/
|
|
2234
|
+
const LectureCategory = exports.LectureCategory = (() => {
|
|
2235
|
+
/**
|
|
2236
|
+
* 전공 강의
|
|
2237
|
+
*/
|
|
2238
|
+
class Major_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2239
|
+
/**
|
|
2240
|
+
* @private
|
|
2241
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2242
|
+
*/
|
|
2243
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2244
|
+
tag = LectureCategory_Tags.Major;
|
|
2245
|
+
constructor(inner) {
|
|
2246
|
+
super('LectureCategory', 'Major');
|
|
2247
|
+
this.inner = Object.freeze(inner);
|
|
2248
|
+
}
|
|
2249
|
+
static new(inner) {
|
|
2250
|
+
return new Major_(inner);
|
|
2251
|
+
}
|
|
2252
|
+
static instanceOf(obj) {
|
|
2253
|
+
return obj.tag === LectureCategory_Tags.Major;
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
* 교양필수
|
|
2258
|
+
*/
|
|
2259
|
+
class RequiredElective_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2260
|
+
/**
|
|
2261
|
+
* @private
|
|
2262
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2263
|
+
*/
|
|
2264
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2265
|
+
tag = LectureCategory_Tags.RequiredElective;
|
|
2266
|
+
constructor(inner) {
|
|
2267
|
+
super('LectureCategory', 'RequiredElective');
|
|
2268
|
+
this.inner = Object.freeze(inner);
|
|
2269
|
+
}
|
|
2270
|
+
static new(inner) {
|
|
2271
|
+
return new RequiredElective_(inner);
|
|
2272
|
+
}
|
|
2273
|
+
static instanceOf(obj) {
|
|
2274
|
+
return obj.tag === LectureCategory_Tags.RequiredElective;
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
/**
|
|
2278
|
+
* 교양선택
|
|
2279
|
+
*/
|
|
2280
|
+
class OptionalElective_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2281
|
+
/**
|
|
2282
|
+
* @private
|
|
2283
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2284
|
+
*/
|
|
2285
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2286
|
+
tag = LectureCategory_Tags.OptionalElective;
|
|
2287
|
+
constructor(inner) {
|
|
2288
|
+
super('LectureCategory', 'OptionalElective');
|
|
2289
|
+
this.inner = Object.freeze(inner);
|
|
2290
|
+
}
|
|
2291
|
+
static new(inner) {
|
|
2292
|
+
return new OptionalElective_(inner);
|
|
2293
|
+
}
|
|
2294
|
+
static instanceOf(obj) {
|
|
2295
|
+
return obj.tag === LectureCategory_Tags.OptionalElective;
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
/**
|
|
2299
|
+
* 채플
|
|
2300
|
+
*/
|
|
2301
|
+
class Chapel_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2302
|
+
/**
|
|
2303
|
+
* @private
|
|
2304
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2305
|
+
*/
|
|
2306
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2307
|
+
tag = LectureCategory_Tags.Chapel;
|
|
2308
|
+
constructor(inner) {
|
|
2309
|
+
super('LectureCategory', 'Chapel');
|
|
2310
|
+
this.inner = Object.freeze(inner);
|
|
2311
|
+
}
|
|
2312
|
+
static new(inner) {
|
|
2313
|
+
return new Chapel_(inner);
|
|
2314
|
+
}
|
|
2315
|
+
static instanceOf(obj) {
|
|
2316
|
+
return obj.tag === LectureCategory_Tags.Chapel;
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* 교직
|
|
2321
|
+
*/
|
|
2322
|
+
class Education_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2323
|
+
/**
|
|
2324
|
+
* @private
|
|
2325
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2326
|
+
*/
|
|
2327
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2328
|
+
tag = LectureCategory_Tags.Education;
|
|
2329
|
+
constructor() {
|
|
2330
|
+
super('LectureCategory', 'Education');
|
|
2331
|
+
}
|
|
2332
|
+
static new() {
|
|
2333
|
+
return new Education_();
|
|
2334
|
+
}
|
|
2335
|
+
static instanceOf(obj) {
|
|
2336
|
+
return obj.tag === LectureCategory_Tags.Education;
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
/**
|
|
2340
|
+
* 대학원
|
|
2341
|
+
*/
|
|
2342
|
+
class Graduated_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2343
|
+
/**
|
|
2344
|
+
* @private
|
|
2345
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2346
|
+
*/
|
|
2347
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2348
|
+
tag = LectureCategory_Tags.Graduated;
|
|
2349
|
+
constructor(inner) {
|
|
2350
|
+
super('LectureCategory', 'Graduated');
|
|
2351
|
+
this.inner = Object.freeze(inner);
|
|
2352
|
+
}
|
|
2353
|
+
static new(inner) {
|
|
2354
|
+
return new Graduated_(inner);
|
|
2355
|
+
}
|
|
2356
|
+
static instanceOf(obj) {
|
|
2357
|
+
return obj.tag === LectureCategory_Tags.Graduated;
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
/**
|
|
2361
|
+
* 연계전공
|
|
2362
|
+
*/
|
|
2363
|
+
class ConnectedMajor_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2364
|
+
/**
|
|
2365
|
+
* @private
|
|
2366
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2367
|
+
*/
|
|
2368
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2369
|
+
tag = LectureCategory_Tags.ConnectedMajor;
|
|
2370
|
+
constructor(inner) {
|
|
2371
|
+
super('LectureCategory', 'ConnectedMajor');
|
|
2372
|
+
this.inner = Object.freeze(inner);
|
|
2373
|
+
}
|
|
2374
|
+
static new(inner) {
|
|
2375
|
+
return new ConnectedMajor_(inner);
|
|
2376
|
+
}
|
|
2377
|
+
static instanceOf(obj) {
|
|
2378
|
+
return obj.tag === LectureCategory_Tags.ConnectedMajor;
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* 융합전공
|
|
2383
|
+
*/
|
|
2384
|
+
class UnitedMajor_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2385
|
+
/**
|
|
2386
|
+
* @private
|
|
2387
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2388
|
+
*/
|
|
2389
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2390
|
+
tag = LectureCategory_Tags.UnitedMajor;
|
|
2391
|
+
constructor(inner) {
|
|
2392
|
+
super('LectureCategory', 'UnitedMajor');
|
|
2393
|
+
this.inner = Object.freeze(inner);
|
|
2394
|
+
}
|
|
2395
|
+
static new(inner) {
|
|
2396
|
+
return new UnitedMajor_(inner);
|
|
2397
|
+
}
|
|
2398
|
+
static instanceOf(obj) {
|
|
2399
|
+
return obj.tag === LectureCategory_Tags.UnitedMajor;
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
/**
|
|
2403
|
+
* 교수명 검색
|
|
2404
|
+
*/
|
|
2405
|
+
class FindByProfessor_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2406
|
+
/**
|
|
2407
|
+
* @private
|
|
2408
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2409
|
+
*/
|
|
2410
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2411
|
+
tag = LectureCategory_Tags.FindByProfessor;
|
|
2412
|
+
constructor(inner) {
|
|
2413
|
+
super('LectureCategory', 'FindByProfessor');
|
|
2414
|
+
this.inner = Object.freeze(inner);
|
|
2415
|
+
}
|
|
2416
|
+
static new(inner) {
|
|
2417
|
+
return new FindByProfessor_(inner);
|
|
2418
|
+
}
|
|
2419
|
+
static instanceOf(obj) {
|
|
2420
|
+
return obj.tag === LectureCategory_Tags.FindByProfessor;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
/**
|
|
2424
|
+
* 과목명 검색
|
|
2425
|
+
*/
|
|
2426
|
+
class FindByLecture_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2427
|
+
/**
|
|
2428
|
+
* @private
|
|
2429
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2430
|
+
*/
|
|
2431
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2432
|
+
tag = LectureCategory_Tags.FindByLecture;
|
|
2433
|
+
constructor(inner) {
|
|
2434
|
+
super('LectureCategory', 'FindByLecture');
|
|
2435
|
+
this.inner = Object.freeze(inner);
|
|
2436
|
+
}
|
|
2437
|
+
static new(inner) {
|
|
2438
|
+
return new FindByLecture_(inner);
|
|
2439
|
+
}
|
|
2440
|
+
static instanceOf(obj) {
|
|
2441
|
+
return obj.tag === LectureCategory_Tags.FindByLecture;
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
/**
|
|
2445
|
+
* 타전공인정과목
|
|
2446
|
+
*/
|
|
2447
|
+
class RecognizedOtherMajor_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2448
|
+
/**
|
|
2449
|
+
* @private
|
|
2450
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2451
|
+
*/
|
|
2452
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2453
|
+
tag = LectureCategory_Tags.RecognizedOtherMajor;
|
|
2454
|
+
constructor(inner) {
|
|
2455
|
+
super('LectureCategory', 'RecognizedOtherMajor');
|
|
2456
|
+
this.inner = Object.freeze(inner);
|
|
2457
|
+
}
|
|
2458
|
+
static new(inner) {
|
|
2459
|
+
return new RecognizedOtherMajor_(inner);
|
|
2460
|
+
}
|
|
2461
|
+
static instanceOf(obj) {
|
|
2462
|
+
return obj.tag === LectureCategory_Tags.RecognizedOtherMajor;
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
/**
|
|
2466
|
+
* 숭실사이버대
|
|
2467
|
+
*/
|
|
2468
|
+
class Cyber_ extends _uniffiBindgenReactNative.UniffiEnum {
|
|
2469
|
+
/**
|
|
2470
|
+
* @private
|
|
2471
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2472
|
+
*/
|
|
2473
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategory';
|
|
2474
|
+
tag = LectureCategory_Tags.Cyber;
|
|
2475
|
+
constructor() {
|
|
2476
|
+
super('LectureCategory', 'Cyber');
|
|
2477
|
+
}
|
|
2478
|
+
static new() {
|
|
2479
|
+
return new Cyber_();
|
|
2480
|
+
}
|
|
2481
|
+
static instanceOf(obj) {
|
|
2482
|
+
return obj.tag === LectureCategory_Tags.Cyber;
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
function instanceOf(obj) {
|
|
2486
|
+
return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'LectureCategory';
|
|
2487
|
+
}
|
|
2488
|
+
return Object.freeze({
|
|
2489
|
+
instanceOf,
|
|
2490
|
+
Major: Major_,
|
|
2491
|
+
RequiredElective: RequiredElective_,
|
|
2492
|
+
OptionalElective: OptionalElective_,
|
|
2493
|
+
Chapel: Chapel_,
|
|
2494
|
+
Education: Education_,
|
|
2495
|
+
Graduated: Graduated_,
|
|
2496
|
+
ConnectedMajor: ConnectedMajor_,
|
|
2497
|
+
UnitedMajor: UnitedMajor_,
|
|
2498
|
+
FindByProfessor: FindByProfessor_,
|
|
2499
|
+
FindByLecture: FindByLecture_,
|
|
2500
|
+
RecognizedOtherMajor: RecognizedOtherMajor_,
|
|
2501
|
+
Cyber: Cyber_
|
|
2502
|
+
});
|
|
2503
|
+
})();
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* 강의를 찾을 때 사용하는 강의 카테고리
|
|
2507
|
+
*/
|
|
2508
|
+
|
|
2509
|
+
// FfiConverter for enum LectureCategory
|
|
2510
|
+
const FfiConverterTypeLectureCategory = (() => {
|
|
2511
|
+
const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
2512
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
2513
|
+
read(from) {
|
|
2514
|
+
switch (ordinalConverter.read(from)) {
|
|
2515
|
+
case 1:
|
|
2516
|
+
return new LectureCategory.Major({
|
|
2517
|
+
collage: FfiConverterString.read(from),
|
|
2518
|
+
department: FfiConverterString.read(from),
|
|
2519
|
+
major: FfiConverterOptionalString.read(from)
|
|
2520
|
+
});
|
|
2521
|
+
case 2:
|
|
2522
|
+
return new LectureCategory.RequiredElective({
|
|
2523
|
+
lectureName: FfiConverterString.read(from)
|
|
2524
|
+
});
|
|
2525
|
+
case 3:
|
|
2526
|
+
return new LectureCategory.OptionalElective({
|
|
2527
|
+
category: FfiConverterString.read(from)
|
|
2528
|
+
});
|
|
2529
|
+
case 4:
|
|
2530
|
+
return new LectureCategory.Chapel({
|
|
2531
|
+
lectureName: FfiConverterString.read(from)
|
|
2532
|
+
});
|
|
2533
|
+
case 5:
|
|
2534
|
+
return new LectureCategory.Education();
|
|
2535
|
+
case 6:
|
|
2536
|
+
return new LectureCategory.Graduated({
|
|
2537
|
+
collage: FfiConverterString.read(from),
|
|
2538
|
+
department: FfiConverterString.read(from)
|
|
2539
|
+
});
|
|
2540
|
+
case 7:
|
|
2541
|
+
return new LectureCategory.ConnectedMajor({
|
|
2542
|
+
major: FfiConverterString.read(from)
|
|
2543
|
+
});
|
|
2544
|
+
case 8:
|
|
2545
|
+
return new LectureCategory.UnitedMajor({
|
|
2546
|
+
major: FfiConverterString.read(from)
|
|
2547
|
+
});
|
|
2548
|
+
case 9:
|
|
2549
|
+
return new LectureCategory.FindByProfessor({
|
|
2550
|
+
keyword: FfiConverterString.read(from)
|
|
2551
|
+
});
|
|
2552
|
+
case 10:
|
|
2553
|
+
return new LectureCategory.FindByLecture({
|
|
2554
|
+
keyword: FfiConverterString.read(from)
|
|
2555
|
+
});
|
|
2556
|
+
case 11:
|
|
2557
|
+
return new LectureCategory.RecognizedOtherMajor({
|
|
2558
|
+
collage: FfiConverterString.read(from),
|
|
2559
|
+
department: FfiConverterString.read(from),
|
|
2560
|
+
major: FfiConverterOptionalString.read(from)
|
|
2561
|
+
});
|
|
2562
|
+
case 12:
|
|
2563
|
+
return new LectureCategory.Cyber();
|
|
2564
|
+
default:
|
|
2565
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
write(value, into) {
|
|
2569
|
+
switch (value.tag) {
|
|
2570
|
+
case LectureCategory_Tags.Major:
|
|
2571
|
+
{
|
|
2572
|
+
ordinalConverter.write(1, into);
|
|
2573
|
+
const inner = value.inner;
|
|
2574
|
+
FfiConverterString.write(inner.collage, into);
|
|
2575
|
+
FfiConverterString.write(inner.department, into);
|
|
2576
|
+
FfiConverterOptionalString.write(inner.major, into);
|
|
2577
|
+
return;
|
|
2578
|
+
}
|
|
2579
|
+
case LectureCategory_Tags.RequiredElective:
|
|
2580
|
+
{
|
|
2581
|
+
ordinalConverter.write(2, into);
|
|
2582
|
+
const inner = value.inner;
|
|
2583
|
+
FfiConverterString.write(inner.lectureName, into);
|
|
2584
|
+
return;
|
|
2585
|
+
}
|
|
2586
|
+
case LectureCategory_Tags.OptionalElective:
|
|
2587
|
+
{
|
|
2588
|
+
ordinalConverter.write(3, into);
|
|
2589
|
+
const inner = value.inner;
|
|
2590
|
+
FfiConverterString.write(inner.category, into);
|
|
2591
|
+
return;
|
|
2592
|
+
}
|
|
2593
|
+
case LectureCategory_Tags.Chapel:
|
|
2594
|
+
{
|
|
2595
|
+
ordinalConverter.write(4, into);
|
|
2596
|
+
const inner = value.inner;
|
|
2597
|
+
FfiConverterString.write(inner.lectureName, into);
|
|
2598
|
+
return;
|
|
2599
|
+
}
|
|
2600
|
+
case LectureCategory_Tags.Education:
|
|
2601
|
+
{
|
|
2602
|
+
ordinalConverter.write(5, into);
|
|
2603
|
+
return;
|
|
2604
|
+
}
|
|
2605
|
+
case LectureCategory_Tags.Graduated:
|
|
2606
|
+
{
|
|
2607
|
+
ordinalConverter.write(6, into);
|
|
2608
|
+
const inner = value.inner;
|
|
2609
|
+
FfiConverterString.write(inner.collage, into);
|
|
2610
|
+
FfiConverterString.write(inner.department, into);
|
|
2611
|
+
return;
|
|
2612
|
+
}
|
|
2613
|
+
case LectureCategory_Tags.ConnectedMajor:
|
|
2614
|
+
{
|
|
2615
|
+
ordinalConverter.write(7, into);
|
|
2616
|
+
const inner = value.inner;
|
|
2617
|
+
FfiConverterString.write(inner.major, into);
|
|
2618
|
+
return;
|
|
2619
|
+
}
|
|
2620
|
+
case LectureCategory_Tags.UnitedMajor:
|
|
2621
|
+
{
|
|
2622
|
+
ordinalConverter.write(8, into);
|
|
2623
|
+
const inner = value.inner;
|
|
2624
|
+
FfiConverterString.write(inner.major, into);
|
|
2625
|
+
return;
|
|
2626
|
+
}
|
|
2627
|
+
case LectureCategory_Tags.FindByProfessor:
|
|
2628
|
+
{
|
|
2629
|
+
ordinalConverter.write(9, into);
|
|
2630
|
+
const inner = value.inner;
|
|
2631
|
+
FfiConverterString.write(inner.keyword, into);
|
|
2632
|
+
return;
|
|
2633
|
+
}
|
|
2634
|
+
case LectureCategory_Tags.FindByLecture:
|
|
2635
|
+
{
|
|
2636
|
+
ordinalConverter.write(10, into);
|
|
2637
|
+
const inner = value.inner;
|
|
2638
|
+
FfiConverterString.write(inner.keyword, into);
|
|
2639
|
+
return;
|
|
2640
|
+
}
|
|
2641
|
+
case LectureCategory_Tags.RecognizedOtherMajor:
|
|
2642
|
+
{
|
|
2643
|
+
ordinalConverter.write(11, into);
|
|
2644
|
+
const inner = value.inner;
|
|
2645
|
+
FfiConverterString.write(inner.collage, into);
|
|
2646
|
+
FfiConverterString.write(inner.department, into);
|
|
2647
|
+
FfiConverterOptionalString.write(inner.major, into);
|
|
2648
|
+
return;
|
|
2649
|
+
}
|
|
2650
|
+
case LectureCategory_Tags.Cyber:
|
|
2651
|
+
{
|
|
2652
|
+
ordinalConverter.write(12, into);
|
|
2653
|
+
return;
|
|
2654
|
+
}
|
|
2655
|
+
default:
|
|
2656
|
+
// Throwing from here means that LectureCategory_Tags hasn't matched an ordinal.
|
|
2657
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2658
|
+
}
|
|
2659
|
+
}
|
|
2660
|
+
allocationSize(value) {
|
|
2661
|
+
switch (value.tag) {
|
|
2662
|
+
case LectureCategory_Tags.Major:
|
|
2663
|
+
{
|
|
2664
|
+
const inner = value.inner;
|
|
2665
|
+
let size = ordinalConverter.allocationSize(1);
|
|
2666
|
+
size += FfiConverterString.allocationSize(inner.collage);
|
|
2667
|
+
size += FfiConverterString.allocationSize(inner.department);
|
|
2668
|
+
size += FfiConverterOptionalString.allocationSize(inner.major);
|
|
2669
|
+
return size;
|
|
2670
|
+
}
|
|
2671
|
+
case LectureCategory_Tags.RequiredElective:
|
|
2672
|
+
{
|
|
2673
|
+
const inner = value.inner;
|
|
2674
|
+
let size = ordinalConverter.allocationSize(2);
|
|
2675
|
+
size += FfiConverterString.allocationSize(inner.lectureName);
|
|
2676
|
+
return size;
|
|
2677
|
+
}
|
|
2678
|
+
case LectureCategory_Tags.OptionalElective:
|
|
2679
|
+
{
|
|
2680
|
+
const inner = value.inner;
|
|
2681
|
+
let size = ordinalConverter.allocationSize(3);
|
|
2682
|
+
size += FfiConverterString.allocationSize(inner.category);
|
|
2683
|
+
return size;
|
|
2684
|
+
}
|
|
2685
|
+
case LectureCategory_Tags.Chapel:
|
|
2686
|
+
{
|
|
2687
|
+
const inner = value.inner;
|
|
2688
|
+
let size = ordinalConverter.allocationSize(4);
|
|
2689
|
+
size += FfiConverterString.allocationSize(inner.lectureName);
|
|
2690
|
+
return size;
|
|
2691
|
+
}
|
|
2692
|
+
case LectureCategory_Tags.Education:
|
|
2693
|
+
{
|
|
2694
|
+
return ordinalConverter.allocationSize(5);
|
|
2695
|
+
}
|
|
2696
|
+
case LectureCategory_Tags.Graduated:
|
|
2697
|
+
{
|
|
2698
|
+
const inner = value.inner;
|
|
2699
|
+
let size = ordinalConverter.allocationSize(6);
|
|
2700
|
+
size += FfiConverterString.allocationSize(inner.collage);
|
|
2701
|
+
size += FfiConverterString.allocationSize(inner.department);
|
|
2702
|
+
return size;
|
|
2703
|
+
}
|
|
2704
|
+
case LectureCategory_Tags.ConnectedMajor:
|
|
2705
|
+
{
|
|
2706
|
+
const inner = value.inner;
|
|
2707
|
+
let size = ordinalConverter.allocationSize(7);
|
|
2708
|
+
size += FfiConverterString.allocationSize(inner.major);
|
|
2709
|
+
return size;
|
|
2710
|
+
}
|
|
2711
|
+
case LectureCategory_Tags.UnitedMajor:
|
|
2712
|
+
{
|
|
2713
|
+
const inner = value.inner;
|
|
2714
|
+
let size = ordinalConverter.allocationSize(8);
|
|
2715
|
+
size += FfiConverterString.allocationSize(inner.major);
|
|
2716
|
+
return size;
|
|
2717
|
+
}
|
|
2718
|
+
case LectureCategory_Tags.FindByProfessor:
|
|
2719
|
+
{
|
|
2720
|
+
const inner = value.inner;
|
|
2721
|
+
let size = ordinalConverter.allocationSize(9);
|
|
2722
|
+
size += FfiConverterString.allocationSize(inner.keyword);
|
|
2723
|
+
return size;
|
|
2724
|
+
}
|
|
2725
|
+
case LectureCategory_Tags.FindByLecture:
|
|
2726
|
+
{
|
|
2727
|
+
const inner = value.inner;
|
|
2728
|
+
let size = ordinalConverter.allocationSize(10);
|
|
2729
|
+
size += FfiConverterString.allocationSize(inner.keyword);
|
|
2730
|
+
return size;
|
|
2731
|
+
}
|
|
2732
|
+
case LectureCategory_Tags.RecognizedOtherMajor:
|
|
2733
|
+
{
|
|
2734
|
+
const inner = value.inner;
|
|
2735
|
+
let size = ordinalConverter.allocationSize(11);
|
|
2736
|
+
size += FfiConverterString.allocationSize(inner.collage);
|
|
2737
|
+
size += FfiConverterString.allocationSize(inner.department);
|
|
2738
|
+
size += FfiConverterOptionalString.allocationSize(inner.major);
|
|
2739
|
+
return size;
|
|
2740
|
+
}
|
|
2741
|
+
case LectureCategory_Tags.Cyber:
|
|
2742
|
+
{
|
|
2743
|
+
return ordinalConverter.allocationSize(12);
|
|
2744
|
+
}
|
|
2745
|
+
default:
|
|
2746
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
return new FFIConverter();
|
|
2751
|
+
})();
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* 학기 종류
|
|
2755
|
+
*
|
|
2756
|
+
* 각 애플리케이션에서의 변환은 애플리케이션 내에서 직접 처리하여야 합니다.
|
|
2757
|
+
*/
|
|
2758
|
+
let SemesterType = exports.SemesterType = /*#__PURE__*/function (SemesterType) {
|
|
2759
|
+
/**
|
|
2760
|
+
* 1학기
|
|
2761
|
+
*/
|
|
2762
|
+
SemesterType[SemesterType["One"] = 0] = "One";
|
|
2763
|
+
/**
|
|
2764
|
+
* 여름학기
|
|
2765
|
+
*/
|
|
2766
|
+
SemesterType[SemesterType["Summer"] = 1] = "Summer";
|
|
2767
|
+
/**
|
|
2768
|
+
* 2학기
|
|
2769
|
+
*/
|
|
2770
|
+
SemesterType[SemesterType["Two"] = 2] = "Two";
|
|
2771
|
+
/**
|
|
2772
|
+
* 겨울학기
|
|
2773
|
+
*/
|
|
2774
|
+
SemesterType[SemesterType["Winter"] = 3] = "Winter";
|
|
2775
|
+
return SemesterType;
|
|
2776
|
+
}({});
|
|
2777
|
+
const FfiConverterTypeSemesterType = (() => {
|
|
2778
|
+
const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
2779
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
2780
|
+
read(from) {
|
|
2781
|
+
switch (ordinalConverter.read(from)) {
|
|
2782
|
+
case 1:
|
|
2783
|
+
return SemesterType.One;
|
|
2784
|
+
case 2:
|
|
2785
|
+
return SemesterType.Summer;
|
|
2786
|
+
case 3:
|
|
2787
|
+
return SemesterType.Two;
|
|
2788
|
+
case 4:
|
|
2789
|
+
return SemesterType.Winter;
|
|
2790
|
+
default:
|
|
2791
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
write(value, into) {
|
|
2795
|
+
switch (value) {
|
|
2796
|
+
case SemesterType.One:
|
|
2797
|
+
return ordinalConverter.write(1, into);
|
|
2798
|
+
case SemesterType.Summer:
|
|
2799
|
+
return ordinalConverter.write(2, into);
|
|
2800
|
+
case SemesterType.Two:
|
|
2801
|
+
return ordinalConverter.write(3, into);
|
|
2802
|
+
case SemesterType.Winter:
|
|
2803
|
+
return ordinalConverter.write(4, into);
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
allocationSize(value) {
|
|
2807
|
+
return ordinalConverter.allocationSize(0);
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
return new FFIConverter();
|
|
2811
|
+
})();
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* 한 주의 요일을 표현합니다.
|
|
2815
|
+
*/
|
|
2816
|
+
let Weekday = exports.Weekday = /*#__PURE__*/function (Weekday) {
|
|
2817
|
+
/**
|
|
2818
|
+
* 월요일
|
|
2819
|
+
*/
|
|
2820
|
+
Weekday[Weekday["Mon"] = 0] = "Mon";
|
|
2821
|
+
/**
|
|
2822
|
+
* 화요일
|
|
2823
|
+
*/
|
|
2824
|
+
Weekday[Weekday["Tue"] = 1] = "Tue";
|
|
2825
|
+
/**
|
|
2826
|
+
* 수요일
|
|
2827
|
+
*/
|
|
2828
|
+
Weekday[Weekday["Wed"] = 2] = "Wed";
|
|
2829
|
+
/**
|
|
2830
|
+
* 목요일
|
|
2831
|
+
*/
|
|
2832
|
+
Weekday[Weekday["Thu"] = 3] = "Thu";
|
|
2833
|
+
/**
|
|
2834
|
+
* 금요일
|
|
2835
|
+
*/
|
|
2836
|
+
Weekday[Weekday["Fri"] = 4] = "Fri";
|
|
2837
|
+
/**
|
|
2838
|
+
* 토요일
|
|
2839
|
+
*/
|
|
2840
|
+
Weekday[Weekday["Sat"] = 5] = "Sat";
|
|
2841
|
+
/**
|
|
2842
|
+
* 일요일
|
|
2843
|
+
*/
|
|
2844
|
+
Weekday[Weekday["Sun"] = 6] = "Sun";
|
|
2845
|
+
return Weekday;
|
|
2846
|
+
}({});
|
|
2847
|
+
const FfiConverterTypeWeekday = (() => {
|
|
2848
|
+
const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
2849
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
2850
|
+
read(from) {
|
|
2851
|
+
switch (ordinalConverter.read(from)) {
|
|
2852
|
+
case 1:
|
|
2853
|
+
return Weekday.Mon;
|
|
2854
|
+
case 2:
|
|
2855
|
+
return Weekday.Tue;
|
|
2856
|
+
case 3:
|
|
2857
|
+
return Weekday.Wed;
|
|
2858
|
+
case 4:
|
|
2859
|
+
return Weekday.Thu;
|
|
2860
|
+
case 5:
|
|
2861
|
+
return Weekday.Fri;
|
|
2862
|
+
case 6:
|
|
2863
|
+
return Weekday.Sat;
|
|
2864
|
+
case 7:
|
|
2865
|
+
return Weekday.Sun;
|
|
2866
|
+
default:
|
|
2867
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
write(value, into) {
|
|
2871
|
+
switch (value) {
|
|
2872
|
+
case Weekday.Mon:
|
|
2873
|
+
return ordinalConverter.write(1, into);
|
|
2874
|
+
case Weekday.Tue:
|
|
2875
|
+
return ordinalConverter.write(2, into);
|
|
2876
|
+
case Weekday.Wed:
|
|
2877
|
+
return ordinalConverter.write(3, into);
|
|
2878
|
+
case Weekday.Thu:
|
|
2879
|
+
return ordinalConverter.write(4, into);
|
|
2880
|
+
case Weekday.Fri:
|
|
2881
|
+
return ordinalConverter.write(5, into);
|
|
2882
|
+
case Weekday.Sat:
|
|
2883
|
+
return ordinalConverter.write(6, into);
|
|
2884
|
+
case Weekday.Sun:
|
|
2885
|
+
return ordinalConverter.write(7, into);
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
allocationSize(value) {
|
|
2889
|
+
return ordinalConverter.allocationSize(0);
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
return new FFIConverter();
|
|
2893
|
+
})();
|
|
2894
|
+
|
|
2895
|
+
// FfiConverter for Map<string, /*f32*/number>
|
|
2896
|
+
const FfiConverterMapStringFloat32 = new _uniffiBindgenReactNative.FfiConverterMap(FfiConverterString, _uniffiBindgenReactNative.FfiConverterFloat32);
|
|
2897
|
+
|
|
2898
|
+
// FfiConverter for Map<string, GraduationRequirement>
|
|
2899
|
+
const FfiConverterMapStringTypeGraduationRequirement = new _uniffiBindgenReactNative.FfiConverterMap(FfiConverterString, FfiConverterTypeGraduationRequirement);
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* 새로운 `LectureCategory`를 만드는 빌더입니다.
|
|
2903
|
+
*/
|
|
2904
|
+
|
|
2905
|
+
/**
|
|
2906
|
+
* 새로운 `LectureCategory`를 만드는 빌더입니다.
|
|
2907
|
+
*/
|
|
2908
|
+
class LectureCategoryBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
2909
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategoryBuilder';
|
|
2910
|
+
/**
|
|
2911
|
+
* `LectureCategoryBuilder`를 만듭니다.
|
|
2912
|
+
*/
|
|
2913
|
+
constructor() {
|
|
2914
|
+
super();
|
|
2915
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2916
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_constructor_lecturecategorybuilder_new(callStatus);
|
|
2917
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
2918
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
2919
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeLectureCategoryBuilderObjectFactory.bless(pointer);
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* 채플 분류의 [`LectureCategory`]를 만듭니다.
|
|
2924
|
+
*/
|
|
2925
|
+
chapel(lectureName) {
|
|
2926
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2927
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_chapel(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(lectureName), callStatus);
|
|
2928
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* 연계전공 분류의 [`LectureCategory`]를 만듭니다.
|
|
2933
|
+
*/
|
|
2934
|
+
connectedMajor(major) {
|
|
2935
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2936
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_connected_major(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(major), callStatus);
|
|
2937
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* 숭실사이버대 분류의 [`LectureCategory`]를 만듭니다.
|
|
2942
|
+
*/
|
|
2943
|
+
cyber() {
|
|
2944
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2945
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_cyber(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), callStatus);
|
|
2946
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* 교직 분류의 [`LectureCategory`]를 만듭니다.
|
|
2951
|
+
*/
|
|
2952
|
+
education() {
|
|
2953
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2954
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_education(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), callStatus);
|
|
2955
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* 과목명으로 찾기 위한 [`LectureCategory`]를 만듭니다.
|
|
2960
|
+
*/
|
|
2961
|
+
findByLecture(keyword) {
|
|
2962
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2963
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_find_by_lecture(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(keyword), callStatus);
|
|
2964
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
/**
|
|
2968
|
+
* 교수명으로 찾기 위한 [`LectureCategory`]를 만듭니다.
|
|
2969
|
+
*/
|
|
2970
|
+
findByProfessor(keyword) {
|
|
2971
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2972
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_find_by_professor(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(keyword), callStatus);
|
|
2973
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* 대학원 분류의 [`LectureCategory`]를 만듭니다.
|
|
2978
|
+
*/
|
|
2979
|
+
graduated(collage, department) {
|
|
2980
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2981
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_graduated(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(collage), FfiConverterString.lower(department), callStatus);
|
|
2982
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* 전공과목 분류의 [`LectureCategory`]를 만듭니다.
|
|
2987
|
+
*/
|
|
2988
|
+
major(collage, department, major) {
|
|
2989
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2990
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_major(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(collage), FfiConverterString.lower(department), FfiConverterOptionalString.lower(major), callStatus);
|
|
2991
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* 교양선택 분류의 [`LectureCategory`]를 만듭니다.
|
|
2996
|
+
*/
|
|
2997
|
+
optionalElective(category) {
|
|
2998
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2999
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_optional_elective(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(category), callStatus);
|
|
3000
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* 타전공인정과목 분류의 [`LectureCategory`]를 만듭니다.
|
|
3005
|
+
*/
|
|
3006
|
+
recognizedOtherMajor(collage, department, major) {
|
|
3007
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3008
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_recognized_other_major(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(collage), FfiConverterString.lower(department), FfiConverterOptionalString.lower(major), callStatus);
|
|
3009
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* 교양필수 분류의 [`LectureCategory`]를 만듭니다.
|
|
3014
|
+
*/
|
|
3015
|
+
requiredElective(lectureName) {
|
|
3016
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3017
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_required_elective(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(lectureName), callStatus);
|
|
3018
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* 융합전공 분류의 [`LectureCategory`]를 만듭니다.
|
|
3023
|
+
*/
|
|
3024
|
+
unitedMajor(major) {
|
|
3025
|
+
return FfiConverterTypeLectureCategory.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
3026
|
+
return (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_united_major(uniffiTypeLectureCategoryBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(major), callStatus);
|
|
3027
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
3028
|
+
}
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3032
|
+
*/
|
|
3033
|
+
uniffiDestroy() {
|
|
3034
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
3035
|
+
if (ptr !== undefined) {
|
|
3036
|
+
const pointer = uniffiTypeLectureCategoryBuilderObjectFactory.pointer(this);
|
|
3037
|
+
uniffiTypeLectureCategoryBuilderObjectFactory.freePointer(pointer);
|
|
3038
|
+
uniffiTypeLectureCategoryBuilderObjectFactory.unbless(ptr);
|
|
3039
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
static instanceOf(obj) {
|
|
3043
|
+
return uniffiTypeLectureCategoryBuilderObjectFactory.isConcreteType(obj);
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
exports.LectureCategoryBuilder = LectureCategoryBuilder;
|
|
3047
|
+
const uniffiTypeLectureCategoryBuilderObjectFactory = {
|
|
3048
|
+
create(pointer) {
|
|
3049
|
+
const instance = Object.create(LectureCategoryBuilder.prototype);
|
|
3050
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
3051
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
3052
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureCategoryBuilder';
|
|
3053
|
+
return instance;
|
|
3054
|
+
},
|
|
3055
|
+
bless(p) {
|
|
3056
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaintFfi.default)().ubrn_uniffi_internal_fn_method_lecturecategorybuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
3057
|
+
},
|
|
3058
|
+
unbless(ptr) {
|
|
3059
|
+
ptr.markDestroyed();
|
|
3060
|
+
},
|
|
3061
|
+
pointer(obj) {
|
|
3062
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
3063
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
3064
|
+
}
|
|
3065
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
3066
|
+
},
|
|
3067
|
+
clonePointer(obj) {
|
|
3068
|
+
const pointer = this.pointer(obj);
|
|
3069
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_clone_lecturecategorybuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
3070
|
+
},
|
|
3071
|
+
freePointer(pointer) {
|
|
3072
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaintFfi.default)().ubrn_uniffi_rusaint_fn_free_lecturecategorybuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
3073
|
+
},
|
|
3074
|
+
isConcreteType(obj) {
|
|
3075
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'LectureCategoryBuilder';
|
|
3076
|
+
}
|
|
3077
|
+
};
|
|
3078
|
+
// FfiConverter for LectureCategoryBuilderInterface
|
|
3079
|
+
const FfiConverterTypeLectureCategoryBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeLectureCategoryBuilderObjectFactory);
|
|
3080
|
+
|
|
3081
|
+
// FfiConverter for /*f32*/number | undefined
|
|
3082
|
+
const FfiConverterOptionalFloat32 = new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterFloat32);
|
|
3083
|
+
|
|
3084
|
+
// FfiConverter for StudentForignStudyInformation | undefined
|
|
3085
|
+
const FfiConverterOptionalTypeStudentForignStudyInformation = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeStudentForignStudyInformation);
|
|
3086
|
+
|
|
3087
|
+
// FfiConverter for StudentLifelongInformation | undefined
|
|
3088
|
+
const FfiConverterOptionalTypeStudentLifelongInformation = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeStudentLifelongInformation);
|
|
3089
|
+
|
|
3090
|
+
// FfiConverter for StudentTeachingMajorInformation | undefined
|
|
3091
|
+
const FfiConverterOptionalTypeStudentTeachingMajorInformation = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeStudentTeachingMajorInformation);
|
|
3092
|
+
|
|
3093
|
+
// FfiConverter for StudentTeachingPluralMajorInformation | undefined
|
|
3094
|
+
const FfiConverterOptionalTypeStudentTeachingPluralMajorInformation = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeStudentTeachingPluralMajorInformation);
|
|
3095
|
+
|
|
3096
|
+
// FfiConverter for string | undefined
|
|
3097
|
+
const FfiConverterOptionalString = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterString);
|
|
3098
|
+
|
|
3099
|
+
// FfiConverter for /*u32*/number | undefined
|
|
3100
|
+
const FfiConverterOptionalUInt32 = new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterUInt32);
|
|
3101
|
+
|
|
3102
|
+
// FfiConverter for Array<ChapelAbsenceRequest>
|
|
3103
|
+
const FfiConverterArrayTypeChapelAbsenceRequest = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeChapelAbsenceRequest);
|
|
3104
|
+
|
|
3105
|
+
// FfiConverter for Array<ChapelAttendance>
|
|
3106
|
+
const FfiConverterArrayTypeChapelAttendance = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeChapelAttendance);
|
|
3107
|
+
|
|
3108
|
+
// FfiConverter for Array<CourseScheduleInformation>
|
|
3109
|
+
const FfiConverterArrayTypeCourseScheduleInformation = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeCourseScheduleInformation);
|
|
3110
|
+
|
|
3111
|
+
// FfiConverter for Array<StudentAcademicRecord>
|
|
3112
|
+
const FfiConverterArrayTypeStudentAcademicRecord = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeStudentAcademicRecord);
|
|
3113
|
+
|
|
3114
|
+
// FfiConverter for Array<StudentFamilyMember>
|
|
3115
|
+
const FfiConverterArrayTypeStudentFamilyMember = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeStudentFamilyMember);
|
|
3116
|
+
|
|
3117
|
+
// FfiConverter for Array<StudentTransferRecord>
|
|
3118
|
+
const FfiConverterArrayTypeStudentTransferRecord = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeStudentTransferRecord);
|
|
3119
|
+
|
|
3120
|
+
// FfiConverter for Array<string>
|
|
3121
|
+
const FfiConverterArrayString = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterString);
|
|
3122
|
+
|
|
3123
|
+
// FfiConverter for Map<Weekday, Array<CourseScheduleInformation>>
|
|
3124
|
+
const FfiConverterMapTypeWeekdayArrayTypeCourseScheduleInformation = new _uniffiBindgenReactNative.FfiConverterMap(FfiConverterTypeWeekday, FfiConverterArrayTypeCourseScheduleInformation);
|
|
3125
|
+
|
|
3126
|
+
// FfiConverter for Map<string, /*f32*/number> | undefined
|
|
3127
|
+
const FfiConverterOptionalMapStringFloat32 = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterMapStringFloat32);
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* This should be called before anything else.
|
|
3131
|
+
*
|
|
3132
|
+
* It is likely that this is being done for you by the library's `index.ts`.
|
|
3133
|
+
*
|
|
3134
|
+
* It checks versions of uniffi between when the Rust scaffolding was generated
|
|
3135
|
+
* and when the bindings were generated.
|
|
3136
|
+
*
|
|
3137
|
+
* It also initializes the machinery to enable Rust to talk back to Javascript.
|
|
3138
|
+
*/
|
|
3139
|
+
function uniffiEnsureInitialized() {
|
|
3140
|
+
// Get the bindings contract version from our ComponentInterface
|
|
3141
|
+
const bindingsContractVersion = 29;
|
|
3142
|
+
// Get the scaffolding contract version by calling the into the dylib
|
|
3143
|
+
const scaffoldingContractVersion = (0, _rusaintFfi.default)().ubrn_ffi_rusaint_uniffi_contract_version();
|
|
3144
|
+
if (bindingsContractVersion !== scaffoldingContractVersion) {
|
|
3145
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
|
|
3146
|
+
}
|
|
3147
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_chapel() !== 36146) {
|
|
3148
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_chapel');
|
|
3149
|
+
}
|
|
3150
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_connected_major() !== 23575) {
|
|
3151
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_connected_major');
|
|
3152
|
+
}
|
|
3153
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_cyber() !== 62603) {
|
|
3154
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_cyber');
|
|
3155
|
+
}
|
|
3156
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_education() !== 26923) {
|
|
3157
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_education');
|
|
3158
|
+
}
|
|
3159
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_find_by_lecture() !== 60430) {
|
|
3160
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_find_by_lecture');
|
|
3161
|
+
}
|
|
3162
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_find_by_professor() !== 34168) {
|
|
3163
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_find_by_professor');
|
|
3164
|
+
}
|
|
3165
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_graduated() !== 33032) {
|
|
3166
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_graduated');
|
|
3167
|
+
}
|
|
3168
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_major() !== 62920) {
|
|
3169
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_major');
|
|
3170
|
+
}
|
|
3171
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_optional_elective() !== 18560) {
|
|
3172
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_optional_elective');
|
|
3173
|
+
}
|
|
3174
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_recognized_other_major() !== 31169) {
|
|
3175
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_recognized_other_major');
|
|
3176
|
+
}
|
|
3177
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_required_elective() !== 31001) {
|
|
3178
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_required_elective');
|
|
3179
|
+
}
|
|
3180
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_united_major() !== 40110) {
|
|
3181
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_method_lecturecategorybuilder_united_major');
|
|
3182
|
+
}
|
|
3183
|
+
if ((0, _rusaintFfi.default)().ubrn_uniffi_rusaint_checksum_constructor_lecturecategorybuilder_new() !== 19652) {
|
|
3184
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_checksum_constructor_lecturecategorybuilder_new');
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3187
|
+
var _default = exports.default = Object.freeze({
|
|
3188
|
+
initialize: uniffiEnsureInitialized,
|
|
3189
|
+
converters: {
|
|
3190
|
+
FfiConverterTypeChapelAbsenceRequest,
|
|
3191
|
+
FfiConverterTypeChapelAttendance,
|
|
3192
|
+
FfiConverterTypeChapelInformation,
|
|
3193
|
+
FfiConverterTypeClassGrade,
|
|
3194
|
+
FfiConverterTypeClassScore,
|
|
3195
|
+
FfiConverterTypeCourseScheduleInformation,
|
|
3196
|
+
FfiConverterTypeCourseType,
|
|
3197
|
+
FfiConverterTypeGeneralChapelInformation,
|
|
3198
|
+
FfiConverterTypeGradeSummary,
|
|
3199
|
+
FfiConverterTypeGraduationRequirement,
|
|
3200
|
+
FfiConverterTypeGraduationRequirements,
|
|
3201
|
+
FfiConverterTypeGraduationStudent,
|
|
3202
|
+
FfiConverterTypeLecture,
|
|
3203
|
+
FfiConverterTypeLectureAssessmentResult,
|
|
3204
|
+
FfiConverterTypeLectureCategory,
|
|
3205
|
+
FfiConverterTypeLectureCategoryBuilder,
|
|
3206
|
+
FfiConverterTypePersonalCourseSchedule,
|
|
3207
|
+
FfiConverterTypeScholarship,
|
|
3208
|
+
FfiConverterTypeSemesterGrade,
|
|
3209
|
+
FfiConverterTypeSemesterType,
|
|
3210
|
+
FfiConverterTypeStudentAcademicRecord,
|
|
3211
|
+
FfiConverterTypeStudentAcademicRecords,
|
|
3212
|
+
FfiConverterTypeStudentBankAccount,
|
|
3213
|
+
FfiConverterTypeStudentFamily,
|
|
3214
|
+
FfiConverterTypeStudentFamilyMember,
|
|
3215
|
+
FfiConverterTypeStudentForignStudyInformation,
|
|
3216
|
+
FfiConverterTypeStudentGraduation,
|
|
3217
|
+
FfiConverterTypeStudentInformation,
|
|
3218
|
+
FfiConverterTypeStudentLifelongInformation,
|
|
3219
|
+
FfiConverterTypeStudentQualification,
|
|
3220
|
+
FfiConverterTypeStudentReligion,
|
|
3221
|
+
FfiConverterTypeStudentResearchBankAccount,
|
|
3222
|
+
FfiConverterTypeStudentTeachingMajorInformation,
|
|
3223
|
+
FfiConverterTypeStudentTeachingPluralMajorInformation,
|
|
3224
|
+
FfiConverterTypeStudentTransferRecord,
|
|
3225
|
+
FfiConverterTypeStudentTransferRecords,
|
|
3226
|
+
FfiConverterTypeStudentWorkInformation,
|
|
3227
|
+
FfiConverterTypeU32Pair,
|
|
3228
|
+
FfiConverterTypeUnsignedIntPair,
|
|
3229
|
+
FfiConverterTypeWeekday
|
|
3230
|
+
}
|
|
3231
|
+
});
|
|
3232
|
+
//# sourceMappingURL=rusaint.js.map
|