@tai-kun/surrealdb
Version:
The SurrealDB SDK for JavaScript
20 lines • 731 B
TypeScript
import { BoundIncluded as Base, type BoundIncludedSource } from "@tai-kun/surrealdb/decodeonly-datatypes";
import { CBOR_TAG_BOUND_INCLUDED, type Encodable } from "./spec";
export type * from "../decode-only/bound-included";
/**
* [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/data/bound-included)
* @experimental
*/
export default class BoundIncluded<TValue extends BoundIncludedSource = BoundIncludedSource> extends Base<TValue> implements Encodable {
toString(): string;
toCBOR(): [
tag: typeof CBOR_TAG_BOUND_INCLUDED,
value: TValue
];
toJSON(): string;
toSurql(): string;
toPlainObject(): {
value: TValue;
};
}
//# sourceMappingURL=bound-included.d.ts.map