SYMBOL INDEX (3234 symbols across 393 files) FILE: deno.check.d.ts type Database (line 12) | interface Database { type AuditTable (line 22) | interface AuditTable { type PersonTable (line 27) | interface PersonTable { type PetTable (line 50) | interface PetTable { type ToyTable (line 59) | interface ToyTable { type WineTable (line 66) | interface WineTable { type WineStockChangeTable (line 72) | interface WineStockChangeTable { type Person (line 78) | type Person = Selectable type NewPerson (line 79) | type NewPerson = Insertable type PersonUpdate (line 80) | type PersonUpdate = Updateable type Pet (line 81) | type Pet = Selectable type NewPet (line 82) | type NewPet = Insertable type PetUpdate (line 83) | type PetUpdate = Updateable type Species (line 84) | type Species = 'dog' | 'cat' | 'hamster' class Buffer (line 88) | class Buffer { FILE: example/src/app.ts class App (line 17) | class App { method constructor (line 24) | constructor(config: Config) { method db (line 47) | get db(): Kysely { method start (line 51) | async start(): Promise { method stop (line 57) | async stop(): Promise { function respondError (line 95) | function respondError(ctx: Context, error: ControllerError): void { function createUnknownError (line 100) | function createUnknownError(error: unknown): ControllerError { FILE: example/src/authentication/auth-token.service.ts class AuthTokenError (line 9) | class AuthTokenError extends Error {} class InvalidAuthTokenError (line 10) | class InvalidAuthTokenError extends AuthTokenError {} class AuthTokenExpiredError (line 11) | class AuthTokenExpiredError extends AuthTokenError {} class RefreshTokenUserIdMismatchError (line 12) | class RefreshTokenUserIdMismatchError extends Error {} type AuthTokenPayload (line 14) | interface AuthTokenPayload { type RefreshTokenPayload (line 19) | interface RefreshTokenPayload { function createRefreshToken (line 25) | async function createRefreshToken( function signRefreshToken (line 41) | function signRefreshToken(tokenPayload: RefreshTokenPayload): RefreshTok... function createAuthToken (line 46) | async function createAuthToken( function verifyRefreshToken (line 59) | function verifyRefreshToken(token: RefreshToken): RefreshTokenPayload { function signAuthToken (line 79) | function signAuthToken(tokenPayload: AuthTokenPayload): AuthToken { function verifyAuthToken (line 87) | function verifyAuthToken(token: AuthToken): AuthTokenPayload { function verifyToken (line 105) | function verifyToken(token: string): string | jwt.JwtPayload { function deleteRefreshToken (line 117) | async function deleteRefreshToken( FILE: example/src/authentication/auth-token.ts type AuthToken (line 1) | interface AuthToken { FILE: example/src/authentication/authentication.service.ts function authenticateUser (line 9) | async function authenticateUser( FILE: example/src/authentication/refresh-token.repository.ts function insertRefreshToken (line 8) | async function insertRefreshToken( function findRefreshToken (line 24) | async function findRefreshToken( function updateRefreshToken (line 40) | async function updateRefreshToken( FILE: example/src/authentication/refresh-token.table.ts type RefreshTokenTable (line 3) | interface RefreshTokenTable { type RefreshTokenRow (line 10) | type RefreshTokenRow = Selectable type InsertableRefreshTokenRow (line 11) | type InsertableRefreshTokenRow = Insertable type UpdateableRefreshTokenRow (line 12) | type UpdateableRefreshTokenRow = Updateable FILE: example/src/authentication/refresh-token.ts type RefreshToken (line 3) | interface RefreshToken { FILE: example/src/config.ts type Config (line 6) | interface Config { function getEnvVariable (line 24) | function getEnvVariable(name: string): string { FILE: example/src/context.ts type ContextExtension (line 7) | interface ContextExtension { type Context (line 11) | type Context = Koa.ParameterizedContext< FILE: example/src/database.ts type Database (line 6) | interface Database { FILE: example/src/migrate-to-latest.ts function migrateToLatest (line 13) | async function migrateToLatest() { FILE: example/src/migrations/2021_09_18_06_54_59_create_user.ts function up (line 3) | async function up(db: Kysely): Promise { function down (line 16) | async function down(db: Kysely): Promise { FILE: example/src/migrations/2021_09_18_14_05_20_create_refresh_token.ts function up (line 3) | async function up(db: Kysely): Promise { function down (line 25) | async function down(db: Kysely): Promise { FILE: example/src/migrations/2021_09_18_18_22_45_create_sign_in_method.ts function up (line 3) | async function up(db: Kysely): Promise { function down (line 34) | async function down(db: Kysely): Promise { FILE: example/src/router.ts class Router (line 5) | class Router extends KoaRouter {} FILE: example/src/user/sign-in-method/password-sign-in-method.table.ts type PasswordSignInMethodTable (line 3) | interface PasswordSignInMethodTable { type PasswordSignInMethodRow (line 8) | type PasswordSignInMethodRow = Selectable type InsertablePasswordSignInMethodRow (line 10) | type InsertablePasswordSignInMethodRow = type UpdateablePasswordSignInMethodRow (line 13) | type UpdateablePasswordSignInMethodRow = FILE: example/src/user/sign-in-method/sign-in-method.controller.ts function signInMethodController (line 18) | function signInMethodController(router: Router): void { FILE: example/src/user/sign-in-method/sign-in-method.repository.ts function findPasswordSignInMethod (line 8) | async function findPasswordSignInMethod( function insertPasswordSignInMethod (line 23) | async function insertPasswordSignInMethod( FILE: example/src/user/sign-in-method/sign-in-method.service.ts constant MIN_PASSWORD_LENGTH (line 12) | const MIN_PASSWORD_LENGTH = 8 constant MAX_PASSWORD_LENGTH (line 13) | const MAX_PASSWORD_LENGTH = 255 class UserAlreadyHasSignInMethodError (line 15) | class UserAlreadyHasSignInMethodError extends Error {} class SignInMethodNotFoundError (line 16) | class SignInMethodNotFoundError extends Error {} class WrongPasswordError (line 17) | class WrongPasswordError extends Error {} class PasswordTooWeakError (line 18) | class PasswordTooWeakError extends Error {} class PasswordTooLongError (line 19) | class PasswordTooLongError extends Error {} function addPasswordSignInMethod (line 21) | async function addPasswordSignInMethod( function encryptPassword (line 44) | async function encryptPassword(password: string): Promise { function encryptSecret (line 56) | async function encryptSecret(secret: string): Promise { function verifySecret (line 61) | async function verifySecret(secret: string, hash: string): Promise { function singInUsingPassword (line 84) | async function singInUsingPassword( function verifyPassword (line 117) | async function verifyPassword( FILE: example/src/user/sign-in-method/sign-in-method.table.ts type SignInMethodTable (line 3) | interface SignInMethodTable { type SignInMethodRow (line 8) | type SignInMethodRow = Selectable type InsertableSignInMethodRow (line 9) | type InsertableSignInMethodRow = Insertable type UpdateableSignInMethodRow (line 10) | type UpdateableSignInMethodRow = Updateable FILE: example/src/user/sign-in-method/sign-in-method.ts type SignInMethod (line 3) | type SignInMethod = PasswordSignInMethod type PasswordSignInMethod (line 5) | interface PasswordSignInMethod { FILE: example/src/user/signed-in-user.ts type SignedInUser (line 5) | interface SignedInUser { FILE: example/src/user/user.controller.ts function userController (line 9) | function userController(router: Router): void { FILE: example/src/user/user.repository.ts function insertUser (line 5) | async function insertUser( function findUserById (line 18) | async function findUserById( function lockUserById (line 31) | async function lockUserById( function lockUserByEmail (line 38) | async function lockUserByEmail( function lockUser (line 45) | async function lockUser( function setUserEmail (line 60) | async function setUserEmail( FILE: example/src/user/user.service.ts function createAnonymousUser (line 10) | async function createAnonymousUser( function findUserById (line 33) | async function findUserById( function lockUserById (line 44) | async function lockUserById( function lockUserByEmail (line 55) | async function lockUserByEmail( function setUserEmail (line 66) | async function setUserEmail( function userRowToUser (line 74) | function userRowToUser(user: UserRow): User { FILE: example/src/user/user.table.ts type UserTable (line 3) | interface UserTable { type UserRow (line 11) | type UserRow = Selectable type InsertableUserRow (line 12) | type InsertableUserRow = Insertable type UpdateableUserRow (line 13) | type UpdateableUserRow = Updateable FILE: example/src/user/user.ts type User (line 3) | interface User { type CreateAnonymousUserRequest (line 10) | interface CreateAnonymousUserRequest { FILE: example/src/util/errors.ts type AuthenticationErrors (line 1) | type AuthenticationErrors = type UserApiErrors (line 9) | type UserApiErrors = 'InvalidUser' | 'UserNotFound' type SignInMethodApiErrors (line 11) | type SignInMethodApiErrors = type ErrorCode (line 20) | type ErrorCode = type ErrorStatus (line 26) | type ErrorStatus = 400 | 401 | 403 | 404 | 409 | 500 class ControllerError (line 28) | class ControllerError extends Error { method constructor (line 33) | constructor( method toJSON (line 45) | toJSON() { class UserNotFoundError (line 52) | class UserNotFoundError extends Error {} FILE: example/src/util/object.ts function isObject (line 1) | function isObject(value: unknown): value is Record { FILE: example/test/test-config.ts type TestConfig (line 4) | interface TestConfig extends Config { FILE: example/test/test-context.ts class TestContext (line 18) | class TestContext { method db (line 26) | get db(): Kysely { FILE: example/test/user/user.test.ts constant EMAIL (line 7) | const EMAIL = 'foo@bar.fake' constant PASSWORD (line 8) | const PASSWORD = '12345678' function createAuthHeaders (line 127) | function createAuthHeaders(authToken: string) { function createPasswordSignInMethod (line 135) | async function createPasswordSignInMethod( FILE: scripts/add-deno-type-references.js constant ESM_DIST_PATH (line 11) | const ESM_DIST_PATH = path.join(__dirname, '..', 'dist', 'esm') FILE: scripts/check-esm-imports.js function checkDir (line 13) | function checkDir(dir) { function readLines (line 37) | function readLines(filePath) { function isLocalImport (line 42) | function isLocalImport(row) { function isDotJsImport (line 46) | function isDotJsImport(row) { FILE: scripts/check-exports.js function checkExports (line 13) | function checkExports(dir) { FILE: scripts/copy-interface-documentation.js constant DIST_PATH (line 18) | const DIST_PATH = path.join(__dirname, '..', 'dist') constant PROPERTY_REGEX (line 20) | const PROPERTY_REGEX = /^\s+(?:get )?(?:readonly )?(?:abstract )?(\w+)[\... constant OBJECT_REGEXES (line 21) | const OBJECT_REGEXES = [ constant GENERIC_ARGUMENTS_REGEX (line 25) | const GENERIC_ARGUMENTS_REGEX = /<[\w"'`,{}=|\[\] ]+>/g constant JSDOC_START_REGEX (line 26) | const JSDOC_START_REGEX = /^\s+\/\*\*/ constant JSDOC_END_REGEX (line 27) | const JSDOC_END_REGEX = /^\s+\*\// function main (line 29) | function main() { function readLines (line 57) | function readLines(filePath) { function parseObjects (line 66) | function parseObjects(file) { function parseImplements (line 123) | function parseImplements(line) { function parseDocumentation (line 161) | function parseDocumentation(lines, propertyLineIdx) { function copyDocumentation (line 181) | function copyDocumentation(files) { function findDocProperty (line 219) | function findDocProperty(files, object, propertyName) { function findObject (line 247) | function findObject(files, objectName) { FILE: scripts/generate-site-examples.js constant ESM_PATH (line 13) | const ESM_PATH = path.join(__dirname, '..', 'dist', 'esm') constant SITE_EXAMPLE_PATH (line 14) | const SITE_EXAMPLE_PATH = path.join(__dirname, '..', 'site', 'docs', 'ex... constant SITE_EXAMPLE_START_REGEX (line 16) | const SITE_EXAMPLE_START_REGEX = /