realm
Version:
Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores
25 lines (24 loc) • 866 B
TypeScript
import * as internal from "./internal";
declare const GlobalDate: DateConstructor;
type GlobalDate = Date;
export declare namespace Types {
type Bool = boolean;
type String = string;
type Int = number;
type Float = number;
type Double = number;
export import Decimal128 = internal.BSON.Decimal128;
export import ObjectId = internal.BSON.ObjectId;
export import UUID = internal.BSON.UUID;
type Date = GlobalDate;
const Date: DateConstructor;
type Data = ArrayBuffer;
const Data: ArrayBufferConstructor;
export import List = internal.List;
export import Set = internal.RealmSet;
export import Dictionary = internal.Dictionary;
type Mixed = unknown;
type LinkingObjects<ObjectTypeT, LinkingPropertyName> = internal.Results<ObjectTypeT>;
const LinkingObjects: typeof internal.Results;
}
export {};