@rusaint/react-native 0.10.0-dev.1 → 0.10.0-dev.3
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/generated/java/{dev/eatsteak/rusaint/reactnative → com/facebook/fbreact/specs}/NativeReactNativeSpec.java +1 -1
- package/build/RusaintReactNativeFramework.xcframework/Info.plist +4 -4
- package/build/RusaintReactNativeFramework.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/build/RusaintReactNativeFramework.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/build/RusaintReactNativeFramework.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/generated/RCTAppDependencyProvider.h +25 -0
- package/ios/generated/RCTAppDependencyProvider.mm +35 -0
- package/ios/generated/RCTModuleProviders.h +16 -0
- package/ios/generated/RCTModuleProviders.mm +51 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +54 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.h +16 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.mm +30 -0
- package/ios/generated/ReactAppDependencyProvider.podspec +34 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/NativeReactNative.d.ts +8 -0
- package/lib/typescript/module/src/NativeReactNative.d.ts.map +1 -0
- package/lib/typescript/module/src/generated/rusaint-ffi.d.ts +109 -0
- package/lib/typescript/module/src/generated/rusaint-ffi.d.ts.map +1 -0
- package/lib/typescript/module/src/generated/rusaint.d.ts +2330 -0
- package/lib/typescript/module/src/generated/rusaint.d.ts.map +1 -0
- package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts +300 -0
- package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts.map +1 -0
- package/lib/typescript/module/src/generated/rusaint_ffi.d.ts +1111 -0
- package/lib/typescript/module/src/generated/rusaint_ffi.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +10 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>librusaint_ffi.a</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-arm64</string>
|
|
11
|
+
<string>ios-arm64-simulator</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>librusaint_ffi.a</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
</array>
|
|
18
18
|
<key>SupportedPlatform</key>
|
|
19
19
|
<string>ios</string>
|
|
20
|
+
<key>SupportedPlatformVariant</key>
|
|
21
|
+
<string>simulator</string>
|
|
20
22
|
</dict>
|
|
21
23
|
<dict>
|
|
22
24
|
<key>BinaryPath</key>
|
|
23
25
|
<string>librusaint_ffi.a</string>
|
|
24
26
|
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>ios-arm64
|
|
27
|
+
<string>ios-arm64</string>
|
|
26
28
|
<key>LibraryPath</key>
|
|
27
29
|
<string>librusaint_ffi.a</string>
|
|
28
30
|
<key>SupportedArchitectures</key>
|
|
@@ -31,8 +33,6 @@
|
|
|
31
33
|
</array>
|
|
32
34
|
<key>SupportedPlatform</key>
|
|
33
35
|
<string>ios</string>
|
|
34
|
-
<key>SupportedPlatformVariant</key>
|
|
35
|
-
<string>simulator</string>
|
|
36
36
|
</dict>
|
|
37
37
|
</array>
|
|
38
38
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
|
|
11
|
+
#if __has_include(<React-RCTAppDelegate/RCTDependencyProvider.h>)
|
|
12
|
+
#import <React-RCTAppDelegate/RCTDependencyProvider.h>
|
|
13
|
+
#elif __has_include(<React_RCTAppDelegate/RCTDependencyProvider.h>)
|
|
14
|
+
#import <React_RCTAppDelegate/RCTDependencyProvider.h>
|
|
15
|
+
#else
|
|
16
|
+
#import "RCTDependencyProvider.h"
|
|
17
|
+
#endif
|
|
18
|
+
|
|
19
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
20
|
+
|
|
21
|
+
@interface RCTAppDependencyProvider : NSObject <RCTDependencyProvider>
|
|
22
|
+
|
|
23
|
+
@end
|
|
24
|
+
|
|
25
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import "RCTAppDependencyProvider.h"
|
|
9
|
+
#import <ReactCodegen/RCTModulesConformingToProtocolsProvider.h>
|
|
10
|
+
#import <ReactCodegen/RCTThirdPartyComponentsProvider.h>
|
|
11
|
+
#import <ReactCodegen/RCTModuleProviders.h>
|
|
12
|
+
|
|
13
|
+
@implementation RCTAppDependencyProvider
|
|
14
|
+
|
|
15
|
+
- (nonnull NSArray<NSString *> *)URLRequestHandlerClassNames {
|
|
16
|
+
return RCTModulesConformingToProtocolsProvider.URLRequestHandlerClassNames;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
- (nonnull NSArray<NSString *> *)imageDataDecoderClassNames {
|
|
20
|
+
return RCTModulesConformingToProtocolsProvider.imageDataDecoderClassNames;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
- (nonnull NSArray<NSString *> *)imageURLLoaderClassNames {
|
|
24
|
+
return RCTModulesConformingToProtocolsProvider.imageURLLoaderClassNames;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
- (nonnull NSDictionary<NSString *,Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents {
|
|
28
|
+
return RCTThirdPartyComponentsProvider.thirdPartyFabricComponents;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
- (nonnull NSDictionary<NSString *, id<RCTModuleProvider>> *)moduleProviders {
|
|
32
|
+
return RCTModuleProviders.moduleProviders;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@protocol RCTModuleProvider;
|
|
11
|
+
|
|
12
|
+
@interface RCTModuleProviders: NSObject
|
|
13
|
+
|
|
14
|
+
+ (NSDictionary<NSString *, id<RCTModuleProvider>> *)moduleProviders;
|
|
15
|
+
|
|
16
|
+
@end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
#import "RCTModuleProviders.h"
|
|
11
|
+
#import <ReactCommon/RCTTurboModule.h>
|
|
12
|
+
#import <React/RCTLog.h>
|
|
13
|
+
|
|
14
|
+
@implementation RCTModuleProviders
|
|
15
|
+
|
|
16
|
+
+ (NSDictionary<NSString *, id<RCTModuleProvider>> *)moduleProviders
|
|
17
|
+
{
|
|
18
|
+
static NSDictionary<NSString *, id<RCTModuleProvider>> *providers = nil;
|
|
19
|
+
static dispatch_once_t onceToken;
|
|
20
|
+
|
|
21
|
+
dispatch_once(&onceToken, ^{
|
|
22
|
+
NSDictionary<NSString *, NSString *> * moduleMapping = @{
|
|
23
|
+
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithCapacity:moduleMapping.count];
|
|
27
|
+
|
|
28
|
+
for (NSString *key in moduleMapping) {
|
|
29
|
+
NSString * moduleProviderName = moduleMapping[key];
|
|
30
|
+
Class klass = NSClassFromString(moduleProviderName);
|
|
31
|
+
if (!klass) {
|
|
32
|
+
RCTLogError(@"Module provider %@ cannot be found in the runtime", moduleProviderName);
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
id instance = [klass new];
|
|
37
|
+
if (![instance respondsToSelector:@selector(getTurboModule:)]) {
|
|
38
|
+
RCTLogError(@"Module provider %@ does not conform to RCTModuleProvider", moduleProviderName);
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[dict setObject:instance forKey:key];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
providers = dict;
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
return providers;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@interface RCTModulesConformingToProtocolsProvider: NSObject
|
|
11
|
+
|
|
12
|
+
+(NSArray<NSString *> *)imageURLLoaderClassNames;
|
|
13
|
+
|
|
14
|
+
+(NSArray<NSString *> *)imageDataDecoderClassNames;
|
|
15
|
+
|
|
16
|
+
+(NSArray<NSString *> *)URLRequestHandlerClassNames;
|
|
17
|
+
|
|
18
|
+
@end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import "RCTModulesConformingToProtocolsProvider.h"
|
|
9
|
+
|
|
10
|
+
@implementation RCTModulesConformingToProtocolsProvider
|
|
11
|
+
|
|
12
|
+
+(NSArray<NSString *> *)imageURLLoaderClassNames
|
|
13
|
+
{
|
|
14
|
+
static NSArray<NSString *> *classNames = nil;
|
|
15
|
+
static dispatch_once_t onceToken;
|
|
16
|
+
|
|
17
|
+
dispatch_once(&onceToken, ^{
|
|
18
|
+
classNames = @[
|
|
19
|
+
|
|
20
|
+
];
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
return classNames;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
+(NSArray<NSString *> *)imageDataDecoderClassNames
|
|
27
|
+
{
|
|
28
|
+
static NSArray<NSString *> *classNames = nil;
|
|
29
|
+
static dispatch_once_t onceToken;
|
|
30
|
+
|
|
31
|
+
dispatch_once(&onceToken, ^{
|
|
32
|
+
classNames = @[
|
|
33
|
+
|
|
34
|
+
];
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
return classNames;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
+(NSArray<NSString *> *)URLRequestHandlerClassNames
|
|
41
|
+
{
|
|
42
|
+
static NSArray<NSString *> *classNames = nil;
|
|
43
|
+
static dispatch_once_t onceToken;
|
|
44
|
+
|
|
45
|
+
dispatch_once(&onceToken, ^{
|
|
46
|
+
classNames = @[
|
|
47
|
+
|
|
48
|
+
];
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
return classNames;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@protocol RCTComponentViewProtocol;
|
|
11
|
+
|
|
12
|
+
@interface RCTThirdPartyComponentsProvider: NSObject
|
|
13
|
+
|
|
14
|
+
+ (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents;
|
|
15
|
+
|
|
16
|
+
@end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
|
|
11
|
+
#import "RCTThirdPartyComponentsProvider.h"
|
|
12
|
+
#import <React/RCTComponentViewProtocol.h>
|
|
13
|
+
|
|
14
|
+
@implementation RCTThirdPartyComponentsProvider
|
|
15
|
+
|
|
16
|
+
+ (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents
|
|
17
|
+
{
|
|
18
|
+
static NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *thirdPartyComponents = nil;
|
|
19
|
+
static dispatch_once_t nativeComponentsToken;
|
|
20
|
+
|
|
21
|
+
dispatch_once(&nativeComponentsToken, ^{
|
|
22
|
+
thirdPartyComponents = @{
|
|
23
|
+
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
return thirdPartyComponents;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
#
|
|
3
|
+
# This source code is licensed under the MIT license found in the
|
|
4
|
+
# LICENSE file in the root directory of this source tree.
|
|
5
|
+
|
|
6
|
+
version = "0.79.2"
|
|
7
|
+
source = { :git => 'https://github.com/facebook/react-native.git' }
|
|
8
|
+
if version == '1000.0.0'
|
|
9
|
+
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
|
|
10
|
+
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
|
|
11
|
+
else
|
|
12
|
+
source[:tag] = "v#{version}"
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
Pod::Spec.new do |s|
|
|
16
|
+
s.name = "ReactAppDependencyProvider"
|
|
17
|
+
s.version = version
|
|
18
|
+
s.summary = "The third party dependency provider for the app"
|
|
19
|
+
s.homepage = "https://reactnative.dev/"
|
|
20
|
+
s.documentation_url = "https://reactnative.dev/"
|
|
21
|
+
s.license = "MIT"
|
|
22
|
+
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
23
|
+
s.platforms = min_supported_versions
|
|
24
|
+
s.source = source
|
|
25
|
+
s.source_files = "**/RCTAppDependencyProvider.{h,mm}"
|
|
26
|
+
|
|
27
|
+
# This guard prevent to install the dependencies when we run `pod install` in the old architecture.
|
|
28
|
+
s.pod_target_xcconfig = {
|
|
29
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
|
|
30
|
+
"DEFINES_MODULE" => "YES"
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
s.dependency "ReactCodegen"
|
|
34
|
+
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TurboModule } from 'react-native';
|
|
2
|
+
export interface Spec extends TurboModule {
|
|
3
|
+
installRustCrate(): boolean;
|
|
4
|
+
cleanupRustCrate(): boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: Spec;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=NativeReactNative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeReactNative.d.ts","sourceRoot":"","sources":["../../../../src/NativeReactNative.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,gBAAgB,IAAI,OAAO,CAAC;IAC5B,gBAAgB,IAAI,OAAO,CAAC;CAC7B;;AAED,wBAAqE"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { type UniffiRustCallStatus, type UniffiRustArcPtr } from 'uniffi-bindgen-react-native';
|
|
2
|
+
interface NativeModuleInterface {
|
|
3
|
+
ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length(string: string, uniffi_out_err: UniffiRustCallStatus): number;
|
|
4
|
+
ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(string: string, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
5
|
+
ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(buffer: Uint8Array, uniffi_out_err: UniffiRustCallStatus): string;
|
|
6
|
+
ubrn_uniffi_rusaint_fn_clone_lecturecategorybuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
7
|
+
ubrn_uniffi_rusaint_fn_free_lecturecategorybuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
8
|
+
ubrn_uniffi_rusaint_fn_constructor_lecturecategorybuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
9
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_chapel(ptr: bigint, lectureName: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
10
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_connected_major(ptr: bigint, major: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
11
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_cyber(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
12
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_education(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
13
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_find_by_lecture(ptr: bigint, keyword: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
14
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_find_by_professor(ptr: bigint, keyword: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
15
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_graduated(ptr: bigint, collage: Uint8Array, department: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
16
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_major(ptr: bigint, collage: Uint8Array, department: Uint8Array, major: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
17
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_optional_elective(ptr: bigint, category: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
18
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_recognized_other_major(ptr: bigint, collage: Uint8Array, department: Uint8Array, major: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
19
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_required_elective(ptr: bigint, lectureName: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
20
|
+
ubrn_uniffi_rusaint_fn_method_lecturecategorybuilder_united_major(ptr: bigint, major: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
21
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_chapel(): number;
|
|
22
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_connected_major(): number;
|
|
23
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_cyber(): number;
|
|
24
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_education(): number;
|
|
25
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_find_by_lecture(): number;
|
|
26
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_find_by_professor(): number;
|
|
27
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_graduated(): number;
|
|
28
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_major(): number;
|
|
29
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_optional_elective(): number;
|
|
30
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_recognized_other_major(): number;
|
|
31
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_required_elective(): number;
|
|
32
|
+
ubrn_uniffi_rusaint_checksum_method_lecturecategorybuilder_united_major(): number;
|
|
33
|
+
ubrn_uniffi_rusaint_checksum_constructor_lecturecategorybuilder_new(): number;
|
|
34
|
+
ubrn_ffi_rusaint_uniffi_contract_version(): number;
|
|
35
|
+
ubrn_uniffi_internal_fn_method_lecturecategorybuilder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
|
|
36
|
+
}
|
|
37
|
+
declare const getter: () => NativeModuleInterface;
|
|
38
|
+
export default getter;
|
|
39
|
+
export type UniffiRustFutureContinuationCallback = (data: bigint, pollResult: number) => void;
|
|
40
|
+
type UniffiForeignFutureFree = (handle: bigint) => void;
|
|
41
|
+
export type UniffiForeignFuture = {
|
|
42
|
+
handle: bigint;
|
|
43
|
+
free: UniffiForeignFutureFree;
|
|
44
|
+
};
|
|
45
|
+
export type UniffiForeignFutureStructU8 = {
|
|
46
|
+
returnValue: number;
|
|
47
|
+
callStatus: UniffiRustCallStatus;
|
|
48
|
+
};
|
|
49
|
+
export type UniffiForeignFutureCompleteU8 = (callbackData: bigint, result: UniffiForeignFutureStructU8) => void;
|
|
50
|
+
export type UniffiForeignFutureStructI8 = {
|
|
51
|
+
returnValue: number;
|
|
52
|
+
callStatus: UniffiRustCallStatus;
|
|
53
|
+
};
|
|
54
|
+
export type UniffiForeignFutureCompleteI8 = (callbackData: bigint, result: UniffiForeignFutureStructI8) => void;
|
|
55
|
+
export type UniffiForeignFutureStructU16 = {
|
|
56
|
+
returnValue: number;
|
|
57
|
+
callStatus: UniffiRustCallStatus;
|
|
58
|
+
};
|
|
59
|
+
export type UniffiForeignFutureCompleteU16 = (callbackData: bigint, result: UniffiForeignFutureStructU16) => void;
|
|
60
|
+
export type UniffiForeignFutureStructI16 = {
|
|
61
|
+
returnValue: number;
|
|
62
|
+
callStatus: UniffiRustCallStatus;
|
|
63
|
+
};
|
|
64
|
+
export type UniffiForeignFutureCompleteI16 = (callbackData: bigint, result: UniffiForeignFutureStructI16) => void;
|
|
65
|
+
export type UniffiForeignFutureStructU32 = {
|
|
66
|
+
returnValue: number;
|
|
67
|
+
callStatus: UniffiRustCallStatus;
|
|
68
|
+
};
|
|
69
|
+
export type UniffiForeignFutureCompleteU32 = (callbackData: bigint, result: UniffiForeignFutureStructU32) => void;
|
|
70
|
+
export type UniffiForeignFutureStructI32 = {
|
|
71
|
+
returnValue: number;
|
|
72
|
+
callStatus: UniffiRustCallStatus;
|
|
73
|
+
};
|
|
74
|
+
export type UniffiForeignFutureCompleteI32 = (callbackData: bigint, result: UniffiForeignFutureStructI32) => void;
|
|
75
|
+
export type UniffiForeignFutureStructU64 = {
|
|
76
|
+
returnValue: bigint;
|
|
77
|
+
callStatus: UniffiRustCallStatus;
|
|
78
|
+
};
|
|
79
|
+
export type UniffiForeignFutureCompleteU64 = (callbackData: bigint, result: UniffiForeignFutureStructU64) => void;
|
|
80
|
+
export type UniffiForeignFutureStructI64 = {
|
|
81
|
+
returnValue: bigint;
|
|
82
|
+
callStatus: UniffiRustCallStatus;
|
|
83
|
+
};
|
|
84
|
+
export type UniffiForeignFutureCompleteI64 = (callbackData: bigint, result: UniffiForeignFutureStructI64) => void;
|
|
85
|
+
export type UniffiForeignFutureStructF32 = {
|
|
86
|
+
returnValue: number;
|
|
87
|
+
callStatus: UniffiRustCallStatus;
|
|
88
|
+
};
|
|
89
|
+
export type UniffiForeignFutureCompleteF32 = (callbackData: bigint, result: UniffiForeignFutureStructF32) => void;
|
|
90
|
+
export type UniffiForeignFutureStructF64 = {
|
|
91
|
+
returnValue: number;
|
|
92
|
+
callStatus: UniffiRustCallStatus;
|
|
93
|
+
};
|
|
94
|
+
export type UniffiForeignFutureCompleteF64 = (callbackData: bigint, result: UniffiForeignFutureStructF64) => void;
|
|
95
|
+
export type UniffiForeignFutureStructPointer = {
|
|
96
|
+
returnValue: bigint;
|
|
97
|
+
callStatus: UniffiRustCallStatus;
|
|
98
|
+
};
|
|
99
|
+
export type UniffiForeignFutureCompletePointer = (callbackData: bigint, result: UniffiForeignFutureStructPointer) => void;
|
|
100
|
+
export type UniffiForeignFutureStructRustBuffer = {
|
|
101
|
+
returnValue: Uint8Array;
|
|
102
|
+
callStatus: UniffiRustCallStatus;
|
|
103
|
+
};
|
|
104
|
+
export type UniffiForeignFutureCompleteRustBuffer = (callbackData: bigint, result: UniffiForeignFutureStructRustBuffer) => void;
|
|
105
|
+
export type UniffiForeignFutureStructVoid = {
|
|
106
|
+
callStatus: UniffiRustCallStatus;
|
|
107
|
+
};
|
|
108
|
+
export type UniffiForeignFutureCompleteVoid = (callbackData: bigint, result: UniffiForeignFutureStructVoid) => void;
|
|
109
|
+
//# sourceMappingURL=rusaint-ffi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rusaint-ffi.d.ts","sourceRoot":"","sources":["../../../../../src/generated/rusaint-ffi.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EAGtB,MAAM,6BAA6B,CAAC;AAErC,UAAU,qBAAqB;IAC7B,uDAAuD,CACrD,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,oBAAoB,GACnC,MAAM,CAAC;IACV,uDAAuD,CACrD,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,oBAAoB,GACnC,UAAU,CAAC;IACd,uDAAuD,CACrD,MAAM,EAAE,UAAU,EAClB,cAAc,EAAE,oBAAoB,GACnC,MAAM,CAAC;IACV,mDAAmD,CACjD,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,oBAAoB,GACnC,MAAM,CAAC;IACV,kDAAkD,CAChD,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,oBAAoB,GACnC,IAAI,CAAC;IACR,6DAA6D,CAC3D,cAAc,EAAE,oBAAoB,GACnC,MAAM,CAAC;IACV,2DAA2D,CACzD,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,UAAU,EACvB,cAAc,EAAE,oBAAoB,GACnC,UAAU,CAAC;IACd,oEAAoE,CAClE,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,UAAU,EACjB,cAAc,EAAE,oBAAoB,GACnC,UAAU,CAAC;IACd,0DAA0D,CACxD,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,oBAAoB,GACnC,UAAU,CAAC;IACd,8DAA8D,CAC5D,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,oBAAoB,GACnC,UAAU,CAAC;IACd,oEAAoE,CAClE,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,UAAU,EACnB,cAAc,EAAE,oBAAoB,GACnC,UAAU,CAAC;IACd,sEAAsE,CACpE,GAAG,EAAE,MAAM,EACX,OAAO,E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