|
| 1 | +export const BuiltinDocumentationLinks = { |
| 2 | + // Built-in types |
| 3 | + bigint: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/BigInt', |
| 4 | + boolean: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean', |
| 5 | + null: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/null', |
| 6 | + number: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number', |
| 7 | + string: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String', |
| 8 | + symbol: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol', |
| 9 | + undefined: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined', |
| 10 | + |
| 11 | + // Built-in classes |
| 12 | + AbortSignal: 'https://developer.mozilla.org/docs/Web/API/AbortSignal', |
| 13 | + Agent: 'https://undici.nodejs.org/#/docs/api/Agent', |
| 14 | + Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array', |
| 15 | + ArrayBuffer: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer', |
| 16 | + AsyncGenerator: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator', |
| 17 | + AsyncIterable: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Iteration_protocols', |
| 18 | + AsyncIterableIterator: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Iteration_protocols', |
| 19 | + Buffer: 'https://nodejs.org/api/buffer.html#class-buffer', |
| 20 | + ChildProcess: 'https://nodejs.org/api/child_process.html#class-childprocess', |
| 21 | + Date: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date', |
| 22 | + Dispatcher: 'https://undici.nodejs.org/#/docs/api/Dispatcher', |
| 23 | + Error: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error', |
| 24 | + Function: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function', |
| 25 | + Generator: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Generator', |
| 26 | + IncomingMessage: 'https://nodejs.org/api/http.html#class-httpincomingmessage', |
| 27 | + Iterable: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Iteration_protocols', |
| 28 | + IterableIterator: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Iteration_protocols', |
| 29 | + Iterator: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator', |
| 30 | + Map: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map', |
| 31 | + MessagePort: 'https://nodejs.org/api/worker_threads.html#class-messageport', |
| 32 | + Promise: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise', |
| 33 | + RangeError: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RangeError', |
| 34 | + Readable: 'https://nodejs.org/api/stream.html#class-streamreadable', |
| 35 | + ReadableStream: 'https://developer.mozilla.org/docs/Web/API/ReadableStream', |
| 36 | + RegExp: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp', |
| 37 | + Response: 'https://developer.mozilla.org/docs/Web/API/Response', |
| 38 | + ServerResponse: 'https://nodejs.org/api/http.html#class-httpserverresponse', |
| 39 | + Set: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set', |
| 40 | + Stream: 'https://nodejs.org/api/stream.html#stream', |
| 41 | + SymbolConstructor: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol', |
| 42 | + TypeError: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypeError', |
| 43 | + URL: 'https://developer.mozilla.org/docs/Web/API/URL', |
| 44 | + URLSearchParams: 'https://developer.mozilla.org/docs/Web/API/URLSearchParams', |
| 45 | + WeakMap: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakMap', |
| 46 | + WeakRef: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakRef', |
| 47 | + WeakSet: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakSet', |
| 48 | + WebSocket: 'https://developer.mozilla.org/docs/Web/API/WebSocket', |
| 49 | + Worker: 'https://nodejs.org/api/worker_threads.html#class-worker', |
| 50 | + 'NodeJS.Timeout': 'https://nodejs.org/api/timers.html#class-timeout', |
| 51 | + |
| 52 | + // Typed arrays |
| 53 | + BigInt64Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/BigInt64Array', |
| 54 | + BigUint64Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/BigUint64Array', |
| 55 | + Float32Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float32Array', |
| 56 | + Float64Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float64Array', |
| 57 | + Int16Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int16Array', |
| 58 | + Int32Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int32Array', |
| 59 | + Int8Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int8Array', |
| 60 | + Uint16Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array', |
| 61 | + Uint32Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array', |
| 62 | + Uint8Array: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array', |
| 63 | + Uint8ClampedArray: 'https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray', |
| 64 | + |
| 65 | + // TypeScript types |
| 66 | + any: 'https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any', |
| 67 | + keyof: 'https://www.typescriptlang.org/docs/handbook/2/keyof-types.html', |
| 68 | + never: 'https://www.typescriptlang.org/docs/handbook/2/functions.html#never', |
| 69 | + object: 'https://www.typescriptlang.org/docs/handbook/2/functions.html#object', |
| 70 | + ReadonlyArray: 'https://www.typescriptlang.org/docs/handbook/2/objects.html#the-readonlyarray-type', |
| 71 | + ReadonlyMap: |
| 72 | + 'https://github.com/microsoft/TypeScript/blob/1416053b9e85ca2344a7a6aa10456d633ea1cd65/src/lib/es2015.collection.d.ts#L38-L43', |
| 73 | + ReadonlySet: |
| 74 | + 'https://github.com/microsoft/TypeScript/blob/1416053b9e85ca2344a7a6aa10456d633ea1cd65/src/lib/es2015.collection.d.ts#L104-L108', |
| 75 | + unknown: 'https://www.typescriptlang.org/docs/handbook/2/functions.html#unknown', |
| 76 | + this: 'https://www.typescriptlang.org/docs/handbook/2/classes.html#this-types', |
| 77 | + typeof: 'https://www.typescriptlang.org/docs/handbook/2/typeof-types.html', |
| 78 | + void: 'https://www.typescriptlang.org/docs/handbook/2/functions.html#void', |
| 79 | + |
| 80 | + // TypeScript utility types |
| 81 | + Awaited: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype', |
| 82 | + Partial: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype', |
| 83 | + Required: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype', |
| 84 | + Readonly: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype', |
| 85 | + Record: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type', |
| 86 | + Pick: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys', |
| 87 | + Omit: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys', |
| 88 | + Exclude: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers', |
| 89 | + Extract: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union', |
| 90 | + NonNullable: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype', |
| 91 | + Parameters: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype', |
| 92 | + ConstructorParameters: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#constructorparameterstype', |
| 93 | + ReturnType: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype', |
| 94 | + InstanceType: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype', |
| 95 | + ThisParameterType: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#thisparametertypetype', |
| 96 | + OmitThisParameter: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#omitthisparametertype', |
| 97 | + ThisType: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#thistypetype', |
| 98 | + Uppercase: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#uppercasestringtype', |
| 99 | + Lowercase: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#lowercasestringtype', |
| 100 | + Capitalize: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#capitalizestringtype', |
| 101 | + Uncapitalize: 'https://www.typescriptlang.org/docs/handbook/utility-types.html#uncapitalizestringtype', |
| 102 | + |
| 103 | + // External Libraries |
| 104 | + AsyncEventEmitter: 'https://github.com/vladfrangu/async_event_emitter', |
| 105 | + AsyncQueue: 'https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/sapphire_async_queue.AsyncQueue', |
| 106 | + Redis: 'https://redis.github.io/ioredis/classes/Redis.html', |
| 107 | + 'prism.opus.Encoder': 'https://amishshah.github.io/prism-media/opus.Encoder.html', |
| 108 | + 'prism.VolumeTransformer': 'https://amishshah.github.io/prism-media/core.VolumeTransformer.html', |
| 109 | +} as const; |
0 commit comments