@@ -2651,6 +2651,18 @@ public protocol LoroMovableListProtocol : AnyObject {
2651
2651
*/
2652
2652
func getCursor( pos: UInt32 , side: Side ) -> Cursor ?
2653
2653
2654
+ /**
2655
+ * Get the deep value of the container.
2656
+ */
2657
+ func getDeepValue( ) -> LoroValue
2658
+
2659
+ /**
2660
+ * Get the shallow value of the container.
2661
+ *
2662
+ * This does not convert the state of sub-containers; instead, it represents them as [LoroValue::Container].
2663
+ */
2664
+ func getValue( ) -> LoroValue
2665
+
2654
2666
/**
2655
2667
* Get the container id.
2656
2668
*/
@@ -2806,6 +2818,28 @@ open func getCursor(pos: UInt32, side: Side) -> Cursor? {
2806
2818
FfiConverterTypeSide . lower ( side) , $0
2807
2819
)
2808
2820
} )
2821
+ }
2822
+
2823
+ /**
2824
+ * Get the deep value of the container.
2825
+ */
2826
+ open func getDeepValue( ) -> LoroValue {
2827
+ return try ! FfiConverterTypeLoroValue . lift ( try ! rustCall ( ) {
2828
+ uniffi_loro_fn_method_loromovablelist_get_deep_value ( self . uniffiClonePointer ( ) , $0
2829
+ )
2830
+ } )
2831
+ }
2832
+
2833
+ /**
2834
+ * Get the shallow value of the container.
2835
+ *
2836
+ * This does not convert the state of sub-containers; instead, it represents them as [LoroValue::Container].
2837
+ */
2838
+ open func getValue( ) -> LoroValue {
2839
+ return try ! FfiConverterTypeLoroValue . lift ( try ! rustCall ( ) {
2840
+ uniffi_loro_fn_method_loromovablelist_get_value ( self . uniffiClonePointer ( ) , $0
2841
+ )
2842
+ } )
2809
2843
}
2810
2844
2811
2845
/**
@@ -7881,6 +7915,12 @@ private var initializationResult: InitializationResult = {
7881
7915
if ( uniffi_loro_checksum_method_loromovablelist_get_cursor ( ) != 118 ) {
7882
7916
return InitializationResult . apiChecksumMismatch
7883
7917
}
7918
+ if ( uniffi_loro_checksum_method_loromovablelist_get_deep_value ( ) != 18542 ) {
7919
+ return InitializationResult . apiChecksumMismatch
7920
+ }
7921
+ if ( uniffi_loro_checksum_method_loromovablelist_get_value ( ) != 50843 ) {
7922
+ return InitializationResult . apiChecksumMismatch
7923
+ }
7884
7924
if ( uniffi_loro_checksum_method_loromovablelist_id ( ) != 9803 ) {
7885
7925
return InitializationResult . apiChecksumMismatch
7886
7926
}
0 commit comments