SYMBOL INDEX (362 symbols across 79 files) FILE: .eslintrc.js constant OFF (line 1) | const OFF = 0; constant WARN (line 2) | const WARN = 1; constant ERROR (line 3) | const ERROR = 2; FILE: cli/.eslintrc.js constant OFF (line 1) | const OFF = 0; constant WARN (line 2) | const WARN = 1; constant ERROR (line 3) | const ERROR = 2; FILE: cli/src/migrate.js constant VERSION_2_0 (line 17) | const VERSION_2_0 = [ 2, 0, 0 ]; function run (line 19) | function run(cmdArgs) { function green (line 34) | function green() { function white (line 40) | function white() { function processConfig (line 46) | function processConfig(cmdArgs) { function setup (line 139) | function setup() { function teardown (line 172) | function teardown() { function validateMigration (line 189) | function validateMigration() { function makeBackup (line 234) | function makeBackup() { function nonportableBackup (line 277) | function nonportableBackup() { function renameUserTables (line 289) | function renameUserTables() { function moveInternalTables (line 305) | function moveInternalTables() { function renameIndices (line 329) | function renameIndices() { function rewriteHzCollectionDocs (line 381) | function rewriteHzCollectionDocs() { function exportNewSchema (line 402) | function exportNewSchema() { FILE: cli/src/serve.js constant TIMEOUT_30_SECONDS (line 24) | const TIMEOUT_30_SECONDS = 30 * 1000; FILE: cli/src/utils/nice_error.js class NiceError (line 10) | class NiceError extends Error { method constructor (line 11) | constructor(message, options) { method toString (line 20) | toString() { method niceString (line 24) | niceString(options) { method _sourceLine (line 57) | static _sourceLine(ln) { method _extractContext (line 61) | static _extractContext(sourceContents, line, contextSize) { method _formatContext (line 75) | static _formatContext(sourceContents, line, col, contextSize) { FILE: cli/src/utils/proc-promise.js function procPromise (line 5) | function procPromise() { FILE: cli/src/utils/start_rdb_server.js class RethinkdbServer (line 18) | class RethinkdbServer { method constructor (line 19) | constructor(options) { method ready (line 99) | ready() { method connect (line 105) | connect() { method close (line 109) | close() { FILE: client/.eslintrc.js constant OFF (line 1) | const OFF = 0; constant WARN (line 2) | const WARN = 1; constant ERROR (line 3) | const ERROR = 2; FILE: client/index.d.ts type Feed (line 6) | interface Feed { type Bound (line 11) | type Bound = 'open' | 'closed'; type Direction (line 12) | type Direction = 'ascending' | 'descending'; type Primitive (line 13) | type Primitive = boolean | number | string | Date; type IdValue (line 14) | type IdValue = Primitive | Primitive[] | { id: Primitive }; type WriteOp (line 15) | type WriteOp = Object | Object[]; type TermBase (line 17) | interface TermBase extends Feed { type Collection (line 27) | interface Collection extends TermBase { type User (line 38) | interface User extends Feed {} type HorizonInstance (line 40) | interface HorizonInstance { type HorizonOptions (line 60) | interface HorizonOptions { type Horizon (line 72) | interface Horizon { type HorizonOptions (line 79) | type HorizonOptions = hz.HorizonOptions; type HorizonInstance (line 80) | type HorizonInstance = hz.HorizonInstance; type TermBase (line 81) | type TermBase = hz.TermBase; type Collection (line 82) | type Collection = hz.Collection; type User (line 83) | type User = hz.User; FILE: client/src/ast.js function checkIfLegalToChain (line 33) | function checkIfLegalToChain(key) { class TermBase (line 43) | class TermBase { method constructor (line 44) | constructor(sendRequest, query, legalMethods) { method toString (line 50) | toString() { method watch (line 80) | watch({ rawChanges = false } = {}) { method fetch (line 92) | fetch() { method findAll (line 103) | findAll(...fieldValues) { method find (line 108) | find(idOrObject) { method order (line 113) | order(fields, direction = 'ascending') { method above (line 118) | above(aboveSpec, bound = 'closed') { method below (line 123) | below(belowSpec, bound = 'open') { method limit (line 128) | limit(size) { function makePresentable (line 140) | function makePresentable(observable, query) { function applyChange (line 185) | function applyChange(arr, change) { function writeOp (line 254) | function writeOp(name, args, documents) { class Collection (line 302) | class Collection extends TermBase { method constructor (line 303) | constructor(sendRequest, collectionName, lazyWrites) { method store (line 310) | store(documents) { method upsert (line 313) | upsert(documents) { method insert (line 316) | insert(documents) { method replace (line 319) | replace(documents) { method update (line 322) | update(documents) { method remove (line 325) | remove(documentOrId) { method removeAll (line 330) | removeAll(documentsOrIds) { class Find (line 345) | class Find extends TermBase { method constructor (line 346) | constructor(sendRequest, previousQuery, idOrObject) { class FindAll (line 354) | class FindAll extends TermBase { method constructor (line 355) | constructor(sendRequest, previousQuery, fieldValues) { class Above (line 371) | class Above extends TermBase { method constructor (line 372) | constructor(sendRequest, previousQuery, aboveSpec, bound) { class Below (line 380) | class Below extends TermBase { method constructor (line 381) | constructor(sendRequest, previousQuery, belowSpec, bound) { class Order (line 389) | class Order extends TermBase { method constructor (line 390) | constructor(sendRequest, previousQuery, fields, direction) { class Limit (line 399) | class Limit extends TermBase { method constructor (line 400) | constructor(sendRequest, previousQuery, size) { class UserDataTerm (line 408) | class UserDataTerm { method constructor (line 409) | constructor(hz, handshake, socket) { method _query (line 414) | _query(userId) { method fetch (line 418) | fetch() { method watch (line 429) | watch(...args) { FILE: client/src/auth.js constant HORIZON_JWT (line 7) | const HORIZON_JWT = 'horizon-jwt' function authEndpoint (line 10) | function authEndpoint(name) { class FakeStorage (line 30) | class FakeStorage { method constructor (line 31) | constructor() { this._storage = new Map() } method setItem (line 32) | setItem(a, b) { return this._storage.set(a, b) } method getItem (line 33) | getItem(a) { return this._storage.get(a) } method removeItem (line 34) | removeItem(a) { return this._storage.delete(a) } function getStorage (line 37) | function getStorage(storeLocally = true) { class TokenStorage (line 61) | class TokenStorage { method constructor (line 62) | constructor({ authType = 'token', method _getHash (line 75) | _getHash() { method _setHash (line 84) | _setHash(hash) { method set (line 88) | set(jwt) { method get (line 94) | get() { method remove (line 98) | remove() { method setAuthFromQueryParams (line 104) | setAuthFromQueryParams() { method handshake (line 115) | handshake() { method hasAuthToken (line 130) | hasAuthToken() { function clearAuthTokens (line 146) | function clearAuthTokens() { FILE: client/src/hacks/watch-rewrites.js function watchRewrites (line 14) | function watchRewrites(self, query) { FILE: client/src/index.js function Horizon (line 18) | function Horizon({ function subscribeOrObservable (line 128) | function subscribeOrObservable(observable) { FILE: client/src/model.js function checkWatchArgs (line 13) | function checkWatchArgs(args) { function isTerm (line 19) | function isTerm(term) { function isPromise (line 24) | function isPromise(term) { function isObservable (line 28) | function isObservable(term) { function isPrimitive (line 35) | function isPrimitive(value) { class PrimitiveTerm (line 55) | class PrimitiveTerm { method constructor (line 56) | constructor(value) { method toString (line 60) | toString() { method fetch (line 64) | fetch() { method watch (line 68) | watch(...watchArgs) { class ObservableTerm (line 77) | class ObservableTerm { method constructor (line 78) | constructor(value) { method toString (line 82) | toString() { method fetch (line 86) | fetch() { method watch (line 90) | watch(...watchArgs) { class ArrayTerm (line 97) | class ArrayTerm { method constructor (line 98) | constructor(value) { method _reducer (line 103) | _reducer(...args) { method _query (line 107) | _query(operation) { method toString (line 111) | toString() { method fetch (line 115) | fetch() { method watch (line 124) | watch(...watchArgs) { class AggregateTerm (line 136) | class AggregateTerm { method constructor (line 137) | constructor(value) { method _reducer (line 142) | _reducer(...pairs) { method _query (line 149) | _query(operation) { method toString (line 154) | toString() { method fetch (line 159) | fetch() { method watch (line 168) | watch(...watchArgs) { function aggregate (line 180) | function aggregate(spec) { function model (line 200) | function model(constructor) { FILE: client/src/serialization.js constant PRIMITIVES (line 1) | const PRIMITIVES = [ function modifyObject (line 4) | function modifyObject(doc) { function deserialize (line 11) | function deserialize(value) { function jsonifyObject (line 27) | function jsonifyObject(doc) { function serialize (line 34) | function serialize(value) { FILE: client/src/socket.js constant PROTOCOL_VERSION (line 17) | const PROTOCOL_VERSION = 'rethinkdb-horizon-v0' constant STATUS_UNCONNECTED (line 20) | const STATUS_UNCONNECTED = { type: 'unconnected' } constant STATUS_READY (line 22) | const STATUS_READY = { type: 'ready' } constant STATUS_ERROR (line 24) | const STATUS_ERROR = { type: 'error' } constant STATUS_DISCONNECTED (line 26) | const STATUS_DISCONNECTED = { type: 'disconnected' } class ProtocolError (line 28) | class ProtocolError extends Error { method constructor (line 29) | constructor(msg, errorCode) { method toString (line 33) | toString() { class HorizonSocket (line 42) | class HorizonSocket extends WebSocketSubject { method resultSelector (line 45) | resultSelector(e) { method next (line 52) | next(value) { method constructor (line 57) | constructor({ method deactivateRequest (line 107) | deactivateRequest(req) { method activateRequest (line 114) | activateRequest(req) { method filterRequest (line 121) | filterRequest(req) { method getRequest (line 125) | getRequest(request) { method sendHandshake (line 132) | sendHandshake() { method makeRequest (line 163) | makeRequest(rawRequest) { method hzRequest (line 181) | hzRequest(rawRequest) { FILE: client/src/util/check-args.js function checkArgs (line 4) | function checkArgs(name, args, { FILE: client/src/util/ordinal.js function ordinal (line 1) | function ordinal(x) { FILE: client/src/util/valid-index-value.js function validIndexValue (line 3) | function validIndexValue(val) { FILE: client/test/above.js function aboveSuite (line 9) | function aboveSuite(getData) { FILE: client/test/aboveSub.js function aboveSubscriptionSuite (line 5) | function aboveSubscriptionSuite(getData) { FILE: client/test/aggregate.js function arrayHasSameElements (line 9) | function arrayHasSameElements(a, b) { function aggregateSuite (line 18) | function aggregateSuite(getData, getHorizon) { FILE: client/test/aggregateSub.js function aggregateSubSuite (line 7) | function aggregateSubSuite(getData, getHorizon) { FILE: client/test/api.js function wrappedDone (line 76) | function wrappedDone(...args) { FILE: client/test/auth.js function authSuite (line 5) | function authSuite(getHorizon) { FILE: client/test/below.js function belowSuite (line 9) | function belowSuite(getData) { FILE: client/test/belowSub.js function belowSubscriptionSuite (line 5) | function belowSubscriptionSuite(getData) { FILE: client/test/chaining.js function chainingSuite (line 6) | function chainingSuite(getData) { FILE: client/test/collection.js function collectionSuite (line 6) | function collectionSuite(getHorizon, getData, getTestData) { FILE: client/test/find.js function findSuite (line 9) | function findSuite(getData) { FILE: client/test/findAll.js function findAllSuite (line 9) | function findAllSuite(getData) { FILE: client/test/findAllSub.js function findAllSubscriptionSuite (line 5) | function findAllSubscriptionSuite(getData) { FILE: client/test/findSub.js function findSubscriptionSuite (line 5) | function findSubscriptionSuite(getData) { FILE: client/test/horizonObject.js function doneWrap (line 6) | function doneWrap(done) { function horizonObjectSuite (line 16) | function horizonObjectSuite() { FILE: client/test/insert.js function insertSuite (line 12) | function insertSuite(getData) { FILE: client/test/limit.js function limitSuite (line 9) | function limitSuite(getData) { FILE: client/test/order.js function orderSuite (line 12) | function orderSuite(getData, getTestData) { FILE: client/test/orderLimitSub.js function orderLimitSubSuite (line 5) | function orderLimitSubSuite(getData) { FILE: client/test/remove.js function removeSuite (line 15) | function removeSuite(getData) { FILE: client/test/removeAll.js function removeAllSuite (line 15) | function removeAllSuite(getData) { FILE: client/test/replace.js function replaceSuite (line 11) | function replaceSuite(getData) { FILE: client/test/store.js function storeSuite (line 12) | function storeSuite(getData) { FILE: client/test/test.js constant BROWSER (line 1) | const BROWSER = (typeof window !== 'undefined') FILE: client/test/times.js function timesSuite (line 8) | function timesSuite(getData) { FILE: client/test/unit/ast.js function unitAstSuite (line 3) | function unitAstSuite() { FILE: client/test/unit/auth.js function unitAuthSuite (line 3) | function unitAuthSuite() { FILE: client/test/unit/utilsTest.js function unitUtilsSuite (line 3) | function unitUtilsSuite() { FILE: client/test/update.js function updateSuite (line 11) | function updateSuite(getData) { FILE: client/test/upsert.js function upsertSuite (line 12) | function upsertSuite(getData) { FILE: client/test/utils.js function removeAllDataObs (line 10) | function removeAllDataObs(collection) { function removeAllData (line 19) | function removeAllData(collection, done) { function doneObserver (line 24) | function doneObserver(done) { function doneErrorObserver (line 33) | function doneErrorObserver(done, regex) { function assertThrows (line 54) | function assertThrows(message, callback) { function assertCompletes (line 72) | function assertCompletes(observable) { function assertErrors (line 78) | function assertErrors(observable, regex) { function observableInterleave (line 93) | function observableInterleave(options) { function compareWithoutVersion (line 131) | function compareWithoutVersion(actual, expected, message) { function compareSetsWithoutVersion (line 137) | function compareSetsWithoutVersion(actual, expected, message) { FILE: client/webpack.config.js constant BUILD_ALL (line 1) | const BUILD_ALL = (process.env.NODE_ENV === 'production') FILE: client/webpack.test.config.js constant DEV_BUILD (line 5) | const DEV_BUILD = (process.env.NODE_ENV !== 'production') constant SOURCEMAPS (line 6) | const SOURCEMAPS = !process.env.NO_SOURCEMAPS FILE: examples/angularjs-todo-app/dist/js/controllers/TodoController.js function TodoCtrl (line 10) | function TodoCtrl($filter, $q) { FILE: examples/cyclejs-chat-app/dist/app.js function intent (line 15) | function intent(sources) { function model (line 58) | function model(inputValue$, messages$) { function view (line 68) | function view(state$) { function main (line 92) | function main(sources) { function makeHorizonDriver (line 125) | function makeHorizonDriver() { FILE: examples/react-todo-app/dist/js/app.jsx function render (line 171) | function render() { FILE: server/.eslintrc.js constant OFF (line 1) | const OFF = 0; constant WARN (line 2) | const WARN = 1; constant ERROR (line 3) | const ERROR = 2; FILE: server/src/auth.js class JWT (line 14) | class JWT { method constructor (line 15) | constructor(options) { method sign (line 30) | sign(payload) { method verify (line 40) | verify(token) { class Auth (line 47) | class Auth { method constructor (line 48) | constructor(server, user_options) { method handshake (line 63) | handshake(request) { method auth_key (line 83) | auth_key(provider, info) { method new_user_row (line 91) | new_user_row(id) { method generate (line 100) | generate(provider, info) { FILE: server/src/auth/auth0.js function auth0 (line 19) | function auth0(horizon, raw_options) { FILE: server/src/auth/facebook.js function facebook (line 17) | function facebook(horizon, raw_options) { FILE: server/src/auth/github.js function github (line 16) | function github(horizon, raw_options) { FILE: server/src/auth/google.js function google (line 17) | function google(horizon, raw_options) { FILE: server/src/auth/slack.js function slack (line 16) | function slack(horizon, raw_options) { FILE: server/src/auth/twitch.js function twitch (line 17) | function twitch(horizon, raw_options) { FILE: server/src/auth/twitter.js function twitter (line 40) | function twitter(horizon, raw_options) { FILE: server/src/client.js class Client (line 10) | class Client { method constructor (line 11) | constructor(socket, server, metadata) { method handle_websocket_close (line 36) | handle_websocket_close() { method handle_websocket_error (line 48) | handle_websocket_error(code, msg) { method error_wrap_socket (line 52) | error_wrap_socket(cb) { method parse_request (line 63) | parse_request(data, schema) { method group_changed (line 89) | group_changed(group_name) { method handle_handshake (line 95) | handle_handshake(data) { method handle_request (line 142) | handle_request(data) { method remove_request (line 168) | remove_request(raw_request) { method is_open (line 176) | is_open() { method close (line 180) | close(info) { method send_response (line 193) | send_response(request, data) { method send_error (line 202) | send_error(request, err, code) { FILE: server/src/error.js class IndexMissing (line 11) | class IndexMissing extends Error { method constructor (line 12) | constructor(collection, fields) { class CollectionMissing (line 19) | class CollectionMissing extends Error { method constructor (line 20) | constructor(name) { class IndexNotReady (line 26) | class IndexNotReady extends Error { method constructor (line 27) | constructor(collection, index) { class CollectionNotReady (line 34) | class CollectionNotReady extends Error { method constructor (line 35) | constructor(collection) { FILE: server/src/metadata/collection.js class Collection (line 8) | class Collection { method constructor (line 9) | constructor(db, name) { method _close (line 17) | _close() { method _update_table (line 27) | _update_table(table_id, indexes, conn) { method _register (line 47) | _register() { method _unregister (line 51) | _unregister() { method _is_safe_to_remove (line 55) | _is_safe_to_remove() { method _on_ready (line 59) | _on_ready(done) { method _get_table (line 67) | _get_table() { method _create_index (line 74) | _create_index(fields, conn, done) { method get_matching_index (line 78) | get_matching_index(fuzzy_fields, ordered_fields) { FILE: server/src/metadata/index.js class Index (line 104) | class Index { method constructor (line 105) | constructor(name, table, conn) { method close (line 139) | close() { method ready (line 144) | ready() { method on_ready (line 148) | on_ready(done) { method is_match (line 163) | is_match(fuzzy_fields, ordered_fields) { FILE: server/src/metadata/metadata.js class Metadata (line 45) | class Metadata { method constructor (line 46) | constructor(project_name, method close (line 277) | close() { method is_ready (line 295) | is_ready() { method ready (line 299) | ready() { method collection (line 303) | collection(name) { method handle_error (line 315) | handle_error(err, done) { method create_collection (line 337) | create_collection(name, done) { method get_user_feed (line 357) | get_user_feed(id) { method get_group (line 363) | get_group(group_name) { method connection (line 367) | connection() { FILE: server/src/metadata/table.js class Table (line 9) | class Table { method constructor (line 10) | constructor(reql_table, conn) { method close (line 31) | close() { method ready (line 39) | ready() { method on_ready (line 43) | on_ready(done) { method update_indexes (line 53) | update_indexes(indexes, conn) { method create_index (line 81) | create_index(fields, conn, done) { method get_matching_index (line 110) | get_matching_index(fuzzy_fields, ordered_fields) { FILE: server/src/permissions/group.js class Group (line 4) | class Group { method constructor (line 5) | constructor(row_data) { FILE: server/src/permissions/rule.js class Rule (line 5) | class Rule { method constructor (line 6) | constructor(name, info) { method is_match (line 14) | is_match(query, context) { method is_valid (line 18) | is_valid() { class Ruleset (line 26) | class Ruleset { method constructor (line 27) | constructor() { method clear (line 31) | clear() { method empty (line 35) | empty() { method update (line 39) | update(rules) { method validation_required (line 43) | validation_required() { method validate (line 56) | validate() { FILE: server/src/permissions/template.js class Any (line 12) | class Any { method constructor (line 13) | constructor(values) { method matches (line 17) | matches(value, context) { class AnyObject (line 36) | class AnyObject { method constructor (line 37) | constructor(obj) { method matches (line 41) | matches(value, context) { class AnyArray (line 58) | class AnyArray { method constructor (line 59) | constructor(values) { method matches (line 63) | matches(value, context) { class UserId (line 85) | class UserId { } class Template (line 225) | class Template { method constructor (line 226) | constructor(str) { method is_match (line 244) | is_match(raw_query, context) { FILE: server/src/permissions/validator.js class Validator (line 9) | class Validator { method constructor (line 10) | constructor(str) { method is_valid (line 19) | is_valid() { FILE: server/src/reql_connection.js class ReqlConnection (line 11) | class ReqlConnection { method constructor (line 12) | constructor(host, port, db, method _reconnect (line 49) | _reconnect() { method _init_connection (line 74) | _init_connection() { method is_ready (line 111) | is_ready() { method ready (line 115) | ready() { method connection (line 119) | connection() { method metadata (line 124) | metadata() { FILE: server/src/request.js class Request (line 6) | class Request { method constructor (line 7) | constructor(raw_request, endpoint, client) { method evaluate_rules (line 15) | evaluate_rules() { method run (line 36) | run() { method close (line 67) | close() { method handle_error (line 74) | handle_error(err) { FILE: server/src/server.js class Server (line 67) | class Server { method constructor (line 68) | constructor(http_servers, user_opts) { method add_request_handler (line 172) | add_request_handler(request_name, endpoint) { method get_request_handler (line 178) | get_request_handler(request) { method remove_request_handler (line 182) | remove_request_handler(request_name) { method add_http_handler (line 186) | add_http_handler(sub_path, handler) { method remove_http_handler (line 193) | remove_http_handler(sub_path) { method add_auth_provider (line 197) | add_auth_provider(provider, options) { method ready (line 205) | ready() { method close (line 209) | close() { FILE: server/src/utils.js constant MIN_VERSION (line 3) | const MIN_VERSION = [ 2, 3, 1 ]; FILE: update_versions.py function rewrite (line 13) | def rewrite(filename): function main (line 24) | def main(version):