@rusaint/react-native 0.13.6 → 0.14.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/android/src/main/jniLibs/arm64-v8a/librusaint_ffi.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/librusaint_ffi.so +0 -0
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeResources +6 -6
- package/build/RusaintReactNative.xcframework/_CodeSignature/CodeSignature +0 -0
- package/build/RusaintReactNative.xcframework/ios-arm64/librusaint_ffi.a +0 -0
- package/build/RusaintReactNative.xcframework/ios-arm64-simulator/librusaint_ffi.a +0 -0
- package/cpp/generated/rusaint_ffi.cpp +373 -0
- package/cpp/generated/rusaint_ffi.hpp +20 -0
- package/lib/commonjs/generated/rusaint.js +78 -1
- package/lib/commonjs/generated/rusaint.js.map +1 -1
- package/lib/commonjs/generated/rusaint_ffi-ffi.js.map +1 -1
- package/lib/commonjs/generated/rusaint_ffi.js +274 -1
- package/lib/commonjs/generated/rusaint_ffi.js.map +1 -1
- package/lib/module/generated/rusaint.js +77 -0
- package/lib/module/generated/rusaint.js.map +1 -1
- package/lib/module/generated/rusaint_ffi-ffi.js.map +1 -1
- package/lib/module/generated/rusaint_ffi.js +271 -0
- package/lib/module/generated/rusaint_ffi.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts +95 -0
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts +20 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts +118 -1
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/rusaint.d.ts +95 -0
- package/lib/typescript/module/src/generated/rusaint.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts +20 -0
- package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/rusaint_ffi.d.ts +118 -1
- package/lib/typescript/module/src/generated/rusaint_ffi.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/rusaint.ts +166 -0
- package/src/generated/rusaint_ffi-ffi.ts +55 -0
- package/src/generated/rusaint_ffi.ts +621 -0
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
type Lecture,
|
|
40
40
|
type LectureAssessmentResult,
|
|
41
41
|
type PersonalCourseSchedule,
|
|
42
|
+
type RegisteredLecture,
|
|
42
43
|
type Scholarship,
|
|
43
44
|
type SemesterGrade,
|
|
44
45
|
type StudentAcademicRecords,
|
|
@@ -98,6 +99,7 @@ const {
|
|
|
98
99
|
FfiConverterTypeLectureAssessmentResult,
|
|
99
100
|
FfiConverterTypeLectureCategory,
|
|
100
101
|
FfiConverterTypePersonalCourseSchedule,
|
|
102
|
+
FfiConverterTypeRegisteredLecture,
|
|
101
103
|
FfiConverterTypeScholarship,
|
|
102
104
|
FfiConverterTypeSemesterGrade,
|
|
103
105
|
FfiConverterTypeSemesterType,
|
|
@@ -1451,6 +1453,480 @@ const FfiConverterTypeCourseGradesApplicationBuilder = new FfiConverterObject(
|
|
|
1451
1453
|
uniffiTypeCourseGradesApplicationBuilderObjectFactory
|
|
1452
1454
|
);
|
|
1453
1455
|
|
|
1456
|
+
/**
|
|
1457
|
+
* [수강신청 내역 조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2110)
|
|
1458
|
+
*/
|
|
1459
|
+
export interface CourseRegistrationStatusApplicationInterface {
|
|
1460
|
+
/**
|
|
1461
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
1462
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
1463
|
+
*/
|
|
1464
|
+
getSelectedSemester(asyncOpts_?: {
|
|
1465
|
+
signal: AbortSignal;
|
|
1466
|
+
}) /*throws*/ : Promise<YearSemester>;
|
|
1467
|
+
/**
|
|
1468
|
+
* 개인이 수강신청한 내역을 학기별로 찾습니다.
|
|
1469
|
+
*/
|
|
1470
|
+
lectures(
|
|
1471
|
+
year: /*u32*/ number,
|
|
1472
|
+
semester: SemesterType,
|
|
1473
|
+
asyncOpts_?: { signal: AbortSignal }
|
|
1474
|
+
) /*throws*/ : Promise<Array<RegisteredLecture>>;
|
|
1475
|
+
/**
|
|
1476
|
+
* 페이지를 새로고침합니다.
|
|
1477
|
+
*/
|
|
1478
|
+
reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* [수강신청 내역 조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2110)
|
|
1483
|
+
*/
|
|
1484
|
+
export class CourseRegistrationStatusApplication
|
|
1485
|
+
extends UniffiAbstractObject
|
|
1486
|
+
implements CourseRegistrationStatusApplicationInterface
|
|
1487
|
+
{
|
|
1488
|
+
readonly [uniffiTypeNameSymbol] = 'CourseRegistrationStatusApplication';
|
|
1489
|
+
readonly [destructorGuardSymbol]: UniffiRustArcPtr;
|
|
1490
|
+
readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
|
|
1491
|
+
// No primary constructor declared for this class.
|
|
1492
|
+
private constructor(pointer: UnsafeMutableRawPointer) {
|
|
1493
|
+
super();
|
|
1494
|
+
this[pointerLiteralSymbol] = pointer;
|
|
1495
|
+
this[destructorGuardSymbol] =
|
|
1496
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.bless(pointer);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
1501
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
1502
|
+
*/
|
|
1503
|
+
public async getSelectedSemester(asyncOpts_?: {
|
|
1504
|
+
signal: AbortSignal;
|
|
1505
|
+
}): Promise<YearSemester> /*throws*/ {
|
|
1506
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1507
|
+
try {
|
|
1508
|
+
return await uniffiRustCallAsync(
|
|
1509
|
+
/*rustCaller:*/ uniffiCaller,
|
|
1510
|
+
/*rustFutureFunc:*/ () => {
|
|
1511
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_courseregistrationstatusapplication_get_selected_semester(
|
|
1512
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.clonePointer(
|
|
1513
|
+
this
|
|
1514
|
+
)
|
|
1515
|
+
);
|
|
1516
|
+
},
|
|
1517
|
+
/*pollFunc:*/ nativeModule()
|
|
1518
|
+
.ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer,
|
|
1519
|
+
/*cancelFunc:*/ nativeModule()
|
|
1520
|
+
.ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer,
|
|
1521
|
+
/*completeFunc:*/ nativeModule()
|
|
1522
|
+
.ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer,
|
|
1523
|
+
/*freeFunc:*/ nativeModule()
|
|
1524
|
+
.ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer,
|
|
1525
|
+
/*liftFunc:*/ FfiConverterTypeYearSemester.lift.bind(
|
|
1526
|
+
FfiConverterTypeYearSemester
|
|
1527
|
+
),
|
|
1528
|
+
/*liftString:*/ FfiConverterString.lift,
|
|
1529
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
1530
|
+
/*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
|
|
1531
|
+
FfiConverterTypeRusaintError
|
|
1532
|
+
)
|
|
1533
|
+
);
|
|
1534
|
+
} catch (__error: any) {
|
|
1535
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1536
|
+
__error.stack = __stack;
|
|
1537
|
+
}
|
|
1538
|
+
throw __error;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* 개인이 수강신청한 내역을 학기별로 찾습니다.
|
|
1544
|
+
*/
|
|
1545
|
+
public async lectures(
|
|
1546
|
+
year: /*u32*/ number,
|
|
1547
|
+
semester: SemesterType,
|
|
1548
|
+
asyncOpts_?: { signal: AbortSignal }
|
|
1549
|
+
): Promise<Array<RegisteredLecture>> /*throws*/ {
|
|
1550
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1551
|
+
try {
|
|
1552
|
+
return await uniffiRustCallAsync(
|
|
1553
|
+
/*rustCaller:*/ uniffiCaller,
|
|
1554
|
+
/*rustFutureFunc:*/ () => {
|
|
1555
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_courseregistrationstatusapplication_lectures(
|
|
1556
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.clonePointer(
|
|
1557
|
+
this
|
|
1558
|
+
),
|
|
1559
|
+
FfiConverterUInt32.lower(year),
|
|
1560
|
+
FfiConverterTypeSemesterType.lower(semester)
|
|
1561
|
+
);
|
|
1562
|
+
},
|
|
1563
|
+
/*pollFunc:*/ nativeModule()
|
|
1564
|
+
.ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer,
|
|
1565
|
+
/*cancelFunc:*/ nativeModule()
|
|
1566
|
+
.ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer,
|
|
1567
|
+
/*completeFunc:*/ nativeModule()
|
|
1568
|
+
.ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer,
|
|
1569
|
+
/*freeFunc:*/ nativeModule()
|
|
1570
|
+
.ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer,
|
|
1571
|
+
/*liftFunc:*/ FfiConverterArrayTypeRegisteredLecture.lift.bind(
|
|
1572
|
+
FfiConverterArrayTypeRegisteredLecture
|
|
1573
|
+
),
|
|
1574
|
+
/*liftString:*/ FfiConverterString.lift,
|
|
1575
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
1576
|
+
/*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
|
|
1577
|
+
FfiConverterTypeRusaintError
|
|
1578
|
+
)
|
|
1579
|
+
);
|
|
1580
|
+
} catch (__error: any) {
|
|
1581
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1582
|
+
__error.stack = __stack;
|
|
1583
|
+
}
|
|
1584
|
+
throw __error;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* 페이지를 새로고침합니다.
|
|
1590
|
+
*/
|
|
1591
|
+
public async reload(asyncOpts_?: {
|
|
1592
|
+
signal: AbortSignal;
|
|
1593
|
+
}): Promise<void> /*throws*/ {
|
|
1594
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1595
|
+
try {
|
|
1596
|
+
return await uniffiRustCallAsync(
|
|
1597
|
+
/*rustCaller:*/ uniffiCaller,
|
|
1598
|
+
/*rustFutureFunc:*/ () => {
|
|
1599
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_courseregistrationstatusapplication_reload(
|
|
1600
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.clonePointer(
|
|
1601
|
+
this
|
|
1602
|
+
)
|
|
1603
|
+
);
|
|
1604
|
+
},
|
|
1605
|
+
/*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
|
|
1606
|
+
/*cancelFunc:*/ nativeModule()
|
|
1607
|
+
.ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
|
|
1608
|
+
/*completeFunc:*/ nativeModule()
|
|
1609
|
+
.ubrn_ffi_rusaint_ffi_rust_future_complete_void,
|
|
1610
|
+
/*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
|
|
1611
|
+
/*liftFunc:*/ (_v) => {},
|
|
1612
|
+
/*liftString:*/ FfiConverterString.lift,
|
|
1613
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
1614
|
+
/*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
|
|
1615
|
+
FfiConverterTypeRusaintError
|
|
1616
|
+
)
|
|
1617
|
+
);
|
|
1618
|
+
} catch (__error: any) {
|
|
1619
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1620
|
+
__error.stack = __stack;
|
|
1621
|
+
}
|
|
1622
|
+
throw __error;
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1628
|
+
*/
|
|
1629
|
+
uniffiDestroy(): void {
|
|
1630
|
+
const ptr = (this as any)[destructorGuardSymbol];
|
|
1631
|
+
if (ptr !== undefined) {
|
|
1632
|
+
const pointer =
|
|
1633
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.pointer(
|
|
1634
|
+
this
|
|
1635
|
+
);
|
|
1636
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.freePointer(
|
|
1637
|
+
pointer
|
|
1638
|
+
);
|
|
1639
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory.unbless(ptr);
|
|
1640
|
+
delete (this as any)[destructorGuardSymbol];
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
static instanceOf(obj: any): obj is CourseRegistrationStatusApplication {
|
|
1645
|
+
return uniffiTypeCourseRegistrationStatusApplicationObjectFactory.isConcreteType(
|
|
1646
|
+
obj
|
|
1647
|
+
);
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
const uniffiTypeCourseRegistrationStatusApplicationObjectFactory: UniffiObjectFactory<CourseRegistrationStatusApplicationInterface> =
|
|
1652
|
+
(() => {
|
|
1653
|
+
return {
|
|
1654
|
+
create(
|
|
1655
|
+
pointer: UnsafeMutableRawPointer
|
|
1656
|
+
): CourseRegistrationStatusApplicationInterface {
|
|
1657
|
+
const instance = Object.create(
|
|
1658
|
+
CourseRegistrationStatusApplication.prototype
|
|
1659
|
+
);
|
|
1660
|
+
instance[pointerLiteralSymbol] = pointer;
|
|
1661
|
+
instance[destructorGuardSymbol] = this.bless(pointer);
|
|
1662
|
+
instance[uniffiTypeNameSymbol] = 'CourseRegistrationStatusApplication';
|
|
1663
|
+
return instance;
|
|
1664
|
+
},
|
|
1665
|
+
|
|
1666
|
+
bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
|
|
1667
|
+
return uniffiCaller.rustCall(
|
|
1668
|
+
/*caller:*/ (status) =>
|
|
1669
|
+
nativeModule().ubrn_uniffi_internal_fn_method_courseregistrationstatusapplication_ffi__bless_pointer(
|
|
1670
|
+
p,
|
|
1671
|
+
status
|
|
1672
|
+
),
|
|
1673
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1674
|
+
);
|
|
1675
|
+
},
|
|
1676
|
+
|
|
1677
|
+
unbless(ptr: UniffiRustArcPtr) {
|
|
1678
|
+
ptr.markDestroyed();
|
|
1679
|
+
},
|
|
1680
|
+
|
|
1681
|
+
pointer(
|
|
1682
|
+
obj: CourseRegistrationStatusApplicationInterface
|
|
1683
|
+
): UnsafeMutableRawPointer {
|
|
1684
|
+
if ((obj as any)[destructorGuardSymbol] === undefined) {
|
|
1685
|
+
throw new UniffiInternalError.UnexpectedNullPointer();
|
|
1686
|
+
}
|
|
1687
|
+
return (obj as any)[pointerLiteralSymbol];
|
|
1688
|
+
},
|
|
1689
|
+
|
|
1690
|
+
clonePointer(
|
|
1691
|
+
obj: CourseRegistrationStatusApplicationInterface
|
|
1692
|
+
): UnsafeMutableRawPointer {
|
|
1693
|
+
const pointer = this.pointer(obj);
|
|
1694
|
+
return uniffiCaller.rustCall(
|
|
1695
|
+
/*caller:*/ (callStatus) =>
|
|
1696
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_courseregistrationstatusapplication(
|
|
1697
|
+
pointer,
|
|
1698
|
+
callStatus
|
|
1699
|
+
),
|
|
1700
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1701
|
+
);
|
|
1702
|
+
},
|
|
1703
|
+
|
|
1704
|
+
freePointer(pointer: UnsafeMutableRawPointer): void {
|
|
1705
|
+
uniffiCaller.rustCall(
|
|
1706
|
+
/*caller:*/ (callStatus) =>
|
|
1707
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_courseregistrationstatusapplication(
|
|
1708
|
+
pointer,
|
|
1709
|
+
callStatus
|
|
1710
|
+
),
|
|
1711
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1712
|
+
);
|
|
1713
|
+
},
|
|
1714
|
+
|
|
1715
|
+
isConcreteType(
|
|
1716
|
+
obj: any
|
|
1717
|
+
): obj is CourseRegistrationStatusApplicationInterface {
|
|
1718
|
+
return (
|
|
1719
|
+
obj[destructorGuardSymbol] &&
|
|
1720
|
+
obj[uniffiTypeNameSymbol] === 'CourseRegistrationStatusApplication'
|
|
1721
|
+
);
|
|
1722
|
+
},
|
|
1723
|
+
};
|
|
1724
|
+
})();
|
|
1725
|
+
// FfiConverter for CourseRegistrationStatusApplicationInterface
|
|
1726
|
+
const FfiConverterTypeCourseRegistrationStatusApplication =
|
|
1727
|
+
new FfiConverterObject(
|
|
1728
|
+
uniffiTypeCourseRegistrationStatusApplicationObjectFactory
|
|
1729
|
+
);
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* [`CourseRegistrationStatusApplication`] 생성을 위한 빌더
|
|
1733
|
+
*/
|
|
1734
|
+
export interface CourseRegistrationStatusApplicationBuilderInterface {
|
|
1735
|
+
/**
|
|
1736
|
+
* 세션과 함께 [`CourseRegistrationStatusApplication`]을 만듭니다.
|
|
1737
|
+
*/
|
|
1738
|
+
build(
|
|
1739
|
+
session: USaintSessionInterface,
|
|
1740
|
+
asyncOpts_?: { signal: AbortSignal }
|
|
1741
|
+
) /*throws*/ : Promise<CourseRegistrationStatusApplicationInterface>;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* [`CourseRegistrationStatusApplication`] 생성을 위한 빌더
|
|
1746
|
+
*/
|
|
1747
|
+
export class CourseRegistrationStatusApplicationBuilder
|
|
1748
|
+
extends UniffiAbstractObject
|
|
1749
|
+
implements CourseRegistrationStatusApplicationBuilderInterface
|
|
1750
|
+
{
|
|
1751
|
+
readonly [uniffiTypeNameSymbol] =
|
|
1752
|
+
'CourseRegistrationStatusApplicationBuilder';
|
|
1753
|
+
readonly [destructorGuardSymbol]: UniffiRustArcPtr;
|
|
1754
|
+
readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
|
|
1755
|
+
/**
|
|
1756
|
+
* 새로운 [`CourseRegistrationStatusApplicationBuilder`]를 만듭니다.
|
|
1757
|
+
*/
|
|
1758
|
+
constructor() {
|
|
1759
|
+
super();
|
|
1760
|
+
const pointer = uniffiCaller.rustCall(
|
|
1761
|
+
/*caller:*/ (callStatus) => {
|
|
1762
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_constructor_courseregistrationstatusapplicationbuilder_new(
|
|
1763
|
+
callStatus
|
|
1764
|
+
);
|
|
1765
|
+
},
|
|
1766
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1767
|
+
);
|
|
1768
|
+
this[pointerLiteralSymbol] = pointer;
|
|
1769
|
+
this[destructorGuardSymbol] =
|
|
1770
|
+
uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory.bless(
|
|
1771
|
+
pointer
|
|
1772
|
+
);
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* 세션과 함께 [`CourseRegistrationStatusApplication`]을 만듭니다.
|
|
1777
|
+
*/
|
|
1778
|
+
public async build(
|
|
1779
|
+
session: USaintSessionInterface,
|
|
1780
|
+
asyncOpts_?: { signal: AbortSignal }
|
|
1781
|
+
): Promise<CourseRegistrationStatusApplicationInterface> /*throws*/ {
|
|
1782
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1783
|
+
try {
|
|
1784
|
+
return await uniffiRustCallAsync(
|
|
1785
|
+
/*rustCaller:*/ uniffiCaller,
|
|
1786
|
+
/*rustFutureFunc:*/ () => {
|
|
1787
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_courseregistrationstatusapplicationbuilder_build(
|
|
1788
|
+
uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory.clonePointer(
|
|
1789
|
+
this
|
|
1790
|
+
),
|
|
1791
|
+
FfiConverterTypeUSaintSession.lower(session)
|
|
1792
|
+
);
|
|
1793
|
+
},
|
|
1794
|
+
/*pollFunc:*/ nativeModule()
|
|
1795
|
+
.ubrn_ffi_rusaint_ffi_rust_future_poll_pointer,
|
|
1796
|
+
/*cancelFunc:*/ nativeModule()
|
|
1797
|
+
.ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer,
|
|
1798
|
+
/*completeFunc:*/ nativeModule()
|
|
1799
|
+
.ubrn_ffi_rusaint_ffi_rust_future_complete_pointer,
|
|
1800
|
+
/*freeFunc:*/ nativeModule()
|
|
1801
|
+
.ubrn_ffi_rusaint_ffi_rust_future_free_pointer,
|
|
1802
|
+
/*liftFunc:*/ FfiConverterTypeCourseRegistrationStatusApplication.lift.bind(
|
|
1803
|
+
FfiConverterTypeCourseRegistrationStatusApplication
|
|
1804
|
+
),
|
|
1805
|
+
/*liftString:*/ FfiConverterString.lift,
|
|
1806
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
1807
|
+
/*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
|
|
1808
|
+
FfiConverterTypeRusaintError
|
|
1809
|
+
)
|
|
1810
|
+
);
|
|
1811
|
+
} catch (__error: any) {
|
|
1812
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1813
|
+
__error.stack = __stack;
|
|
1814
|
+
}
|
|
1815
|
+
throw __error;
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1821
|
+
*/
|
|
1822
|
+
uniffiDestroy(): void {
|
|
1823
|
+
const ptr = (this as any)[destructorGuardSymbol];
|
|
1824
|
+
if (ptr !== undefined) {
|
|
1825
|
+
const pointer =
|
|
1826
|
+
uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory.pointer(
|
|
1827
|
+
this
|
|
1828
|
+
);
|
|
1829
|
+
uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory.freePointer(
|
|
1830
|
+
pointer
|
|
1831
|
+
);
|
|
1832
|
+
uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory.unbless(
|
|
1833
|
+
ptr
|
|
1834
|
+
);
|
|
1835
|
+
delete (this as any)[destructorGuardSymbol];
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
static instanceOf(
|
|
1840
|
+
obj: any
|
|
1841
|
+
): obj is CourseRegistrationStatusApplicationBuilder {
|
|
1842
|
+
return uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory.isConcreteType(
|
|
1843
|
+
obj
|
|
1844
|
+
);
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
const uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory: UniffiObjectFactory<CourseRegistrationStatusApplicationBuilderInterface> =
|
|
1849
|
+
(() => {
|
|
1850
|
+
return {
|
|
1851
|
+
create(
|
|
1852
|
+
pointer: UnsafeMutableRawPointer
|
|
1853
|
+
): CourseRegistrationStatusApplicationBuilderInterface {
|
|
1854
|
+
const instance = Object.create(
|
|
1855
|
+
CourseRegistrationStatusApplicationBuilder.prototype
|
|
1856
|
+
);
|
|
1857
|
+
instance[pointerLiteralSymbol] = pointer;
|
|
1858
|
+
instance[destructorGuardSymbol] = this.bless(pointer);
|
|
1859
|
+
instance[uniffiTypeNameSymbol] =
|
|
1860
|
+
'CourseRegistrationStatusApplicationBuilder';
|
|
1861
|
+
return instance;
|
|
1862
|
+
},
|
|
1863
|
+
|
|
1864
|
+
bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
|
|
1865
|
+
return uniffiCaller.rustCall(
|
|
1866
|
+
/*caller:*/ (status) =>
|
|
1867
|
+
nativeModule().ubrn_uniffi_internal_fn_method_courseregistrationstatusapplicationbuilder_ffi__bless_pointer(
|
|
1868
|
+
p,
|
|
1869
|
+
status
|
|
1870
|
+
),
|
|
1871
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1872
|
+
);
|
|
1873
|
+
},
|
|
1874
|
+
|
|
1875
|
+
unbless(ptr: UniffiRustArcPtr) {
|
|
1876
|
+
ptr.markDestroyed();
|
|
1877
|
+
},
|
|
1878
|
+
|
|
1879
|
+
pointer(
|
|
1880
|
+
obj: CourseRegistrationStatusApplicationBuilderInterface
|
|
1881
|
+
): UnsafeMutableRawPointer {
|
|
1882
|
+
if ((obj as any)[destructorGuardSymbol] === undefined) {
|
|
1883
|
+
throw new UniffiInternalError.UnexpectedNullPointer();
|
|
1884
|
+
}
|
|
1885
|
+
return (obj as any)[pointerLiteralSymbol];
|
|
1886
|
+
},
|
|
1887
|
+
|
|
1888
|
+
clonePointer(
|
|
1889
|
+
obj: CourseRegistrationStatusApplicationBuilderInterface
|
|
1890
|
+
): UnsafeMutableRawPointer {
|
|
1891
|
+
const pointer = this.pointer(obj);
|
|
1892
|
+
return uniffiCaller.rustCall(
|
|
1893
|
+
/*caller:*/ (callStatus) =>
|
|
1894
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_courseregistrationstatusapplicationbuilder(
|
|
1895
|
+
pointer,
|
|
1896
|
+
callStatus
|
|
1897
|
+
),
|
|
1898
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1899
|
+
);
|
|
1900
|
+
},
|
|
1901
|
+
|
|
1902
|
+
freePointer(pointer: UnsafeMutableRawPointer): void {
|
|
1903
|
+
uniffiCaller.rustCall(
|
|
1904
|
+
/*caller:*/ (callStatus) =>
|
|
1905
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_courseregistrationstatusapplicationbuilder(
|
|
1906
|
+
pointer,
|
|
1907
|
+
callStatus
|
|
1908
|
+
),
|
|
1909
|
+
/*liftString:*/ FfiConverterString.lift
|
|
1910
|
+
);
|
|
1911
|
+
},
|
|
1912
|
+
|
|
1913
|
+
isConcreteType(
|
|
1914
|
+
obj: any
|
|
1915
|
+
): obj is CourseRegistrationStatusApplicationBuilderInterface {
|
|
1916
|
+
return (
|
|
1917
|
+
obj[destructorGuardSymbol] &&
|
|
1918
|
+
obj[uniffiTypeNameSymbol] ===
|
|
1919
|
+
'CourseRegistrationStatusApplicationBuilder'
|
|
1920
|
+
);
|
|
1921
|
+
},
|
|
1922
|
+
};
|
|
1923
|
+
})();
|
|
1924
|
+
// FfiConverter for CourseRegistrationStatusApplicationBuilderInterface
|
|
1925
|
+
const FfiConverterTypeCourseRegistrationStatusApplicationBuilder =
|
|
1926
|
+
new FfiConverterObject(
|
|
1927
|
+
uniffiTypeCourseRegistrationStatusApplicationBuilderObjectFactory
|
|
1928
|
+
);
|
|
1929
|
+
|
|
1454
1930
|
/**
|
|
1455
1931
|
* [강의시간표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2100)
|
|
1456
1932
|
*/
|
|
@@ -3830,6 +4306,10 @@ const FfiConverterTypePersonalCourseScheduleApplicationBuilder =
|
|
|
3830
4306
|
* [장학금수혜내역조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW7530n)
|
|
3831
4307
|
*/
|
|
3832
4308
|
export interface ScholarshipsApplicationInterface {
|
|
4309
|
+
/**
|
|
4310
|
+
* 페이지를 새로고침합니다.
|
|
4311
|
+
*/
|
|
4312
|
+
reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
|
|
3833
4313
|
/**
|
|
3834
4314
|
* 장학금 수혜 내역을 가져옵니다.
|
|
3835
4315
|
*/
|
|
@@ -3856,6 +4336,42 @@ export class ScholarshipsApplication
|
|
|
3856
4336
|
uniffiTypeScholarshipsApplicationObjectFactory.bless(pointer);
|
|
3857
4337
|
}
|
|
3858
4338
|
|
|
4339
|
+
/**
|
|
4340
|
+
* 페이지를 새로고침합니다.
|
|
4341
|
+
*/
|
|
4342
|
+
public async reload(asyncOpts_?: {
|
|
4343
|
+
signal: AbortSignal;
|
|
4344
|
+
}): Promise<void> /*throws*/ {
|
|
4345
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
4346
|
+
try {
|
|
4347
|
+
return await uniffiRustCallAsync(
|
|
4348
|
+
/*rustCaller:*/ uniffiCaller,
|
|
4349
|
+
/*rustFutureFunc:*/ () => {
|
|
4350
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_scholarshipsapplication_reload(
|
|
4351
|
+
uniffiTypeScholarshipsApplicationObjectFactory.clonePointer(this)
|
|
4352
|
+
);
|
|
4353
|
+
},
|
|
4354
|
+
/*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
|
|
4355
|
+
/*cancelFunc:*/ nativeModule()
|
|
4356
|
+
.ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
|
|
4357
|
+
/*completeFunc:*/ nativeModule()
|
|
4358
|
+
.ubrn_ffi_rusaint_ffi_rust_future_complete_void,
|
|
4359
|
+
/*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
|
|
4360
|
+
/*liftFunc:*/ (_v) => {},
|
|
4361
|
+
/*liftString:*/ FfiConverterString.lift,
|
|
4362
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
4363
|
+
/*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
|
|
4364
|
+
FfiConverterTypeRusaintError
|
|
4365
|
+
)
|
|
4366
|
+
);
|
|
4367
|
+
} catch (__error: any) {
|
|
4368
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
4369
|
+
__error.stack = __stack;
|
|
4370
|
+
}
|
|
4371
|
+
throw __error;
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4374
|
+
|
|
3859
4375
|
/**
|
|
3860
4376
|
* 장학금 수혜 내역을 가져옵니다.
|
|
3861
4377
|
*/
|
|
@@ -4219,6 +4735,10 @@ export interface StudentInformationApplicationInterface {
|
|
|
4219
4735
|
religion(asyncOpts_?: {
|
|
4220
4736
|
signal: AbortSignal;
|
|
4221
4737
|
}) /*throws*/ : Promise<StudentReligion>;
|
|
4738
|
+
/**
|
|
4739
|
+
* 페이지를 새로고침합니다.
|
|
4740
|
+
*/
|
|
4741
|
+
reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
|
|
4222
4742
|
/**
|
|
4223
4743
|
* 학생의 연구비 입금 계좌를 반환합니다.
|
|
4224
4744
|
*/
|
|
@@ -4551,6 +5071,44 @@ export class StudentInformationApplication
|
|
|
4551
5071
|
}
|
|
4552
5072
|
}
|
|
4553
5073
|
|
|
5074
|
+
/**
|
|
5075
|
+
* 페이지를 새로고침합니다.
|
|
5076
|
+
*/
|
|
5077
|
+
public async reload(asyncOpts_?: {
|
|
5078
|
+
signal: AbortSignal;
|
|
5079
|
+
}): Promise<void> /*throws*/ {
|
|
5080
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
5081
|
+
try {
|
|
5082
|
+
return await uniffiRustCallAsync(
|
|
5083
|
+
/*rustCaller:*/ uniffiCaller,
|
|
5084
|
+
/*rustFutureFunc:*/ () => {
|
|
5085
|
+
return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_reload(
|
|
5086
|
+
uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(
|
|
5087
|
+
this
|
|
5088
|
+
)
|
|
5089
|
+
);
|
|
5090
|
+
},
|
|
5091
|
+
/*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
|
|
5092
|
+
/*cancelFunc:*/ nativeModule()
|
|
5093
|
+
.ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
|
|
5094
|
+
/*completeFunc:*/ nativeModule()
|
|
5095
|
+
.ubrn_ffi_rusaint_ffi_rust_future_complete_void,
|
|
5096
|
+
/*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
|
|
5097
|
+
/*liftFunc:*/ (_v) => {},
|
|
5098
|
+
/*liftString:*/ FfiConverterString.lift,
|
|
5099
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
5100
|
+
/*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
|
|
5101
|
+
FfiConverterTypeRusaintError
|
|
5102
|
+
)
|
|
5103
|
+
);
|
|
5104
|
+
} catch (__error: any) {
|
|
5105
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
5106
|
+
__error.stack = __stack;
|
|
5107
|
+
}
|
|
5108
|
+
throw __error;
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
|
|
4554
5112
|
/**
|
|
4555
5113
|
* 학생의 연구비 입금 계좌를 반환합니다.
|
|
4556
5114
|
*/
|
|
@@ -5428,6 +5986,11 @@ const FfiConverterArrayTypeLectureAssessmentResult = new FfiConverterArray(
|
|
|
5428
5986
|
FfiConverterTypeLectureAssessmentResult
|
|
5429
5987
|
);
|
|
5430
5988
|
|
|
5989
|
+
// FfiConverter for Array<RegisteredLecture>
|
|
5990
|
+
const FfiConverterArrayTypeRegisteredLecture = new FfiConverterArray(
|
|
5991
|
+
FfiConverterTypeRegisteredLecture
|
|
5992
|
+
);
|
|
5993
|
+
|
|
5431
5994
|
// FfiConverter for Array<Scholarship>
|
|
5432
5995
|
const FfiConverterArrayTypeScholarship = new FfiConverterArray(
|
|
5433
5996
|
FfiConverterTypeScholarship
|
|
@@ -5575,6 +6138,38 @@ function uniffiEnsureInitialized() {
|
|
|
5575
6138
|
'uniffi_rusaint_ffi_checksum_method_coursegradesapplicationbuilder_build'
|
|
5576
6139
|
);
|
|
5577
6140
|
}
|
|
6141
|
+
if (
|
|
6142
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplication_get_selected_semester() !==
|
|
6143
|
+
28001
|
|
6144
|
+
) {
|
|
6145
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6146
|
+
'uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplication_get_selected_semester'
|
|
6147
|
+
);
|
|
6148
|
+
}
|
|
6149
|
+
if (
|
|
6150
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplication_lectures() !==
|
|
6151
|
+
297
|
|
6152
|
+
) {
|
|
6153
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6154
|
+
'uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplication_lectures'
|
|
6155
|
+
);
|
|
6156
|
+
}
|
|
6157
|
+
if (
|
|
6158
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplication_reload() !==
|
|
6159
|
+
6563
|
|
6160
|
+
) {
|
|
6161
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6162
|
+
'uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplication_reload'
|
|
6163
|
+
);
|
|
6164
|
+
}
|
|
6165
|
+
if (
|
|
6166
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplicationbuilder_build() !==
|
|
6167
|
+
33070
|
|
6168
|
+
) {
|
|
6169
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6170
|
+
'uniffi_rusaint_ffi_checksum_method_courseregistrationstatusapplicationbuilder_build'
|
|
6171
|
+
);
|
|
6172
|
+
}
|
|
5578
6173
|
if (
|
|
5579
6174
|
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_chapel_categories() !==
|
|
5580
6175
|
21428
|
|
@@ -5783,6 +6378,14 @@ function uniffiEnsureInitialized() {
|
|
|
5783
6378
|
'uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplicationbuilder_build'
|
|
5784
6379
|
);
|
|
5785
6380
|
}
|
|
6381
|
+
if (
|
|
6382
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_scholarshipsapplication_reload() !==
|
|
6383
|
+
42434
|
|
6384
|
+
) {
|
|
6385
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6386
|
+
'uniffi_rusaint_ffi_checksum_method_scholarshipsapplication_reload'
|
|
6387
|
+
);
|
|
6388
|
+
}
|
|
5786
6389
|
if (
|
|
5787
6390
|
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_scholarshipsapplication_scholarships() !==
|
|
5788
6391
|
28486
|
|
@@ -5855,6 +6458,14 @@ function uniffiEnsureInitialized() {
|
|
|
5855
6458
|
'uniffi_rusaint_ffi_checksum_method_studentinformationapplication_religion'
|
|
5856
6459
|
);
|
|
5857
6460
|
}
|
|
6461
|
+
if (
|
|
6462
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_reload() !==
|
|
6463
|
+
12310
|
|
6464
|
+
) {
|
|
6465
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6466
|
+
'uniffi_rusaint_ffi_checksum_method_studentinformationapplication_reload'
|
|
6467
|
+
);
|
|
6468
|
+
}
|
|
5858
6469
|
if (
|
|
5859
6470
|
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_research_bank_account() !==
|
|
5860
6471
|
7706
|
|
@@ -5943,6 +6554,14 @@ function uniffiEnsureInitialized() {
|
|
|
5943
6554
|
'uniffi_rusaint_ffi_checksum_constructor_coursegradesapplicationbuilder_new'
|
|
5944
6555
|
);
|
|
5945
6556
|
}
|
|
6557
|
+
if (
|
|
6558
|
+
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_constructor_courseregistrationstatusapplicationbuilder_new() !==
|
|
6559
|
+
53154
|
|
6560
|
+
) {
|
|
6561
|
+
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6562
|
+
'uniffi_rusaint_ffi_checksum_constructor_courseregistrationstatusapplicationbuilder_new'
|
|
6563
|
+
);
|
|
6564
|
+
}
|
|
5946
6565
|
if (
|
|
5947
6566
|
nativeModule().ubrn_uniffi_rusaint_ffi_checksum_constructor_coursescheduleapplicationbuilder_new() !==
|
|
5948
6567
|
52419
|
|
@@ -6008,6 +6627,8 @@ export default Object.freeze({
|
|
|
6008
6627
|
FfiConverterTypeChapelApplicationBuilder,
|
|
6009
6628
|
FfiConverterTypeCourseGradesApplication,
|
|
6010
6629
|
FfiConverterTypeCourseGradesApplicationBuilder,
|
|
6630
|
+
FfiConverterTypeCourseRegistrationStatusApplication,
|
|
6631
|
+
FfiConverterTypeCourseRegistrationStatusApplicationBuilder,
|
|
6011
6632
|
FfiConverterTypeCourseScheduleApplication,
|
|
6012
6633
|
FfiConverterTypeCourseScheduleApplicationBuilder,
|
|
6013
6634
|
FfiConverterTypeGraduationRequirementsApplication,
|