UNPKG

@react-native-ohos/realm

Version:

Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores

161 lines 10.2 kB
import { Realm as RealmConstructor } from "./Realm"; import * as ns from "./namespace"; declare global { /** @deprecated Will be removed in v13.0.0. Please use an import statement. */ export class Realm extends RealmConstructor { } /** * @deprecated Will be removed in v13.0.0. Please use an import statement. */ export namespace Realm { export import Realm = RealmConstructor; export import flags = ns.flags; export import Object = ns.RealmObject; export import App = ns.App; export import Auth = ns.Auth; export import BSON = ns.BSON; export import Types = ns.Types; export import Services = ns.Services; export import index = ns.index; export import mapTo = ns.mapTo; export import kmToRadians = ns.kmToRadians; export import miToRadians = ns.miToRadians; export import AnyCollection = ns.AnyCollection; export import AnyDictionary = ns.AnyDictionary; export import AnyList = ns.AnyList; export import AnyRealmObject = ns.AnyRealmObject; export import AnyResults = ns.AnyResults; export import AnyUser = ns.AnyUser; export import ApiKey = ns.ApiKey; export import AppChangeCallback = ns.AppChangeCallback; export import AssertionError = ns.AssertionError; export import AppConfiguration = ns.AppConfiguration; export import AppServicesFunction = ns.AppServicesFunction; export import BaseConfiguration = ns.BaseConfiguration; export import BaseObjectSchema = ns.BaseObjectSchema; export import BaseSyncConfiguration = ns.BaseSyncConfiguration; export import CanonicalGeoPoint = ns.CanonicalGeoPoint; export import CanonicalGeoPolygon = ns.CanonicalGeoPolygon; export import CanonicalObjectSchema = ns.CanonicalObjectSchema; export import CanonicalPropertiesTypes = ns.CanonicalPropertiesTypes; export import CanonicalPropertySchema = ns.CanonicalPropertySchema; export import ClientResetAfterCallback = ns.ClientResetAfterCallback; export import ClientResetBeforeCallback = ns.ClientResetBeforeCallback; export import ClientResetConfig = ns.ClientResetConfig; export import ClientResetDiscardUnsyncedChangesConfiguration = ns.ClientResetDiscardUnsyncedChangesConfiguration; export import ClientResetFallbackCallback = ns.ClientResetFallbackCallback; export import ClientResetManualConfiguration = ns.ClientResetManualConfiguration; export import ClientResetMode = ns.ClientResetMode; export import ClientResetRecoverOrDiscardUnsyncedChangesConfiguration = ns.ClientResetRecoverOrDiscardUnsyncedChangesConfiguration; export import ClientResetRecoverUnsyncedChangesConfiguration = ns.ClientResetRecoverUnsyncedChangesConfiguration; export import Collection = ns.Collection; export import CollectionChangeCallback = ns.CollectionChangeCallback; export import CollectionChangeSet = ns.CollectionChangeSet; export import CollectionPropertyTypeName = ns.CollectionPropertyTypeName; export import CompensatingWriteError = ns.CompensatingWriteError; export import CompensatingWriteInfo = ns.CompensatingWriteInfo; export import Configuration = ns.Configuration; export import ConfigurationWithoutSync = ns.ConfigurationWithoutSync; export import ConfigurationWithSync = ns.ConfigurationWithSync; export import ConnectionNotificationCallback = ns.ConnectionNotificationCallback; export import ConnectionState = ns.ConnectionState; export import Credentials = ns.Credentials; export import DefaultFunctionsFactory = ns.DefaultFunctionsFactory; export import DefaultUserProfileData = ns.DefaultUserProfileData; export import Dictionary = ns.Dictionary; export import DictionaryChangeCallback = ns.DictionaryChangeCallback; export import DictionaryChangeSet = ns.DictionaryChangeSet; export import ErrorCallback = ns.ErrorCallback; export import FlexibleSyncConfiguration = ns.FlexibleSyncConfiguration; export import GeoBox = ns.GeoBox; export import GeoCircle = ns.GeoCircle; export import GeoPoint = ns.GeoPoint; export import GeoPolygon = ns.GeoPolygon; export import GeoPosition = ns.GeoPosition; export import IndexDecorator = ns.IndexDecorator; export import IndexedType = ns.IndexedType; export import InitialSubscriptions = ns.InitialSubscriptions; export import List = ns.List; export import LocalAppConfiguration = ns.LocalAppConfiguration; export import Logger = ns.Logger; export import LoggerCallback = ns.LoggerCallback; export import MapToDecorator = ns.MapToDecorator; export import Metadata = ns.Metadata; export import MetadataMode = ns.MetadataMode; export import MigrationCallback = ns.MigrationCallback; export import MigrationOptions = ns.MigrationOptions; export import Mixed = ns.Types.Mixed; export import MongoDB = ns.MongoDB; export import MongoDBService = ns.MongoDBService; export import NumericLogLevel = ns.NumericLogLevel; export import ObjectChangeCallback = ns.ObjectChangeCallback; export import ObjectChangeSet = ns.ObjectChangeSet; export import ObjectSchema = ns.ObjectSchema; export import ObjectType = ns.ObjectType; export import OpenRealmBehaviorConfiguration = ns.OpenRealmBehaviorConfiguration; export import OpenRealmBehaviorType = ns.OpenRealmBehaviorType; export import OpenRealmTimeOutBehavior = ns.OpenRealmTimeOutBehavior; export import OrderedCollection = ns.OrderedCollection; export import PartitionSyncConfiguration = ns.PartitionSyncConfiguration; export import PrimaryKey = ns.PrimaryKey; export import PrimitivePropertyTypeName = ns.PrimitivePropertyTypeName; export import ProgressDirection = ns.ProgressDirection; export import ProgressMode = ns.ProgressMode; export import ProgressNotificationCallback = ns.ProgressNotificationCallback; export import ProgressRealmPromise = ns.ProgressRealmPromise; export import PropertiesTypes = ns.PropertiesTypes; export import PropertySchema = ns.PropertySchema; export import PropertySchemaParseError = ns.PropertySchemaParseError; export import PropertySchemaShorthand = ns.PropertySchemaShorthand; export import PropertySchemaStrict = ns.PropertySchemaStrict; export import PropertyTypeName = ns.PropertyTypeName; export import ProviderType = ns.ProviderType; export import ProxyType = ns.ProxyType; export import RealmEvent = ns.RealmEvent; export import RealmEventName = ns.RealmEventName; export import RealmListenerCallback = ns.RealmListenerCallback; export import RealmObjectConstructor = ns.RealmObjectConstructor; export import RelationshipPropertyTypeName = ns.RelationshipPropertyTypeName; export import Results = ns.Results; export import SchemaParseError = ns.SchemaParseError; export import SecretApiKey = ns.SecretApiKey; export import SessionState = ns.SessionState; export import SessionStopPolicy = ns.SessionStopPolicy; export import Set = ns.RealmSet; export import SortDescriptor = ns.SortDescriptor; export import SSLConfiguration = ns.SSLConfiguration; export import SSLVerifyCallback = ns.SSLVerifyCallback; export import SSLVerifyObject = ns.SSLVerifyObject; export import SubscriptionSetState = ns.SubscriptionSetState; export import SyncConfiguration = ns.SyncConfiguration; export import SyncError = ns.SyncError; export import SyncProxyConfig = ns.SyncProxyConfig; export import TypeAssertionError = ns.TypeAssertionError; export import Unmanaged = ns.Unmanaged; export import UpdateMode = ns.UpdateMode; export import User = ns.User; export import UserChangeCallback = ns.UserChangeCallback; export import UserIdentity = ns.UserIdentity; export import UserState = ns.UserState; export import WaitForSync = ns.WaitForSync; export import WatchOptionsFilter = ns.WatchOptionsFilter; export import WatchOptionsIds = ns.WatchOptionsIds; /** @deprecated Will be removed in v13.0.0. Please use {@link ns.AppServicesFunction | AppServicesFunction} */ export import RealmFunction = ns.AppServicesFunction; /** @deprecated Will be removed in v13.0.0. Please use {@link ns.CanonicalPropertySchema | CanonicalPropertySchema} */ export import CanonicalObjectSchemaProperty = ns.CanonicalPropertySchema; /** @deprecated Will be removed in v13.0.0. Please use {@link ns.ClientResetRecoverUnsyncedChangesConfiguration | ClientResetRecoverUnsyncedChangesConfiguration} */ export import ClientResetRecoveryConfiguration = ns.ClientResetRecoverUnsyncedChangesConfiguration; /** @deprecated Will be removed in v13.0.0. Please use {@link ns.PropertySchema | PropertySchema} */ export import ObjectSchemaProperty = ns.PropertySchema; /** @deprecated Will be removed in v13.0.0. Please use {@link ns.RealmObjectConstructor | RealmObjectConstructor} */ export import ObjectClass = ns.RealmObjectConstructor; /** @deprecated Will be removed in v13.0.0. Please use {@link ns.PropertyTypeName | PropertyTypeName} */ export import PropertyType = ns.PropertyTypeName; /** @deprecated Use the another {@link ns.ClientResetMode | ClientResetMode} than {@link ns.ClientResetMode.Manual | ClientResetMode.Manual}. */ export import ClientResetError = ns.ClientResetError; /** @deprecated See https://www.mongodb.com/docs/atlas/app-services/reference/push-notifications/ */ export import PushClient = ns.PushClient; } } //# sourceMappingURL=deprecated-global.d.ts.map