Spaces:
Runtime error
Runtime error
Download static/node_modules/bson/src/bson_value.ts from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 863 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/bson/src/bson_value.ts
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/bson/src/bson_value.ts
-
curl -L -o bson_value.ts https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/bson/src/bson_value.ts
863 Bytes
| import { BSON_MAJOR_VERSION } from './constants'; | |
| import { type InspectFn } from './parser/utils'; | |
| /** @public */ | |
| export abstract class BSONValue { | |
| /** @public */ | |
| public abstract get _bsontype(): string; | |
| /** @internal */ | |
| get [Symbol.for('@@mdb.bson.version')](): typeof BSON_MAJOR_VERSION { | |
| return BSON_MAJOR_VERSION; | |
| } | |
| [Symbol.for('nodejs.util.inspect.custom')]( | |
| depth?: number, | |
| options?: unknown, | |
| inspect?: InspectFn | |
| ): string { | |
| return this.inspect(depth, options, inspect); | |
| } | |
| /** | |
| * @public | |
| * Prints a human-readable string of BSON value information | |
| * If invoked manually without node.js.inspect function, this will default to a modified JSON.stringify | |
| */ | |
| public abstract inspect(depth?: number, options?: unknown, inspect?: InspectFn): string; | |
| /** @internal */ | |
| abstract toExtendedJSON(): unknown; | |
| } | |