SYMBOL INDEX (4551 symbols across 679 files) FILE: doc/contributors/extensions/gen.js constant N_START (line 9) | const N_START = 3; FILE: doc/self-hosters/gen.js constant N_START (line 9) | const N_START = 3; FILE: eslint/bang-space-if.js method create (line 16) | create (context) { FILE: eslint/control-structure-spacing.js method create (line 18) | create (context) { FILE: eslint/space-unary-ops-with-exception.js function unwrapParens (line 9) | function unwrapParens (node) { function isTopLevelBangInIfTest (line 15) | function isTopLevelBangInIfTest (node) { FILE: extensions/api.d.ts type Request (line 20) | interface Request { type EndpointOptions (line 36) | interface EndpointOptions { type ParameterDefinition (line 48) | interface ParameterDefinition { type MethodDefinition (line 52) | interface MethodDefinition { type DriverInterface (line 56) | interface DriverInterface { type HttpMethod (line 61) | type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch'; type ExtensionRequestHandler (line 63) | type ExtensionRequestHandler = RequestHandler< type ExtensionRequest (line 68) | type ExtensionRequest = Parameters[0]; type ExtensionResponse (line 69) | type ExtensionResponse = Parameters[1]; type ExtensionNextFunction (line 70) | type ExtensionNextFunction = Parameters[2]; type AddRouteFunction (line 72) | type AddRouteFunction = ( type RouterMethods (line 78) | type RouterMethods = { type CoreRuntimeModule (line 85) | interface CoreRuntimeModule { type FilesystemModule (line 95) | interface FilesystemModule { type ExtensionEventTypeMap (line 100) | interface ExtensionEventTypeMap { type Extension (line 178) | interface Extension extends RouterMethods { FILE: extensions/app-telemetry/app-user-count.ts constant DEFAULT_LIMIT (line 7) | const DEFAULT_LIMIT = 100; constant MAX_LIMIT (line 8) | const MAX_LIMIT = 1000; constant MAX_OFFSET (line 9) | const MAX_OFFSET = 100_000; method get_users (line 83) | async get_users ({ app_uuid, limit, offset }: { app_uuid: string, limit?... method user_count (line 115) | async user_count ({ app_uuid }: { app_uuid: string }) { FILE: extensions/extensionController/src/ExtensionController.ts type RouteMeta (line 30) | interface RouteMeta { class HttpError (line 89) | class HttpError extends Error { method constructor (line 91) | constructor (statusCode: StatusCodes, message: string, cause?: unknown) { class ExtensionController (line 98) | class ExtensionController { method registerRoutes (line 101) | registerRoutes () { FILE: extensions/hellodriver/hellodriver.js method greet (line 63) | greet ({ subject }) { method greet (line 84) | greet ({ subject }) { FILE: extensions/metering/controllers/UsageController.ts class UsageController (line 12) | class UsageController extends ExtensionController { method constructor (line 16) | constructor ( method getUsage (line 26) | async getUsage (req: ExtensionRequest, res: ExtensionResponse) { method getUsageByApp (line 43) | async getUsageByApp (req: ExtensionRequest, res: ExtensionResponse) { method getGlobalUsage (line 86) | async getGlobalUsage (req: ExtensionRequest, res: ExtensionResponse) { FILE: extensions/puterfs/PuterFSProvider.js constant STUCK_STATUS_TIMEOUT (line 20) | const STUCK_STATUS_TIMEOUT = 10 * 1000; constant STUCK_ALARM_TIMEOUT (line 21) | const STUCK_ALARM_TIMEOUT = 20 * 1000; constant MAX_DIRECTORY_DEPTH (line 24) | const MAX_DIRECTORY_DEPTH = 35; class PuterFSProvider (line 101) | class PuterFSProvider { method constructor (line 102) | constructor ({ fsEntryController, storageController }) { method #pathDepth (line 114) | #pathDepth (path) { method #getSourceTreeMaxRelativeDepth (line 125) | async #getSourceTreeMaxRelativeDepth (node) { method #assertDepthLimitForTreeOp (line 143) | async #assertDepthLimitForTreeOp (destinationPathDepth, sourceNode) { method get_capabilities (line 156) | get_capabilities () { method update_thumbnail (line 178) | async update_thumbnail ({ context, node, thumbnail }) { method puter_shortcut (line 213) | async puter_shortcut ({ parent, name, user, target }) { method readdirstat_uuid (line 266) | async readdirstat_uuid ({ method quick_check (line 291) | async quick_check ({ method unlink (line 321) | async unlink ({ context, node, options = {} }) { method rmdir (line 329) | async rmdir ({ context, node, options = {} }) { method mkdir (line 357) | async mkdir ({ context, parent, name, immutable }) { method read (line 420) | async read ({ context, node, version_id, range }) { method stat (line 436) | async stat ({ method copy_tree (line 521) | async copy_tree ({ context, source, parent, target_name }) { method move (line 660) | async move ({ context, node, new_parent, new_name, metadata }) { method readdir (line 703) | async readdir ({ node }) { method directory_has_name (line 709) | async directory_has_name ({ parent, name }) { method write_new (line 731) | async write_new ({ context, parent, name, file }) { method write_overwrite (line 846) | async write_overwrite ({ context, node, file }) { method get_recursive_size (line 928) | async get_recursive_size ({ node }) { method #storage_upload (line 958) | async #storage_upload ({ method #rmnode (line 1054) | async #rmnode ({ node, options }) { FILE: extensions/puterfs/fsentries/BaseOperation.js class BaseOperation (line 3) | class BaseOperation { method constructor (line 11) | constructor () { method status (line 15) | get status () { method status (line 18) | set status (status) { method awaitDone (line 24) | async awaitDone () { method onComplete (line 27) | async onComplete (fn) { FILE: extensions/puterfs/fsentries/Delete.js method constructor (line 4) | constructor (uuid) { method getStatement (line 9) | getStatement () { method apply (line 15) | apply (answer) { FILE: extensions/puterfs/fsentries/FSEntryController.js class FSEntryController (line 20) | class FSEntryController { method constructor (line 26) | constructor () { method init (line 79) | init () { method mkPromiseForQueueSize_ (line 90) | mkPromiseForQueueSize_ () { method insert (line 97) | async insert (entry) { method update (line 103) | async update (uuid, entry) { method delete (line 109) | async delete (uuid) { method fast_get_descendants (line 117) | async fast_get_descendants (uuid) { method fast_get_direct_descendants (line 134) | async fast_get_direct_descendants (uuid) { method waitForEntry (line 143) | waitForEntry (node, callback) { method get (line 182) | async get (uuid, fetch_entry_options) { method get_descendants (line 209) | async get_descendants (uuid) { method get_descendants_full (line 228) | async get_descendants_full (uuid, fetch_entry_options) { method get_recursive_size (line 270) | async get_recursive_size (uuid) { method find (line 296) | async find (selector, fetch_entry_options) { method findByUID (line 338) | async findByUID (uuid, fetch_entry_options = {}) { method findByID (line 358) | async findByID (id, fetch_entry_options = {}) { method findByPath (line 378) | async findByPath (path, fetch_entry_options = {}) { method findNameInRoot (line 455) | async findNameInRoot (name) { method findNameInParent (line 469) | async findNameInParent (parent_uid, name) { method nameExistsUnderParent (line 483) | async nameExistsUnderParent (parent_uid, name) { method nameExistsUnderParentID (line 497) | async nameExistsUnderParentID (parent_id, name) { method enqueue_ (line 507) | async enqueue_ (op) { method checkShouldExec_ (line 545) | checkShouldExec_ () { method exec_ (line 551) | async exec_ () { method flipState_ (line 599) | flipState_ () { FILE: extensions/puterfs/fsentries/Insert.js method constructor (line 32) | constructor (entry) { method getStatement (line 56) | getStatement () { method apply (line 65) | apply (answer) { method uuid (line 69) | get uuid () { FILE: extensions/puterfs/fsentries/Update.js method constructor (line 17) | constructor (uuid, entry) { method getStatement (line 35) | getStatement () { method apply (line 45) | apply (answer) { FILE: extensions/puterfs/main.js method createStorageStrategy (line 41) | createStorageStrategy (name, implementation) { method mount (line 69) | mount ({ path }) { FILE: extensions/puterfs/storage/LocalDiskStorageController.js class LocalDiskStorageController (line 10) | class LocalDiskStorageController { method constructor (line 11) | constructor () { method init (line 15) | async init () { method upload (line 19) | async upload ({ uid, file, storage_api }) { method copy (line 55) | copy () { method delete (line 57) | delete () { method read (line 59) | read () { method #getPath (line 62) | #getPath (key) { FILE: extensions/puterfs/storage/ProxyStorageController.js method constructor (line 2) | constructor (delegate) { method setDelegate (line 5) | setDelegate (delegate) { method init (line 9) | init (...a) { method upload (line 12) | upload (...a) { method copy (line 15) | copy (...a) { method delete (line 18) | delete (...a) { method read (line 21) | read (...a) { FILE: extensions/serverInfo/index.ts class ServerInfoController (line 10) | @Controller('/serverInfo', [...config.allowedUsernames]) method getServerInfo (line 13) | async getServerInfo (_req: ExtensionRequest, res: ExtensionResponse) { FILE: mods/mods_available/dev-socket/main.js constant SOCKET_NAME (line 24) | const SOCKET_NAME = 'dev.sock'; constant WELCOME (line 25) | const WELCOME = [ function getSocketDir (line 31) | function getSocketDir () { FILE: mods/mods_available/kdmod/CustomPuterService.js class CustomPuterService (line 21) | class CustomPuterService extends use.Service { method _init (line 22) | async _init () { method _register_commands (line 59) | _register_commands (commands) { method ['__on_install.routes'] (line 29) | ['__on_install.routes'] (_, { app }) { method ['__on_boot.consolidation'] (line 37) | async ['__on_boot.consolidation'] () { FILE: mods/mods_available/kdmod/ShareTestService.js class ShareTestService (line 39) | class ShareTestService extends use.Service { method _init (line 44) | async _init () { method _register_commands (line 54) | _register_commands (commands) { method runit (line 77) | async runit () { method setup_ (line 97) | async setup_ () { method run_scenario_ (line 103) | async run_scenario_ (scenario) { method teardown_ (line 122) | async teardown_ () { method create_test_user_ (line 129) | async create_test_user_ (username) { method delete_test_user_ (line 148) | async delete_test_user_ (username) { method ['__scenario:create-example-file'] (line 155) | async ['__scenario:create-example-file'] ( method ['__scenario:assert-no-access'] (line 181) | async ['__scenario:assert-no-access'] ( method ['__scenario:grant'] (line 200) | async ['__scenario:grant'] ( method ['__scenario:assert-access'] (line 207) | async ['__scenario:assert-access'] ( FILE: mods/mods_available/test-actions/main.js constant ACTIONS (line 10) | const ACTIONS = [ constant INVOKE_HANDLERS (line 22) | const INVOKE_HANDLERS = { FILE: src/backend/src/CoreModule.js class CoreModule (line 411) | class CoreModule extends AdvancedBase { method dirname (line 412) | dirname () { method install (line 415) | async install (context) { method install_legacy (line 433) | async install_legacy (context) { FILE: src/backend/src/DatabaseModule.js class DatabaseModule (line 21) | class DatabaseModule extends AdvancedBase { method install (line 22) | async install (context) { FILE: src/backend/src/Extension.js class Extension (line 53) | class Extension extends AdvancedBase { method constructor (line 64) | constructor (...a) { method randomBrightColor (line 107) | randomBrightColor () { method example (line 121) | example () { method exports (line 126) | set exports (value) { method exports (line 129) | get exports () { method import (line 132) | import (name) { method db (line 140) | get db () { method services (line 149) | get services () { method log_context (line 158) | get log_context () { method errors (line 167) | get errors () { method register (line 179) | register (typeKey, keyOrData, data) { method reg (line 215) | reg (...a) { method get (line 225) | get (path, handler, options) { method post (line 247) | post (path, handler, options) { method put (line 269) | put (path, handler, options) { method delete (line 291) | delete (path, handler, options) { method use (line 307) | use (...args) { method preinit (line 315) | get preinit () { method preinit (line 320) | set preinit (callback) { method init (line 333) | get init () { method init (line 338) | set init (callback) { method console (line 351) | get console () { method tracer (line 385) | get tracer () { method span (line 390) | get span () { method ensure_service_ (line 415) | ensure_service_ () { FILE: src/backend/src/ExtensionModule.js class ExtensionModule (line 24) | class ExtensionModule extends AdvancedBase { method install (line 25) | async install (context) { FILE: src/backend/src/ExtensionService.js class ExtensionServiceState (line 33) | class ExtensionServiceState extends AdvancedBase { method constructor (line 34) | constructor (...a) { method register_route_handler_ (line 44) | register_route_handler_ (path, handler, options = {}) { class ExtensionService (line 79) | class ExtensionService extends BaseService { method _construct (line 80) | _construct () { method _init (line 83) | async _init (args) { method '__on_boot.consolidation' (line 157) | async '__on_boot.consolidation' () { method '__on_boot.activation' (line 165) | async '__on_boot.activation' () { method '__on_boot.ready' (line 173) | async '__on_boot.ready' () { method '__on_install.routes' (line 182) | '__on_install.routes' (_, { app }) { FILE: src/backend/src/Kernel.js class Kernel (line 40) | class Kernel extends AdvancedBase { method constructor (line 41) | constructor ({ entry_path } = {}) { method add_module (line 60) | add_module (module) { method _runtime_init (line 64) | _runtime_init (boot_parameters) { method boot (line 88) | boot () { method _install_modules (line 143) | async _install_modules () { method _boot_services (line 203) | async _boot_services () { method install_extern_mods_ (line 234) | async install_extern_mods_ () { method install_extern_mod_ (line 311) | async install_extern_mod_ ({ method _run_extern_mod (line 453) | async _run_extern_mod (mod_entry) { method _create_mod_context (line 513) | _create_mod_context (parent, options) { method create_mod_package_json (line 553) | async create_mod_package_json (mod_path, { name, entry }) { method run_npm_install (line 591) | async run_npm_install (path) { FILE: src/backend/src/LocalDiskStorageModule.js class LocalDiskStorageModule (line 21) | class LocalDiskStorageModule extends AdvancedBase { method install (line 22) | async install (context) { FILE: src/backend/src/MemoryStorageModule.js class MemoryStorageModule (line 19) | class MemoryStorageModule { method install (line 20) | async install (context) { FILE: src/backend/src/annotatedobjects.js class AnnotatedObject (line 9) | class AnnotatedObject { method constructor (line 10) | constructor (o) { class object_returned_by_get_app (line 15) | class object_returned_by_get_app extends AnnotatedObject { FILE: src/backend/src/api/APIError.js class APIError (line 29) | class APIError { method create (line 601) | static create (status, source = {}, fields = {}) { method adapt (line 639) | static adapt (err) { method constructor (line 644) | constructor (status, message, source, fields = {}) { method write (line 656) | write (res) { method serialize (line 665) | serialize () { method querystringize (line 674) | querystringize (extra) { method querystringize_ (line 678) | querystringize_ (extra) { method message (line 692) | get message () { method toString (line 699) | toString () { FILE: src/backend/src/api/PathOrUIDValidator.js method validate (line 36) | static validate (req) { FILE: src/backend/src/api/filesystem/FSNodeParam.js class FSNodeParam (line 25) | class FSNodeParam { method constructor (line 26) | constructor (srckey, options) { method consolidate (line 32) | async consolidate ({ req, getParam }) { FILE: src/backend/src/api/filesystem/FlagParam.js method constructor (line 22) | constructor (srckey, options) { method consolidate (line 29) | async consolidate ({ req, getParam }) { FILE: src/backend/src/api/filesystem/StringParam.js method constructor (line 22) | constructor (srckey, options) { method consolidate (line 28) | async consolidate ({ req, getParam }) { FILE: src/backend/src/api/filesystem/UserParam.js method consolidate (line 20) | consolidate ({ req }) { FILE: src/backend/src/boot/BootLogger.js class BootLogger (line 19) | class BootLogger { method info (line 20) | info (...args) { method debug (line 24) | debug (...args) { method error (line 28) | error (...args) { method warn (line 32) | warn (...args) { FILE: src/backend/src/boot/RuntimeEnvironment.js method path (line 105) | get path () { method path (line 117) | get path () { method path (line 123) | get path () { method path (line 140) | get path () { method path (line 155) | get path () { method path (line 161) | get path () { method path (line 172) | get path () { method path (line 187) | get path () { class RuntimeEnvironment (line 194) | class RuntimeEnvironment extends AdvancedBase { method constructor (line 202) | constructor ({ logger, entry_path, boot_parameters }) { method init (line 213) | init () { method init_ (line 223) | init_ () { method get_first_suitable_path_ (line 341) | get_first_suitable_path_ (meta, paths, last_checks) { FILE: src/backend/src/clients/dynamodb/DDBClient.ts type DBClientConfig (line 8) | interface DBClientConfig { constant LOCAL_DYNAMO_PATH_KEY (line 18) | const LOCAL_DYNAMO_PATH_KEY = ':memory:'; class DDBClient (line 55) | class DDBClient { method constructor (line 60) | constructor (config?: DBClientConfig) { method recreateClient (line 71) | async recreateClient () { method #getClient (line 79) | async #getClient () { method get (line 121) | async get >(table: string, key: T, c... method put (line 134) | async put >(table: string, item: T) { method batchGet (line 145) | async batchGet (params: { table: string, items: Record> (table: string, key: T) { method query (line 183) | async query> ( method update (line 228) | async update> ( method createTableIfNotExists (line 254) | async createTableIfNotExists (params: CreateTableCommandInput, ttlAttr... FILE: src/backend/src/clients/dynamodb/DDBClientWrapper.ts class DDBClientServiceWrapper (line 5) | class DDBClientServiceWrapper extends BaseService { method _construct (line 7) | async _construct () { FILE: src/backend/src/clients/redis/cacheUpdate.ts type CacheKeyInput (line 24) | type CacheKeyInput = string | number | null | undefined | CacheKeyInput[]; type CacheUpdateOptions (line 25) | interface CacheUpdateOptions { constant SERVICES_KEY (line 30) | const SERVICES_KEY = Symbol.for('puter.helpers.services'); FILE: src/backend/src/clients/redis/deleteRedisKeys.ts type DeleteRedisKeysInput (line 22) | type DeleteRedisKeysInput = string | number | null | undefined | DeleteR... type DeleteRedisKeysOptions (line 23) | interface DeleteRedisKeysOptions { FILE: src/backend/src/clients/redis/redisSingleton.test.ts class RedisClusterMock (line 17) | class RedisClusterMock { method constructor (line 21) | constructor (...args: unknown[]) { class MockRedisClusterMock (line 35) | class MockRedisClusterMock { method constructor (line 36) | constructor (...args: unknown[]) { FILE: src/backend/src/codex/CodeUtil.js class CodeUtil (line 19) | class CodeUtil { method mrwrap (line 32) | static mrwrap (method, wrapper, options = {}) { FILE: src/backend/src/codex/Sequence.js class Sequence (line 108) | class Sequence { method constructor (line 119) | constructor (sequence, thisArg) { method steps (line 141) | get steps () { method run (line 150) | async run (values) { method get (line 233) | get (k) { method set (line 243) | set (k, v) { method values (line 253) | values (opt_itemsToSet) { method iget (line 276) | iget (k) { method icall (line 288) | icall (k, ...args) { method idcall (line 300) | idcall (k, ...args) { method log (line 308) | get log () { method stop (line 317) | stop (return_value) { method constructor (line 336) | constructor (...args) { FILE: src/backend/src/config.d.ts type ConfigRecord (line 3) | type ConfigRecord = RecursiveRecord; type IConfig (line 5) | interface IConfig extends ConfigRecord { FILE: src/backend/src/config/ConfigLoader.js class ConfigLoader (line 22) | class ConfigLoader extends AdvancedBase { method constructor (line 28) | constructor (logger, path, config) { method enable (line 35) | enable (name, meta = {}) { method apply_requires (line 56) | apply_requires (dir, config_list, { by } = {}) { FILE: src/backend/src/consts/app-icons.js constant APP_ICONS_SUBDOMAIN (line 1) | const APP_ICONS_SUBDOMAIN = 'puter-app-icons'; FILE: src/backend/src/entities/Group.js method members (line 24) | async members () { method get_client_value (line 31) | async get_client_value (options = {}) { FILE: src/backend/src/errors/TechnicalError.js class TechnicalError (line 28) | class TechnicalError extends Error { method constructor (line 29) | constructor (message, ...details) { FILE: src/backend/src/errors/error_help_details.js method apply (line 50) | apply (more) { method apply (line 60) | apply (more) { method apply (line 81) | apply (more) { method apply (line 93) | apply (more) { method apply (line 104) | apply (more) { method apply (line 119) | apply (more) { method apply (line 133) | apply (more) { FILE: src/backend/src/extension/RuntimeModule.js class RuntimeModule (line 3) | class RuntimeModule extends AdvancedBase { method constructor (line 4) | constructor (options = {}) { method exports (line 12) | set exports (value) { method exports (line 16) | get exports () { method import (line 22) | import (name) { FILE: src/backend/src/extension/RuntimeModuleRegistry.js class RuntimeModuleRegistry (line 4) | class RuntimeModuleRegistry extends AdvancedBase { method constructor (line 5) | constructor () { method register (line 10) | register (extensionModule, options = {}) { method exportsOf (line 23) | exportsOf (name) { FILE: src/backend/src/filesystem/ECMAP.js constant LOG_PREFIX (line 4) | const LOG_PREFIX = '\x1B[31;1m[[\x1B[33;1mEC\x1B[32;1mMAP\x1B[31;1m]]\x1... class ECMAP (line 15) | class ECMAP { method constructor (line 18) | constructor () { method unlink (line 37) | unlink () { method logPrefix (line 46) | get logPrefix () { method log (line 50) | log (...a) { method get_fsNodeContext_from_selector (line 55) | get_fsNodeContext_from_selector (selector) { method store_fsNodeContext_to_selector (line 88) | store_fsNodeContext_to_selector (selector, node) { method store_fsNodeContext (line 103) | store_fsNodeContext (node) { method arun (line 109) | static async arun (cb) { FILE: src/backend/src/filesystem/FSNodeContext.js constant TYPE_FILE (line 52) | const TYPE_FILE = { label: 'File' }; constant TYPE_DIRECTORY (line 53) | const TYPE_DIRECTORY = { label: 'Directory' }; method constructor (line 82) | constructor ({ method selector (line 156) | set selector (new_selector) { method selector (line 171) | get selector () { method get_selector_of_type (line 175) | get_selector_of_type (cls) { method get_optimal_selector (line 191) | get_optimal_selector () { method isRoot (line 200) | get isRoot () { method isUserDirectory (line 204) | async isUserDirectory () { method isAppDataDirectory (line 214) | async isAppDataDirectory () { method isPublic (line 226) | async isPublic () { method getPathComponents (line 234) | async getPathComponents () { method getUserPart (line 254) | async getUserPart () { method getPathSize (line 260) | async getPathSize () { method exists (line 266) | async exists ({ fetch_options } = {}) { method fetchPath (line 280) | async fetchPath () { method #resolvePathFromUuid (line 291) | async #resolvePathFromUuid (uuid) { method fetchEntry (line 310) | async fetchEntry (fetch_entry_options = {}) { method awaitStableEntry (line 388) | async awaitStableEntry () { method fetchSubdomains (line 401) | async fetchSubdomains (user, _force) { method applySingleSubdomain (line 418) | applySingleSubdomain (sd) { method fetchOwner (line 440) | async fetchOwner (_force) { method fetchShares (line 455) | async fetchShares (force) { method fetchVersions (line 540) | async fetchVersions (force) { method fetchSize (line 569) | async fetchSize () { method fetchSuggestedApps (line 582) | async fetchSuggestedApps (user, force) { method fetchIsEmpty (line 592) | async fetchIsEmpty () { method fetchAll (line 600) | async fetchAll (_fsEntryFetcher, user, _force) { method get (line 611) | async get (key, force) { method getParent (line 741) | async getParent () { method getChild (line 770) | async getChild (name) { method hasChild (line 783) | async hasChild (name) { method getTarget (line 787) | async getTarget () { method is_above (line 804) | async is_above (child_fsNode) { method is (line 813) | async is (fsNode) { method getSafeEntry (line 831) | async getSafeEntry (fetch_options = {}) { method sanitize_pending_entry_info (line 955) | static sanitize_pending_entry_info (res) { FILE: src/backend/src/filesystem/FilesystemService.js class FilesystemService (line 34) | class FilesystemService extends BaseService { method old_constructor (line 41) | old_constructor (args) { method _init (line 52) | async _init () { method mkshortcut (line 141) | async mkshortcut ({ parent, name, user, target }) { method mklink (line 174) | async mklink ({ parent, name, user, target }) { method update_child_paths (line 236) | async update_child_paths (old_path, new_path, user_id) { method node (line 258) | async node (selector) { method get_entry (line 342) | async get_entry ({ path, uid, id, mysql_id, ...options }) { FILE: src/backend/src/filesystem/batch/BatchExecutor.js class BatchExecutor (line 28) | class BatchExecutor extends AdvancedBase { method constructor (line 31) | constructor (x, { actor, log, errors }) { method ready_for_more (line 53) | async ready_for_more () { method exec_op (line 60) | async exec_op (req, op, file) { FILE: src/backend/src/filesystem/batch/commands.js class BatchCommand (line 33) | class BatchCommand extends AdvancedBase { method run (line 37) | static async run (executor, parameters) { class MkdirCommand (line 57) | class MkdirCommand extends BatchCommand { method run (line 58) | async run (executor, parameters) { class WriteCommand (line 118) | class WriteCommand extends BatchCommand { method run (line 119) | async run (executor, parameters) { class ShortcutCommand (line 190) | class ShortcutCommand extends BatchCommand { method run (line 191) | async run (executor, parameters) { class SymlinkCommand (line 228) | class SymlinkCommand extends BatchCommand { method run (line 229) | async run (executor, parameters) { class DeleteCommand (line 261) | class DeleteCommand extends BatchCommand { method run (line 262) | async run (executor, parameters) { class MoveCommand (line 280) | class MoveCommand extends BatchCommand { method run (line 281) | async run (executor, parameters) { FILE: src/backend/src/filesystem/definitions/ts/fsentry.js function createBaseFSEntry (line 3) | function createBaseFSEntry() { method encode (line 20) | encode(message, writer = new BinaryWriter()) { method decode (line 59) | decode(input, length) { method fromJSON (line 158) | fromJSON(object) { method toJSON (line 174) | toJSON(message) { method create (line 214) | create(base) { method fromPartial (line 217) | fromPartial(object) { function longToNumber (line 234) | function longToNumber(int64) { function isSet (line 244) | function isSet(value) { FILE: src/backend/src/filesystem/definitions/ts/fsentry.ts type FSEntry (line 18) | interface FSEntry { function createBaseFSEntry (line 36) | function createBaseFSEntry(): FSEntry { method encode (line 54) | encode(message: FSEntry, writer: BinaryWriter = new BinaryWriter()): Bin... method decode (line 94) | decode(input: BinaryReader | Uint8Array, length?: number): FSEntry { method fromJSON (line 206) | fromJSON(object: any): FSEntry { method toJSON (line 223) | toJSON(message: FSEntry): unknown { method create (line 264) | create(base?: DeepPartial): FSEntry { method fromPartial (line 267) | fromPartial(object: DeepPartial): FSEntry { type Builtin (line 285) | type Builtin = Date | Function | Uint8Array | string | number | boolean ... type DeepPartial (line 287) | type DeepPartial = T extends Builtin ? T function longToNumber (line 293) | function longToNumber(int64: { toString(): string }): number { function isSet (line 304) | function isSet(value: any): boolean { type MessageFns (line 308) | interface MessageFns { FILE: src/backend/src/filesystem/hl_operations/definitions.js class HLFilesystemOperation (line 21) | class HLFilesystemOperation extends BaseOperation { FILE: src/backend/src/filesystem/hl_operations/hl_copy.js class HLCopy (line 29) | class HLCopy extends HLFilesystemOperation { method _run (line 57) | async _run () { FILE: src/backend/src/filesystem/hl_operations/hl_data_read.js class HLDataRead (line 29) | class HLDataRead extends HLFilesystemOperation { method _run (line 34) | async _run () { method _stream_bytes_to_lines (line 67) | _stream_bytes_to_lines (stream) { method _stream_jsonl_lines_to_objects (line 88) | _stream_jsonl_lines_to_objects (stream) { FILE: src/backend/src/filesystem/hl_operations/hl_mkdir.js function createDirOrUseExisting (line 46) | async function createDirOrUseExisting ({ parent, selector, actor, fs }) { class MkTree (line 78) | class MkTree extends HLFilesystemOperation { method _run (line 107) | async _run () { method create_branch_ (line 118) | async create_branch_ ({ parent_node, tree, parent_exists }) { class QuickMkdir (line 216) | class QuickMkdir extends HLFilesystemOperation { method _run (line 217) | async _run () { class HLMkdir (line 260) | class HLMkdir extends HLFilesystemOperation { method _run (line 297) | async _run () { method _create_parents (line 470) | async _create_parents ({ parent_node }) { method _create_dir (line 513) | async _create_dir (dir) { method _get_existing_top_parent (line 541) | async _get_existing_top_parent ({ top_parent }) { FILE: src/backend/src/filesystem/hl_operations/hl_mklink.js class HLMkLink (line 25) | class HLMkLink extends HLFilesystemOperation { method _run (line 36) | async _run () { FILE: src/backend/src/filesystem/hl_operations/hl_mkshortcut.js class HLMkShortcut (line 26) | class HLMkShortcut extends HLFilesystemOperation { method _run (line 39) | async _run () { FILE: src/backend/src/filesystem/hl_operations/hl_move.js class HLMove (line 28) | class HLMove extends HLFilesystemOperation { method _run (line 37) | async _run () { FILE: src/backend/src/filesystem/hl_operations/hl_name_search.js class HLNameSearch (line 25) | class HLNameSearch extends HLFilesystemOperation { method _run (line 26) | async _run () { FILE: src/backend/src/filesystem/hl_operations/hl_read.js class HLRead (line 23) | class HLRead extends HLFilesystemOperation { method _run (line 29) | async _run () { method _wrap_stream_line_count (line 65) | _wrap_stream_line_count (stream, line_count) { FILE: src/backend/src/filesystem/hl_operations/hl_readdir.js class HLReadDir (line 31) | class HLReadDir extends HLFilesystemOperation { method _run (line 33) | async _run () { method __run (line 40) | async __run () { method #applySubdomains (line 148) | async #applySubdomains (children) { method #batchFetchSubdomains (line 159) | async #batchFetchSubdomains (children, user) { method #batchFetchSuggestedApps (line 207) | async #batchFetchSuggestedApps (children, user) { FILE: src/backend/src/filesystem/hl_operations/hl_remove.js class HLRemove (line 26) | class HLRemove extends HLFilesystemOperation { method _run (line 34) | async _run () { FILE: src/backend/src/filesystem/hl_operations/hl_stat.js class HLStat (line 25) | class HLStat extends HLFilesystemOperation { method _run (line 30) | async _run () { method __run (line 40) | async __run () { FILE: src/backend/src/filesystem/hl_operations/hl_write.js constant MAX_THUMBNAIL_SIZE (line 38) | const MAX_THUMBNAIL_SIZE = 2 * 1024 * 1024; class WriteCommonFeature (line 40) | class WriteCommonFeature { method install_in_instance (line 41) | install_in_instance (instance) { class HLWrite (line 94) | class HLWrite extends HLFilesystemOperation { method _run (line 141) | async _run () { FILE: src/backend/src/filesystem/lib/PuterPath.js class PuterPath (line 30) | class PuterPath { method adapt (line 33) | static adapt (value) { method constructor (line 38) | constructor (text) { method text (line 42) | set text (text) { method text (line 49) | get text () { method isRoot (line 53) | isRoot () { method isAbsolute (line 61) | isAbsolute () { method isFromUID (line 65) | isFromUID () { method reference (line 69) | get reference () { method relativePortion (line 75) | get relativePortion () { FILE: src/backend/src/filesystem/ll_operations/definitions.js class LLFilesystemOperation (line 21) | class LLFilesystemOperation extends BaseOperation { FILE: src/backend/src/filesystem/ll_operations/ll_copy.js class LLCopy (line 22) | class LLCopy extends LLFilesystemOperation { method _run (line 28) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_copy_idea.js constant STEPS_COPY_CONTENTS (line 35) | const STEPS_COPY_CONTENTS = [ constant STEPS (line 83) | const STEPS = [ class LLCopy (line 138) | class LLCopy extends LLFilesystemOperation { FILE: src/backend/src/filesystem/ll_operations/ll_listusers.js class LLListUsers (line 22) | class LLListUsers extends LLFilesystemOperation { method _run (line 28) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_mkdir.js class LLMkdir (line 25) | class LLMkdir extends LLFilesystemOperation { method _run (line 32) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_move.js class LLMove (line 21) | class LLMove extends LLFilesystemOperation { method _run (line 26) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_read.js class LLRead (line 42) | class LLRead extends LLFilesystemOperation { method _run (line 44) | async _run ({ fsNode, no_acl, actor, offset, length, range, version_id... FILE: src/backend/src/filesystem/ll_operations/ll_readdir.js class LLReadDir (line 26) | class LLReadDir extends LLFilesystemOperation { method _run (line 28) | async _run () { method __run (line 33) | async __run () { method #try_readdirstatUUID (line 100) | async #try_readdirstatUUID () { FILE: src/backend/src/filesystem/ll_operations/ll_readshares.js class LLReadShares (line 27) | class LLReadShares extends LLFilesystemOperation { method _run (line 37) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_rmdir.js class LLRmDir (line 27) | class LLRmDir extends LLFilesystemOperation { method _run (line 28) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_rmnode.js class LLRmNode (line 21) | class LLRmNode extends LLFilesystemOperation { method _run (line 22) | async _run () { FILE: src/backend/src/filesystem/ll_operations/ll_write.js class LLOWrite (line 29) | class LLOWrite extends LLFilesystemOperation { method _run (line 35) | async _run () { class LLCWrite (line 67) | class LLCWrite extends LLFilesystemOperation { method _run (line 79) | async _run () { FILE: src/backend/src/filesystem/node/selectors.js class NodeSelector (line 26) | class NodeSelector { method constructor (line 27) | constructor () { class NodePathSelector (line 35) | class NodePathSelector extends NodeSelector { method constructor (line 36) | constructor (path) { method setPropertiesKnownBySelector (line 41) | setPropertiesKnownBySelector (node) { method describe (line 46) | describe () { class NodeUIDSelector (line 51) | class NodeUIDSelector extends NodeSelector { method constructor (line 52) | constructor (uid) { method setPropertiesKnownBySelector (line 57) | setPropertiesKnownBySelector (node) { method implyFromFetchedData (line 64) | static implyFromFetchedData (node) { method describe (line 71) | describe () { class NodeInternalIDSelector (line 76) | class NodeInternalIDSelector extends NodeSelector { method constructor (line 77) | constructor (service, id, debugInfo) { method setPropertiesKnownBySelector (line 84) | setPropertiesKnownBySelector (node) { method describe (line 90) | describe (showDebug) { class NodeChildSelector (line 100) | class NodeChildSelector extends NodeSelector { method constructor (line 101) | constructor (parent, name) { method setPropertiesKnownBySelector (line 107) | setPropertiesKnownBySelector (node) { method describe (line 116) | describe () { class RootNodeSelector (line 121) | class RootNodeSelector extends NodeSelector { method setPropertiesKnownBySelector (line 128) | setPropertiesKnownBySelector (node) { method constructor (line 133) | constructor () { method describe (line 138) | describe () { class NodeRawEntrySelector (line 143) | class NodeRawEntrySelector extends NodeSelector { method constructor (line 144) | constructor (entry, details_about_fetch = {}) { method setPropertiesKnownBySelector (line 163) | setPropertiesKnownBySelector (node) { method describe (line 178) | describe () { function try_infer_attributes (line 190) | function try_infer_attributes (selector) { FILE: src/backend/src/filesystem/node/states.js class NodeFoundState (line 19) | class NodeFoundState { class NodeDoesNotExistState (line 22) | class NodeDoesNotExistState { class NodeInitialState (line 25) | class NodeInitialState { FILE: src/backend/src/filesystem/storage/UploadProgressTracker.js class UploadProgressTracker (line 19) | class UploadProgressTracker { method constructor (line 20) | constructor () { method set_total (line 28) | set_total (v) { method set (line 32) | set (value) { method add (line 41) | add (amount) { method sub (line 55) | sub (callback) { method check_if_done_ (line 76) | check_if_done_ () { FILE: src/backend/src/filesystem/strategies/storage_a/LocalDiskStorageStrategy.js class LocalDiskUploadStrategy (line 25) | class LocalDiskUploadStrategy extends BaseOperation { method constructor (line 30) | constructor (parent) { method _run (line 41) | async _run () { method post_insert (line 69) | post_insert () { class LocalDiskCopyStrategy (line 77) | class LocalDiskCopyStrategy extends BaseOperation { method constructor (line 82) | constructor (parent) { method _run (line 92) | async _run () { method post_insert (line 109) | post_insert () { class LocalDiskDeleteStrategy (line 117) | class LocalDiskDeleteStrategy extends BaseOperation { method constructor (line 122) | constructor (parent) { method _run (line 131) | async _run () { class LocalDiskStorageStrategy (line 144) | class LocalDiskStorageStrategy { method constructor (line 150) | constructor ({ services }) { method create_upload (line 158) | create_upload () { method create_copy (line 166) | create_copy () { method create_delete (line 174) | create_delete () { method create_read_stream (line 184) | async create_read_stream (uid, options = {}) { FILE: src/backend/src/helpers.js constant SERVICES_KEY (line 43) | const SERVICES_KEY = Symbol.for('puter.helpers.services'); function tmp_provide_services (line 47) | async function tmp_provide_services (ss) { constant PENDING_QUERY_TTL (line 53) | const PENDING_QUERY_TTL = 10; constant SUGGESTED_APPS_CACHE_MAX (line 54) | const SUGGESTED_APPS_CACHE_MAX = 10000; constant DEFAULT_APP_ICON_SIZE (line 56) | const DEFAULT_APP_ICON_SIZE = 256; constant RAW_BASE64_REGEX (line 57) | const RAW_BASE64_REGEX = /^[A-Za-z0-9+/]+={0,2}$/; function is_empty (line 148) | async function is_empty (dir_uuid) { function is_temp_users_disabled (line 180) | async function is_temp_users_disabled () { function is_user_signup_disabled (line 189) | async function is_user_signup_disabled () { function validate_fsentry_name (line 227) | function validate_fsentry_name (name) { function id2uuid (line 264) | async function id2uuid (id) { function df (line 286) | async function df (user_id) { function get_user (line 310) | async function get_user (options) { function refresh_associations_cache (line 331) | async function refresh_associations_cache () { function get_app (line 362) | async function get_app (options) { function app_exists (line 781) | async function app_exists (options) { function change_username (line 808) | async function change_username (user_id, new_username) { function uuid2fsentry (line 836) | async function uuid2fsentry (uuid, return_thumbnail) { function id2fsentry (line 886) | async function id2fsentry (id, return_thumbnail) { function convert_path_to_fsentry (line 934) | async function convert_path_to_fsentry (path) { function byte_format (line 1017) | function byte_format (bytes) { function getDescendantsHelper (line 1115) | async function getDescendantsHelper (path, user, depth, return_thumbnail... function resolve_glob (line 1321) | async function resolve_glob (glob, user) { function isString (line 1345) | function isString (variable) { function get_entry (line 1364) | async function get_entry (uid) { function is_ancestor_of (line 1379) | async function is_ancestor_of (ancestor_uid, descendant_uid) { function sign_file (line 1431) | async function sign_file (fsentry, action) { function gen_public_token (line 1464) | async function gen_public_token (file_uuid) { function deleteUser (line 1508) | async function deleteUser (user_id) { function subdomain (line 1544) | function subdomain (req) { function jwt_auth (line 1549) | async function jwt_auth (req, authService) { function ancestors (line 1617) | async function ancestors (fsentry_id) { function hyphenize_confirm_code (line 1639) | function hyphenize_confirm_code (email_confirm_code) { function username_exists (line 1652) | async function username_exists (username) { function generate_random_username (line 1663) | async function generate_random_username () { function app_name_exists (line 1671) | async function app_name_exists (name) { function send_email_verification_code (line 1686) | function send_email_verification_code (email_confirm_code, email) { function send_email_verification_token (line 1693) | function send_email_verification_token (email_confirm_token, email, user... function generate_random_str (line 1699) | function generate_random_str (length) { function seconds_to_string (line 1717) | function seconds_to_string (seconds) { constant SUGGEST_APP_CODE_EXTS (line 1731) | const SUGGEST_APP_CODE_EXTS = [ function suggestedAppsForFsEntries (line 1938) | async function suggestedAppsForFsEntries (fsentries, options) { function suggestedAppForFsEntry (line 2037) | async function suggestedAppForFsEntry (fsentry, options) { function get_taskbar_items (line 2042) | async function get_taskbar_items (user, { function validate_signature_auth (line 2131) | function validate_signature_auth (url, action, options = {}) { function get_url_from_req (line 2185) | function get_url_from_req (req) { function number_format (line 2199) | function number_format (number, decimals, dec_point, thousands_sep) { FILE: src/backend/src/kernel/modutil.js function prependToJSFiles (line 4) | async function prependToJSFiles (directory, snippet) { FILE: src/backend/src/middleware/measure.js method get (line 20) | get () { function measure (line 71) | function measure () { FILE: src/backend/src/modules/ai/PuterAIChatModule.js class PuterAIModule (line 44) | class PuterAIModule extends AdvancedBase { method install (line 50) | async install (context) { FILE: src/backend/src/modules/apps/AppIconService.js constant ICON_SIZES (line 37) | const ICON_SIZES = [16, 32, 64, 128, 256, 512]; constant DEFAULT_ICON_SIZE (line 38) | const DEFAULT_ICON_SIZE = 128; constant RAW_BASE64_REGEX (line 39) | const RAW_BASE64_REGEX = /^[A-Za-z0-9+/]+={0,2}$/; constant REDIRECT_MAX_AGE_SIZE (line 42) | const REDIRECT_MAX_AGE_SIZE = 15 * 60; constant REDIRECT_MAX_AGE_ORIGINAL (line 43) | const REDIRECT_MAX_AGE_ORIGINAL = 60; class AppIconService (line 58) | class AppIconService extends BaseService { method getSizes (line 121) | getSizes () { method iconifyApps (line 125) | async iconifyApps ({ apps, size }) { method getAppIconPath (line 138) | getAppIconPath ({ appUid, size }) { method getAppIconEndpointUrl (line 157) | getAppIconEndpointUrl ({ appUid }) { method normalizeAppUid (line 171) | normalizeAppUid (appUid) { method isDataUrl (line 176) | isDataUrl (value) { method isRawBase64ImageString (line 184) | isRawBase64ImageString (value) { method normalizeRawBase64ImageString (line 202) | normalizeRawBase64ImageString (value) { method parseAppIconEndpointUrl (line 209) | parseAppIconEndpointUrl (iconUrl) { method isAppIconEndpointUrl (line 232) | isAppIconEndpointUrl (iconUrl) { method isSameAppIconEndpointUrl (line 236) | isSameAppIconEndpointUrl ({ iconUrl, appUid, size }) { method extractPuterSubdomainFromUrl (line 245) | extractPuterSubdomainFromUrl (url) { method isPuterSubdomainUrl (line 271) | isPuterSubdomainUrl (url) { method getAppIconsBaseUrl (line 275) | getAppIconsBaseUrl () { method getSizedIconUrl (line 292) | getSizedIconUrl ({ appUid, size }) { method getOriginalIconUrl (line 303) | getOriginalIconUrl ({ appUid }) { method ensureAppIconsDirectory (line 313) | async ensureAppIconsDirectory ({ dirSystem = null } = {}) { method getOriginalIconLookup (line 344) | async getOriginalIconLookup ({ dirAppIcons, appUid }) { method ensureAppIconsSubdomain (line 360) | async ensureAppIconsSubdomain ({ dirAppIcons }) { method readIconNodeBuffer (line 390) | async readIconNodeBuffer ({ node }) { method writePngToDir (line 400) | async writePngToDir ({ destination_or_parent, filename, output }) { method shouldRedirectIconUrl (line 421) | shouldRedirectIconUrl ({ iconUrl, appUid, size }) { method generateMissingSizeFromOriginal (line 436) | async generateMissingSizeFromOriginal ({ appUid, size }) { method queueMissingSizeFromOriginal (line 466) | queueMissingSizeFromOriginal ({ appUid, size }) { method queueDataUrlIconWrite (line 491) | queueDataUrlIconWrite ({ appUid, dataUrl }) { method persistConvertedIconUrl (line 531) | async persistConvertedIconUrl ({ appUid, iconUrl }) { method #getIconStream (line 562) | async #getIconStream ({ appIcon, appUid, size, tries = 0, allowRedirec... method getAppIcons (line 722) | async getAppIcons () { method getSharp (line 733) | getSharp ({ metadata, input }) { method loadIconSource (line 749) | async loadIconSource ({ iconUrl }) { method createAppIcons (line 807) | async createAppIcons ({ data }) { method _init (line 858) | async _init () { method '__on_install.routes' (line 73) | async '__on_install.routes' (_, { app }) { method '__on_user.system-user-ready' (line 788) | async '__on_user.system-user-ready' () { FILE: src/backend/src/modules/apps/AppInformationService.js constant APP_UID_ALIAS_KEY_PREFIX (line 26) | const APP_UID_ALIAS_KEY_PREFIX = 'app:canonicalUidAlias'; constant APP_UID_ALIAS_REVERSE_KEY_PREFIX (line 27) | const APP_UID_ALIAS_REVERSE_KEY_PREFIX = 'app:canonicalUidAliasReverse'; class AppInformationService (line 39) | class AppInformationService extends BaseService { method _construct (line 42) | _construct () { method invalidateAppCache (line 93) | async invalidateAppCache ({ appUid, oldName, app }) { method get_stats (line 157) | async get_stats (app_uid, options = {}) { method _refresh_app_stats (line 550) | async _refresh_app_stats () { method _refresh_app_stat_referrals (line 625) | async _refresh_app_stat_referrals () { method delete_app (line 711) | async delete_app (app_uid, app, options = {}) { method buildCanonicalAppUidAliasKey_ (line 777) | buildCanonicalAppUidAliasKey_ (appUid) { method buildCanonicalAppUidAliasReverseKey_ (line 781) | buildCanonicalAppUidAliasReverseKey_ (canonicalAppUid) { method normalizeCanonicalAliasUidList_ (line 785) | normalizeCanonicalAliasUidList_ (value) { method cleanupCanonicalAppUidAliases_ (line 798) | async cleanupCanonicalAppUidAliases_ (appUid) { method generateAllPeriods (line 831) | generateAllPeriods (startDate, endDate, grouping) { method getWeekNumber (line 871) | getWeekNumber (date) { method mergeWithGeneratedPeriods (line 884) | mergeWithGeneratedPeriods (actualData, allPeriods, stats_grouping) { method '__on_boot.consolidation' (line 64) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/apps/AppPermissionService.js class AppPermissionService (line 5) | class AppPermissionService extends BaseService { method _init (line 6) | async _init () { FILE: src/backend/src/modules/apps/AppsModule.js class AppsModule (line 22) | class AppsModule extends AdvancedBase { method install (line 23) | async install (context) { FILE: src/backend/src/modules/apps/OldAppNameService.js constant N_MONTHS (line 23) | const N_MONTHS = 4; class OldAppNameService (line 25) | class OldAppNameService extends BaseService { method _init (line 28) | _init () { method check_app_name (line 41) | async check_app_name (name) { method remove_name (line 76) | async remove_name (id) { method '__on_boot.consolidation' (line 32) | async '__on_boot.consolidation' () { FILE: src/backend/src/modules/apps/ProtectedAppService.js class ProtectedAppService (line 32) | class ProtectedAppService extends BaseService { method _init (line 41) | async _init () { FILE: src/backend/src/modules/apps/RecommendedAppsService.js class RecommendedAppsService (line 27) | class RecommendedAppsService extends BaseService { method _construct (line 71) | _construct () { method get_recommended_apps (line 97) | async get_recommended_apps ({ icon_size: iconSize }) { method '__on_boot.consolidation' (line 75) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/apps/lib/IconResult.js method constructor (line 24) | constructor (o) { method get_data_url (line 28) | async get_data_url () { FILE: src/backend/src/modules/apps/privateLaunchAccess.js constant DEFAULT_FALLBACK_APP_NAME (line 22) | const DEFAULT_FALLBACK_APP_NAME = 'app-center'; function isPrivateApp (line 24) | function isPrivateApp (app) { function buildFallbackPath (line 28) | function buildFallbackPath (appName) { function buildDefaultDeniedDecision (line 35) | function buildDefaultDeniedDecision (appName, reason) { function normalizeLaunchDecision (line 47) | function normalizeLaunchDecision (decision, appName) { function getActorUserUid (line 87) | function getActorUserUid (actor) { function resolvePrivateLaunchAccess (line 108) | async function resolvePrivateLaunchAccess ({ FILE: src/backend/src/modules/broadcast/BroadcastModule.js class BroadcastModule (line 22) | class BroadcastModule extends AdvancedBase { method install (line 23) | async install (context) { FILE: src/backend/src/modules/broadcast/BroadcastService.js class BroadcastService (line 27) | class BroadcastService extends BaseService { method _init (line 45) | async _init () { method outBroadcastEventHandler (line 100) | async outBroadcastEventHandler (key, data, meta) { method #enqueueOutboundEvent (line 115) | #enqueueOutboundEvent (event) { method #createDedupKey (line 121) | #createDedupKey (event) { method #scheduleOutboundFlush (line 131) | #scheduleOutboundFlush () { method #flushOutboundEvents (line 144) | async #flushOutboundEvents () { method #normalizeMeta (line 167) | #normalizeMeta (meta) { method #resolveLocalPeerId (line 174) | #resolveLocalPeerId () { method #resolvePeerId (line 180) | #resolvePeerId (peerConfig) { method #isNonceReplayForPeer (line 187) | #isNonceReplayForPeer ({ timestamp, nonce, peerId }) { method #initRedisPubSub (line 197) | async #initRedisPubSub () { method #isRedisWebhookEventKey (line 220) | #isRedisWebhookEventKey (key) { method #filterRedisWebhookEvents (line 226) | #filterRedisWebhookEvents (events) { method #publishWebhookEventsToRedis (line 230) | async #publishWebhookEventsToRedis (events) { method #handleRedisPubSubMessage (line 254) | async #handleRedisPubSubMessage (channel, message) { method #normalizeIncomingPayload (line 286) | #normalizeIncomingPayload (payload) { method #normalizeIncomingEvent (line 306) | #normalizeIncomingEvent (event) { method #emitIncomingEventsSequentially (line 326) | async #emitIncomingEventsSequentially (events) { method #handleWebhookRequest (line 359) | async #handleWebhookRequest (req, res) { method #sendWebhookToPeer (line 454) | async #sendWebhookToPeer (peer_config, events) { method #normalizeWebhookUrl (line 503) | #normalizeWebhookUrl (url) { method '__on_install.routes' (line 347) | async '__on_install.routes' (_, { app }) { FILE: src/backend/src/modules/captcha/CaptchaModule.js class CaptchaModule (line 31) | class CaptchaModule extends AdvancedBase { method install (line 32) | async install (context) { FILE: src/backend/src/modules/captcha/services/CaptchaService.js class CaptchaService (line 31) | class CaptchaService extends BaseService { method _construct (line 35) | async _construct () { method _init (line 71) | async _init () { method _destroy (line 90) | async _destroy () { method registerEndpoints (line 101) | registerEndpoints () { method generateCaptcha (line 350) | generateCaptcha () { method verifyCaptcha (line 406) | verifyCaptcha (token, userAnswer) { method _checkServiceHealth (line 465) | _checkServiceHealth () { method cleanupExpiredTokens (line 473) | cleanupExpiredTokens () { method _getCaptchaOptions (line 535) | _getCaptchaOptions () { method verifySelfTest (line 576) | verifySelfTest () { method getDiagnosticInfo (line 626) | getDiagnosticInfo () { method '__on_install.middlewares.context-aware' (line 63) | async '__on_install.middlewares.context-aware' (_, { app }) { FILE: src/backend/src/modules/core/AlarmService.d.ts class AlarmService (line 1) | class AlarmService { FILE: src/backend/src/modules/core/AlarmService.js class AlarmService (line 29) | class AlarmService extends BaseService { method _construct (line 41) | async _construct () { method _init (line 51) | async _init () { method adapt_id_ (line 68) | adapt_id_ (id) { method create (line 88) | create (id, message, fields) { method clear (line 198) | clear (id) { method apply_known_errors_ (line 207) | apply_known_errors_ (alarm) { method handle_alarm_repeat_ (line 234) | handle_alarm_repeat_ (alarm) { method handle_alarm_on_ (line 262) | handle_alarm_on_ (alarm) { method handle_alarm_off_ (line 328) | handle_alarm_off_ (alarm) { method get_alarm (line 339) | get_alarm (id) { method _register_commands (line 343) | _register_commands (commands) { method '__on_boot.consolidation' (line 64) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/core/ContextService.js class ContextService (line 32) | class ContextService extends BaseService { method register_context_hook (line 33) | register_context_hook (event, hook) { FILE: src/backend/src/modules/core/Core2Module.js class Core2Module (line 34) | class Core2Module extends AdvancedBase { method install (line 35) | async install (context) { FILE: src/backend/src/modules/core/ErrorService.js class ErrorContext (line 32) | class ErrorContext { method constructor (line 33) | constructor (error_service, log_context) { method report (line 37) | report (location, fields) { class ErrorService (line 53) | class ErrorService extends BaseService { method init (line 62) | async init () { method create (line 74) | create (log_context) { method report (line 88) | report (location, { source, logger, trace, extra, message }, alarm = t... FILE: src/backend/src/modules/core/ExpectationService.js class ExpectationService (line 35) | class ExpectationService extends BaseService { method _construct (line 47) | async _construct () { method _init (line 84) | async _init () { method purgeExpectations_ (line 109) | purgeExpectations_ () { method expect_eventually (line 127) | expect_eventually ({ workUnit, checkpoint }) { method '__on_boot.consolidation' (line 55) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/core/LogService.js constant LOG_LEVEL_ERRO (line 20) | const LOG_LEVEL_ERRO = logSeverity(0, 'ERRO', '31;1', 'error'); constant LOG_LEVEL_WARN (line 21) | const LOG_LEVEL_WARN = logSeverity(1, 'WARN', '33;1', 'warn'); constant LOG_LEVEL_INFO (line 22) | const LOG_LEVEL_INFO = logSeverity(2, 'INFO', '36;1', 'info'); constant LOG_LEVEL_NOTICEME (line 23) | const LOG_LEVEL_NOTICEME = logSeverity(3, 'NOTICE_ME', '33;1', 'error'); constant LOG_LEVEL_SYSTEM (line 24) | const LOG_LEVEL_SYSTEM = logSeverity(3, 'SYSTEM', '36;1', 'system'); constant LOG_LEVEL_DEBU (line 25) | const LOG_LEVEL_DEBU = logSeverity(4, 'DEBU', '37', 'debug'); constant LOG_LEVEL_TICK (line 26) | const LOG_LEVEL_TICK = logSeverity(10, 'TICK', '34;1', 'info'); constant WINSTON_LEVELS (line 34) | const WINSTON_LEVELS = { class LogContext (line 61) | class LogContext { method constructor (line 62) | constructor (logService, { crumbs, fields }) { method sub (line 68) | sub (name, fields = {}) { method info (line 76) | info (message, fields, objects) { method warn (line 79) | warn (message, fields, objects) { method debug (line 82) | debug (message, fields, objects) { method error (line 85) | error (message, fields, objects) { method tick (line 88) | tick (message, fields, objects) { method called (line 91) | called (fields = {}) { method noticeme (line 94) | noticeme (message, fields, objects) { method system (line 97) | system (message, fields, objects) { method cache (line 101) | cache (isCacheHit, identifier, fields = {}) { method log (line 107) | log (log_level, message, fields = {}, objects = {}) { method mkid (line 145) | mkid () { method traceOn (line 158) | traceOn () { method get_log_buffer (line 168) | get_log_buffer () { class DevLogger (line 187) | class DevLogger { method constructor (line 189) | constructor (log, opt_delegate) { method onLogMessage (line 198) | onLogMessage (log_lvl, crumbs, message, fields, objects) { method log_ (line 221) | log_ (text) { class NullLogger (line 236) | class NullLogger { method constructor (line 238) | constructor (log, opt_delegate) { method onLogMessage (line 245) | onLogMessage () { class WinstonLogger (line 254) | class WinstonLogger { method constructor (line 255) | constructor (winst) { method onLogMessage (line 258) | onLogMessage (log_lvl, crumbs, message, fields) { class TimestampLogger (line 276) | class TimestampLogger { method constructor (line 277) | constructor (delegate) { method onLogMessage (line 280) | onLogMessage (log_lvl, crumbs, message, fields, ...a) { class BufferLogger (line 294) | class BufferLogger { method constructor (line 295) | constructor (size, delegate) { method onLogMessage (line 300) | onLogMessage (log_lvl, crumbs, message, fields, ...a) { class CustomLogger (line 316) | class CustomLogger { method constructor (line 317) | constructor (delegate, callback) { method onLogMessage (line 321) | async onLogMessage (log_lvl, crumbs, message, fields, ...a) { class LogService (line 375) | class LogService extends BaseService { method _construct (line 385) | async _construct () { method register_log_middleware (line 394) | register_log_middleware (callback) { method _init (line 467) | async _init () { method create (line 597) | create (prefix, fields = {}) { method log_ (line 607) | log_ (log_lvl, crumbs, message, fields, objects) { method ensure_log_directory_ (line 639) | ensure_log_directory_ () { method get_log_file (line 694) | get_log_file (name) { method get_log_buffer (line 705) | get_log_buffer () { method '__on_boot.consolidation' (line 401) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/core/PagerService.js class PagerService (line 32) | class PagerService extends BaseService { method _construct (line 37) | async _construct () { method _init (line 59) | async _init () { method onInit (line 76) | onInit () { method alert (line 132) | async alert (alert) { method _register_commands (line 142) | _register_commands (commands) { method '__on_boot.consolidation' (line 47) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/core/ParameterService.js class Parameter (line 28) | class Parameter { method constructor (line 29) | constructor (spec) { method set (line 45) | async set (value) { method get (line 63) | async get () { method bindToInstance (line 67) | bindToInstance (instance, name) { method subscribe (line 75) | subscribe (listener) { class ParameterService (line 88) | class ParameterService extends BaseService { method _construct (line 89) | _construct () { method createParameters (line 104) | createParameters (serviceName, parameters, opt_instance) { method get (line 125) | async get (id) { method bindToInstance (line 130) | bindToInstance (id, instance, name) { method subscribe (line 135) | subscribe (id, listener) { method _get_param (line 140) | _get_param (id) { method _registerCommands (line 152) | _registerCommands (commands) { method '__on_boot.consolidation' (line 100) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/core/ProcessEventService.js class ProcessEventService (line 30) | class ProcessEventService extends BaseService { method _init (line 35) | _init () { FILE: src/backend/src/modules/core/ServerHealthService/ServerHealthService.js constant SECOND (line 24) | const SECOND = 1000; class ServerHealthService (line 37) | class ServerHealthService extends BaseService { method _construct (line 58) | _construct () { method _init (line 63) | async _init () { method init_service_checks_ (line 125) | init_service_checks_ () { method get_stats (line 205) | async get_stats () { method add_check (line 209) | add_check (name, fn) { method get_status (line 229) | async get_status () { FILE: src/backend/src/modules/core/lib/expect.js class WorkUnit (line 29) | class WorkUnit { method create (line 42) | static create () { method constructor (line 50) | constructor () { method checkpoint (line 54) | checkpoint (label) { class CheckpointExpectation (line 68) | class CheckpointExpectation { method constructor (line 69) | constructor (workUnit, checkpoint) { method check (line 79) | check () { method report (line 83) | report (log) { FILE: src/backend/src/modules/core/lib/identifier.js function generate_identifier (line 79) | function generate_identifier (separator = '_', rng = Math.random) { constant HUMAN_READABLE_CASE_INSENSITIVE (line 90) | const HUMAN_READABLE_CASE_INSENSITIVE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ01234... function generate_random_code (line 92) | function generate_random_code (n, { function compose_code (line 109) | function compose_code (mask, value) { FILE: src/backend/src/modules/data-access/AppRepository.js class AppRepository (line 1) | class AppRepository { FILE: src/backend/src/modules/data-access/AppService.comp.test.js constant ES_APP_ARGS (line 38) | const ES_APP_ARGS = { FILE: src/backend/src/modules/data-access/AppService.js constant APP_ICON_ENDPOINT_PATH_REGEX (line 27) | const APP_ICON_ENDPOINT_PATH_REGEX = /^\/app-icon\/([^/?#]+)(?:\/(\d+))?... constant LEGACY_APP_ICON_FILE_PATH_REGEX (line 28) | const LEGACY_APP_ICON_FILE_PATH_REGEX = /^\/(app-[^/?#]+?)(?:-(\d+))?\.p... constant ABSOLUTE_URL_REGEX (line 29) | const ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\d+\-.]*:/; constant RAW_BASE64_REGEX (line 30) | const RAW_BASE64_REGEX = /^[A-Za-z0-9+/]+={0,2}$/; constant APP_UID_ALIAS_KEY_PREFIX (line 31) | const APP_UID_ALIAS_KEY_PREFIX = 'app:canonicalUidAlias'; constant APP_UID_ALIAS_REVERSE_KEY_PREFIX (line 32) | const APP_UID_ALIAS_REVERSE_KEY_PREFIX = 'app:canonicalUidAliasReverse'; constant APP_UID_ALIAS_TTL_SECONDS (line 33) | const APP_UID_ALIAS_TTL_SECONDS = 60 * 60 * 24 * 90; class AppService (line 227) | class AppService extends BaseService { method _init (line 228) | async _init () { method create (line 299) | async create ({ object, options }) { method update (line 302) | async update ({ object, id, options }) { method upsert (line 305) | async upsert ({ object, id, options }) { method read (line 331) | async read ({ uid, id, params = {} }) { method select (line 334) | async select (options) { method delete (line 337) | async delete ({ uid, id }) { method #select (line 346) | async #select ({ predicate, params, ..._rest }) { method #read (line 464) | async #read ({ uid, id, params = {}, backend_only_options = {} }) { method #parseFiletypeAssociationsJson (line 598) | #parseFiletypeAssociationsJson (filetypes) { method #getFiletypeAssociationsByAppId (line 602) | async #getFiletypeAssociationsByAppId (appId) { method #normalizeFiletypeAssociations (line 614) | #normalizeFiletypeAssociations (filetypesAsJSON) { method #getFiletypeAssociationsByAppIds (line 630) | async #getFiletypeAssociationsByAppIds (appIds) { method #create (line 659) | async #create ({ object, options }) { method #execute_insert (line 821) | async #execute_insert (object, uid, owner_user_id, app_owner_id) { method #delete (line 867) | async #delete ({ uid, id }) { method #check_app_owner_permission (line 901) | async #check_app_owner_permission (old_app, actor) { method #update (line 921) | async #update ({ object, id, options }) { method #resolveAppId (line 1069) | async #resolveAppId (app) { method #check_owner_permission (line 1083) | async #check_owner_permission (old_app) { method getAppRootDirId (line 1119) | async getAppRootDirId (app) { method #ensure_puter_site_subdomain_is_owned (line 1147) | async #ensure_puter_site_subdomain_is_owned (index_url, user) { method #normalizeConfiguredHostedDomain (line 1160) | #normalizeConfiguredHostedDomain (domainValue) { method #getPuterHostedDomains (line 1167) | #getPuterHostedDomains () { method #extractPuterHostedSubdomain (line 1183) | #extractPuterHostedSubdomain (indexUrl) { method #isPuterHostedIndexUrl (line 1207) | #isPuterHostedIndexUrl (indexUrl) { method #buildEquivalentIndexUrlCandidates (line 1211) | #buildEquivalentIndexUrlCandidates (indexUrl) { method #findIndexUrlConflictRow (line 1240) | async #findIndexUrlConflictRow ({ indexUrl, excludeAppId } = {}) { method #ensureIndexUrlNotAlreadyInUse (line 1277) | async #ensureIndexUrlNotAlreadyInUse ({ indexUrl, excludeAppId } = {}) { method #claimAppOwnershipByIdForUser (line 1287) | async #claimAppOwnershipByIdForUser ({ appId, userId }) { method #buildCanonicalAppUidAliasKey (line 1297) | #buildCanonicalAppUidAliasKey (oldAppUid) { method #buildCanonicalAppUidAliasReverseKey (line 1301) | #buildCanonicalAppUidAliasReverseKey (canonicalAppUid) { method #normalizeCanonicalAliasUidList (line 1305) | #normalizeCanonicalAliasUidList (value) { method #readCanonicalAppUidAlias (line 1318) | async #readCanonicalAppUidAlias (oldAppUid) { method #writeCanonicalAppUidAlias (line 1338) | async #writeCanonicalAppUidAlias ({ oldAppUid, canonicalAppUid }) { method #maybeJoinOwnedHostedIndexUrlAppOnCreate (line 1375) | async #maybeJoinOwnedHostedIndexUrlAppOnCreate ({ method #isOriginBootstrapApp (line 1494) | #isOriginBootstrapApp (app) { method #handle_name_conflict (line 1503) | async #handle_name_conflict (object, old_app, options) { method #execute_update (line 1537) | async #execute_update (object, old_app) { method #update_filetype_associations (line 1586) | async #update_filetype_associations (app_id, filetype_associations) { method #emit_change_events (line 1627) | async #emit_change_events (object, old_app) { method #build_complex_id_where (line 1668) | #build_complex_id_where (id) { method #check_protected_app_access (line 1718) | async #check_protected_app_access (app, owner_user_id) { FILE: src/backend/src/modules/data-access/DataAccessModule.js class DataAccessModule (line 4) | class DataAccessModule extends AdvancedBase { method install (line 5) | async install (context) { FILE: src/backend/src/modules/data-access/lib/error.js class CoercionTypeError (line 5) | class CoercionTypeError extends Error { method constructor (line 6) | constructor ({ expected, got }) { FILE: src/backend/src/modules/development/DevelopmentModule.js class DevelopmentModule (line 28) | class DevelopmentModule extends AdvancedBase { method install (line 29) | async install (context) { FILE: src/backend/src/modules/development/LocalTerminalService.js constant PERM_LOCAL_TERMINAL (line 25) | const PERM_LOCAL_TERMINAL = 'local-terminal:access'; class LocalTerminalService (line 32) | class LocalTerminalService extends BaseService { method _construct (line 33) | _construct () { method get_profiles (line 36) | get_profiles () { method _init (line 145) | async _init () { method '__on_install.routes' (line 51) | '__on_install.routes' (_, { app }) { FILE: src/backend/src/modules/dns/DNSModule.js class DNSModule (line 3) | class DNSModule extends AdvancedBase { method install (line 4) | async install (context) { FILE: src/backend/src/modules/dns/DNSService.js class DNSService (line 8) | class DNSService extends BaseService { method _init (line 13) | async _init () { method get_client (line 30) | get_client () { method test_server_ (line 38) | test_server_ () { FILE: src/backend/src/modules/domain/DomainModule.js class DomainModule (line 3) | class DomainModule extends AdvancedBase { method install (line 4) | async install (context) { FILE: src/backend/src/modules/domain/DomainVerificationService.js class DomainVerificationService (line 4) | class DomainVerificationService extends BaseService { method _init (line 5) | _init () { method get_controlling_user (line 8) | async get_controlling_user ({ domain }) { method _register_commands (line 26) | _register_commands (commands) { FILE: src/backend/src/modules/domain/TXTVerifyService.js class TXTVerifyService (line 5) | class TXTVerifyService extends BaseService { method '__on_boot.consolidation' (line 6) | '__on_boot.consolidation' () { FILE: src/backend/src/modules/entitystore/EntityStoreInterfaceService.js class EntityStoreInterfaceService (line 28) | class EntityStoreInterfaceService extends BaseService { method '__on_driver.register.interfaces' (line 33) | async '__on_driver.register.interfaces' () { FILE: src/backend/src/modules/entitystore/EntityStoreModule.js class EntityStoreModule (line 26) | class EntityStoreModule extends AdvancedBase { method install (line 27) | async install (context) { FILE: src/backend/src/modules/hostos/HostOSModule.js class HostOSModule (line 3) | class HostOSModule extends AdvancedBase { method install (line 4) | async install (context) { FILE: src/backend/src/modules/hostos/ProcessService.js class ProxyLogger (line 3) | class ProxyLogger { method constructor (line 4) | constructor (log) { method attach (line 7) | attach (stream) { class ProcessService (line 28) | class ProcessService extends BaseService { method _construct (line 36) | _construct () { method _init (line 40) | async _init (args) { method log_ (line 48) | log_ (name, isErr, line) { method exit_all_ (line 57) | async exit_all_ () { method start (line 63) | async start ({ name, fullpath, command, args, env }) { FILE: src/backend/src/modules/internet/InternetModule.js class InternetModule (line 4) | class InternetModule extends AdvancedBase { method install (line 5) | async install (context) { FILE: src/backend/src/modules/internet/WispRelayService.js class WispRelayService (line 3) | class WispRelayService extends BaseService { method _init (line 4) | _init () { FILE: src/backend/src/modules/kvstore/KVStoreInterfaceService.js class KVStoreInterfaceService (line 85) | class KVStoreInterfaceService extends BaseService { method '__on_driver.register.interfaces' (line 90) | async '__on_driver.register.interfaces' () { FILE: src/backend/src/modules/kvstore/KVStoreModule.js class KVStoreModule (line 26) | class KVStoreModule extends AdvancedBase { method install (line 27) | async install (context) { FILE: src/backend/src/modules/perfmon/TelemetryService.js class TelemetryService (line 31) | class TelemetryService extends BaseService { method constructor (line 40) | constructor (service_resources, ...args) { method _init (line 49) | _init () { method #normalizeRoute (line 75) | static #normalizeRoute (route) { method #buildRoute (line 92) | static #buildRoute (req, route) { method #applyRouteToSpan (line 102) | static #applyRouteToSpan (span, req, route) { method #buildInstrumentationConfig (line 112) | static #buildInstrumentationConfig () { method #resolveExporterConfig (line 142) | static #resolveExporterConfig (serviceConfig) { method #getConfiguredExporter (line 146) | static #getConfiguredExporter (serviceConfig) { method #getMetricExporter (line 156) | static #getMetricExporter (serviceConfig) { method #startTelemetry (line 166) | static #startTelemetry ({ serviceConfig } = {}) { FILE: src/backend/src/modules/puterfs/MountpointService.js class MountpointService (line 39) | class MountpointService extends BaseService { method register_mounter (line 45) | register_mounter (name, mounter) { method get_provider (line 87) | async get_provider (selector) { method set_storage (line 147) | set_storage (provider, storage) { method get_storage (line 155) | get_storage (provider) { method '__on_boot.consolidation' (line 49) | async '__on_boot.consolidation' () { FILE: src/backend/src/modules/puterfs/PuterFSModule.js class PuterFSModule (line 29) | class PuterFSModule extends AdvancedBase { method install (line 30) | async install (context) { FILE: src/backend/src/modules/puterfs/ResourceService.js constant RESOURCE_STATUS_PENDING_CREATE (line 27) | const RESOURCE_STATUS_PENDING_CREATE = {}; constant RESOURCE_STATUS_PENDING_UPDATE (line 28) | const RESOURCE_STATUS_PENDING_UPDATE = {}; constant RS_DIRECTORY_PENDING_CHILD_INSERT (line 29) | const RS_DIRECTORY_PENDING_CHILD_INSERT = {}; class ResourceService (line 44) | class ResourceService extends BaseService { method _construct (line 45) | _construct () { method register (line 51) | register (entry) { method free (line 74) | free (uid) { method waitForResourceByPath (line 87) | async waitForResourceByPath (path) { method waitForResourceByUID (line 95) | async waitForResourceByUID (uid) { method waitForResource (line 103) | async waitForResource (selector) { method getResourceInfo (line 120) | getResourceInfo (uid) { FILE: src/backend/src/modules/puterfs/SizeService.js class UserParameter (line 24) | class UserParameter { method adapt (line 25) | static async adapt (value) { class SizeService (line 34) | class SizeService extends BaseService { method _construct (line 35) | _construct () { method _init (line 39) | _init () { method get_usage (line 76) | async get_usage (user_id) { method change_usage (line 94) | async change_usage (user_id, delta) { method add_node_size (line 100) | async add_node_size (fs, node, user, factor = 1) { method get_storage_capacity (line 126) | async get_storage_capacity (user_or_id, { exclude_transient } = {}) { method add_storage (line 152) | async add_storage (user_or_id, amount_in_bytes, reason, { field_a, fie... method '__on_boot.consolidate' (line 44) | '__on_boot.consolidate' () { FILE: src/backend/src/modules/puterfs/customfs/MemoryFSProvider.js class MemoryFile (line 36) | class MemoryFile { method constructor (line 44) | constructor ({ path, is_dir, content, parent_uid = null }) { class MemoryFSProvider (line 75) | class MemoryFSProvider { method constructor (line 76) | constructor (mountpoint) { method get_capabilities (line 104) | get_capabilities () { method _inner_path (line 120) | _inner_path (path) { method _integrity_check (line 141) | _integrity_check () { method quick_check (line 203) | async quick_check ({ selector }) { method stat (line 228) | async stat ({ selector }) { method readdir (line 284) | async readdir ({ context, node }) { method mkdir (line 318) | async mkdir ({ context, parent, name }) { method rmdir (line 363) | async rmdir ({ context, node, options = {} }) { method unlink (line 413) | async unlink ({ context, node }) { method move (line 436) | async move ({ context, node, new_parent, new_name, metadata }) { method copy_tree (line 477) | async copy_tree ({ context, source, parent, target_name }) { method write_new (line 523) | async write_new ({ context, parent, name, file }) { method write_overwrite (line 567) | async write_overwrite ({ context, node, file }) { method read (line 598) | async read ({ FILE: src/backend/src/modules/puterfs/customfs/MemoryFSService.js class MemoryFSService (line 23) | class MemoryFSService extends BaseService { method _init (line 24) | async _init () { method mount (line 31) | async mount ({ path, options }) { FILE: src/backend/src/modules/selfhosted/DefaultUserService.js constant USERNAME (line 33) | const USERNAME = 'admin'; constant DEFAULT_FILES (line 35) | const DEFAULT_FILES = {}; class DefaultUserService (line 37) | class DefaultUserService extends BaseService { method _init (line 38) | async _init () { method create_default_user_ (line 70) | async create_default_user_ () { method #recursiveCreateDefaultFilesIfMissing (line 111) | async #recursiveCreateDefaultFilesIfMissing ({ components, tree, actor... method #createDefaultUserFiles (line 164) | async #createDefaultUserFiles (actor) { method get_tmp_password_ (line 174) | async get_tmp_password_ (user) { method force_tmp_password_ (line 198) | async force_tmp_password_ (user) { method _register_commands (line 224) | _register_commands (commands) { method '__on_ready.webserver' (line 41) | async '__on_ready.webserver' () { FILE: src/backend/src/modules/selfhosted/DevCreditService.js class PermissiveCreditService (line 10) | class PermissiveCreditService extends BaseService { method _init (line 14) | _init () { method get_user_credit_ (line 63) | get_user_credit_ (username) { method consume_user_credit_ (line 72) | consume_user_credit_ (username, amount) { FILE: src/backend/src/modules/selfhosted/DevWatcherService.js class ProxyLogger (line 26) | class ProxyLogger { method constructor (line 27) | constructor (log) { method attach (line 30) | attach (stream) { class DevWatcherService (line 55) | class DevWatcherService extends BaseService { method _init (line 61) | async _init (args) { method get_configjs (line 94) | async get_configjs ({ directory, configIsFor, possibleConfigNames }) { method start_a_webpack_watcher_ (line 128) | async start_a_webpack_watcher_ (entry) { method '__on_ready.webserver' (line 70) | async '__on_ready.webserver' () { FILE: src/backend/src/modules/selfhosted/SelfHostedModule.js class SelfHostedModule (line 22) | class SelfHostedModule extends AdvancedBase { method install (line 23) | async install (context) { FILE: src/backend/src/modules/selfhosted/SelfhostedService.js class SelfhostedService (line 22) | class SelfhostedService extends BaseService { method _init (line 27) | async _init () { method _register_commands (line 31) | _register_commands (commands) { FILE: src/backend/src/modules/selfhosted/ServeSingeFileService.js class ServeSingleFileService (line 21) | class ServeSingleFileService extends BaseService { method _init (line 22) | async _init (args) { method '__on_install.routes' (line 26) | async '__on_install.routes' () { FILE: src/backend/src/modules/selfhosted/ServeStaticFilesService.js class ServeStaticFilesService (line 21) | class ServeStaticFilesService extends BaseService { method _init (line 22) | async _init (args) { method '__on_install.routes' (line 26) | async '__on_install.routes' () { FILE: src/backend/src/modules/template/TemplateModule.js class TemplateModule (line 29) | class TemplateModule extends AdvancedBase { method install (line 30) | async install (context) { FILE: src/backend/src/modules/template/TemplateService.js class TemplateService (line 28) | class TemplateService extends BaseService { method _construct (line 35) | _construct () { method _init (line 39) | async _init () { method '__on_install.routes' (line 48) | '__on_install.routes' (_, { app }) { method '__on_boot.consolidation' (line 64) | '__on_boot.consolidation' () { method '__on_boot.activation' (line 84) | '__on_boot.activation' () { method '__on_start.webserver' (line 91) | '__on_start.webserver' () { FILE: src/backend/src/modules/test-config/TestConfigModule.js class TestConfigModule (line 3) | class TestConfigModule extends AdvancedBase { method install (line 4) | async install (context) { FILE: src/backend/src/modules/test-config/TestConfigReadService.js class TestConfigReadService (line 3) | class TestConfigReadService extends BaseService { method _init (line 4) | async _init () { FILE: src/backend/src/modules/test-config/TestConfigUpdateService.js class TestConfigUpdateService (line 3) | class TestConfigUpdateService extends BaseService { method _run_as_early_as_possible (line 4) | async _run_as_early_as_possible () { FILE: src/backend/src/modules/test-core/TestCoreModule.js class TestCoreModule (line 26) | class TestCoreModule { method install (line 27) | async install (context) { FILE: src/backend/src/modules/test-drivers/TestAssetHostService.js class TestAssetHostService (line 22) | class TestAssetHostService extends BaseService { method '__on_install.routes' (line 23) | async '__on_install.routes' () { FILE: src/backend/src/modules/test-drivers/TestDriversModule.js class TestDriversModule (line 22) | class TestDriversModule extends AdvancedBase { method install (line 23) | async install (context) { FILE: src/backend/src/modules/test-drivers/TestImageService.js constant PUBLIC_DOMAIN_IMAGES (line 25) | const PUBLIC_DOMAIN_IMAGES = [ class TestImageService (line 33) | class TestImageService extends BaseService { method get_version (line 72) | get_version () { method echo_image (line 77) | async echo_image ({ method get_image (line 86) | async get_image ({ method '__on_driver.register.interfaces' (line 34) | async '__on_driver.register.interfaces' () { FILE: src/backend/src/modules/web/APIErrorService.js class APIErrorService (line 37) | class APIErrorService extends BaseService { method _construct (line 38) | _construct () { method register (line 52) | register (codes) { method create (line 58) | create (code, fields) { FILE: src/backend/src/modules/web/SocketioService.js class SocketioService (line 30) | class SocketioService extends BaseService { method send (line 60) | async send (socket_specifiers, key, data) { method has (line 80) | has (socket_specifier) { method '__on_install.socketio' (line 36) | '__on_install.socketio' (_, { server }) { FILE: src/backend/src/modules/web/WebModule.js class WebModule (line 28) | class WebModule extends AdvancedBase { method install (line 29) | async install (context) { FILE: src/backend/src/modules/web/WebServerService.d.ts class WebServerService (line 7) | class WebServerService extends BaseService { FILE: src/backend/src/modules/web/WebServerService.js class WebServerService (line 53) | class WebServerService extends BaseService { method allow_undefined_origin (line 70) | allow_undefined_origin (route) { method install_post_middlewares_ (line 109) | install_post_middlewares_ ({ app }) { method get_server (line 330) | get_server () { method _init (line 339) | async _init () { method '__on_boot.consolidation' (line 82) | async '__on_boot.consolidation' () { method '__on_boot.activation' (line 133) | async '__on_boot.activation' () { method '__on_start.webserver' (line 148) | async '__on_start.webserver' () { FILE: src/backend/src/om/IdentifierUtil.js class IdentifierUtil (line 24) | class IdentifierUtil extends AdvancedBase { method detect_identifier (line 29) | async detect_identifier (object, allow_mutation = false) { FILE: src/backend/src/om/definitions/Mapping.js class Mapping (line 30) | class Mapping extends AdvancedBase { method create (line 40) | static create (context, data) { method get_client_safe (line 55) | async get_client_safe (data) { FILE: src/backend/src/om/definitions/PropType.js class PropType (line 22) | class PropType extends AdvancedBase { method create (line 27) | static create (context, data, k) { method populate_subtype_ (line 58) | populate_subtype_ (chains) { method adapt (line 67) | async adapt (value, extra) { method sql_dereference (line 79) | async sql_dereference (value, extra) { method sql_reference (line 89) | async sql_reference (value, extra) { method validate (line 99) | async validate (value, extra) { method factory (line 112) | async factory (extra) { method is_set (line 131) | async is_set (value) { FILE: src/backend/src/om/definitions/Property.js class Property (line 22) | class Property extends AdvancedBase { method create (line 27) | static create (context, name, descriptor) { method constructor (line 46) | constructor (...a) { method adapt (line 50) | async adapt (value) { method sql_dereference (line 63) | async sql_dereference (value) { method sql_reference (line 68) | async sql_reference (value) { method validate (line 73) | async validate (value) { method factory (line 82) | async factory () { method is_set (line 91) | async is_set (value) { FILE: src/backend/src/om/entitystorage/AppES.js constant APP_UID_ALIAS_KEY_PREFIX (line 33) | const APP_UID_ALIAS_KEY_PREFIX = 'app:canonicalUidAlias'; constant APP_UID_ALIAS_REVERSE_KEY_PREFIX (line 34) | const APP_UID_ALIAS_REVERSE_KEY_PREFIX = 'app:canonicalUidAliasReverse'; constant APP_UID_ALIAS_TTL_SECONDS (line 35) | const APP_UID_ALIAS_TTL_SECONDS = 60 * 60 * 24 * 90; class AppES (line 103) | class AppES extends BaseES { method _on_context_provided (line 105) | async _on_context_provided () { method create_predicate (line 116) | async create_predicate (id, ...args) { method delete (line 130) | async delete (uid, _extra) { method read (line 135) | async read (uid) { method select (line 159) | async select (options) { method upsert (line 196) | async upsert (entity, extra) { method retry_predicate_rewrite (line 381) | async retry_predicate_rewrite ({ predicate }) { method queueIconMigration (line 407) | async queueIconMigration (entity) { method read_transform (line 453) | async read_transform (entity) { method maybe_insert_subdomain_ (line 571) | async maybe_insert_subdomain_ (entity) { method ensurePuterSiteSubdomainIsOwned (line 608) | async ensurePuterSiteSubdomainIsOwned (entity, extra, user) { method is_puter_hosted_index_url_ (line 632) | is_puter_hosted_index_url_ (index_url) { method build_equivalent_index_url_candidates_ (line 636) | build_equivalent_index_url_candidates_ (index_url) { method find_index_url_conflict_ (line 663) | async find_index_url_conflict_ ({ indexUrl, excludeMysqlId }) { method resolve_entity_mysql_id_ (line 699) | async resolve_entity_mysql_id_ (entity) { method claim_app_ownership_by_id_for_user_ (line 726) | async claim_app_ownership_by_id_for_user_ ({ appId, userId }) { method build_canonical_app_uid_alias_key_ (line 736) | build_canonical_app_uid_alias_key_ (oldAppUid) { method build_canonical_app_uid_alias_reverse_key_ (line 740) | build_canonical_app_uid_alias_reverse_key_ (canonicalAppUid) { method normalize_canonical_alias_uid_list_ (line 744) | normalize_canonical_alias_uid_list_ (value) { method read_canonical_app_uid_alias_ (line 757) | async read_canonical_app_uid_alias_ (oldAppUid) { method write_canonical_app_uid_alias_ (line 778) | async write_canonical_app_uid_alias_ ({ oldAppUid, canonicalAppUid }) { method maybe_join_owned_hosted_index_url_app_on_create_ (line 816) | async maybe_join_owned_hosted_index_url_app_on_create_ (entity, extra,... method apply_joined_requested_name_ (line 899) | async apply_joined_requested_name_ ({ canonicalUid, requestedName }) { method is_origin_bootstrap_app_entity_ (line 933) | async is_origin_bootstrap_app_entity_ (entity) { method ensureIndexUrlUnique (line 944) | async ensureIndexUrlUnique (entity, extra) { FILE: src/backend/src/om/entitystorage/AppLimitedES.js class AppLimitedES (line 27) | class AppLimitedES extends BaseES { method select (line 32) | async select (options) { method read (line 66) | async read (uid) { method upsert (line 102) | async upsert (entity, extra) { method delete (line 112) | async delete (uid, extra) { method _check_edit_allowed (line 120) | async _check_edit_allowed ({ old_entity }) { FILE: src/backend/src/om/entitystorage/BaseES.js class BaseES (line 25) | class BaseES extends AdvancedBase { method upsert (line 32) | async upsert (entity, extra) { method read (line 38) | async read (uid) { method delete (line 44) | async delete (uid, extra) { method select (line 50) | async select (options) { method create_predicate (line 56) | async create_predicate (id, ...args) { method constructor (line 64) | constructor (...a) { method provide_context (line 86) | async provide_context ( args ) { method read (line 95) | async read (uid) { method upsert (line 107) | async upsert (entity, extra) { method delete (line 110) | async delete (uid, extra) { method select (line 114) | async select (options) { method retry_predicate_rewrite (line 125) | async retry_predicate_rewrite ({ predicate }) { method read_transform (line 130) | async read_transform (entity) { method call_on_impl_ (line 138) | call_on_impl_ (method_name, ...args) { FILE: src/backend/src/om/entitystorage/ESBuilder.js class ESBuilder (line 19) | class ESBuilder { method create (line 20) | static create (list) { FILE: src/backend/src/om/entitystorage/Entity.js class Entity (line 22) | class Entity extends AdvancedBase { method constructor (line 27) | constructor (args) { method create (line 37) | static async create (args, data) { method clone (line 49) | async clone () { method apply (line 74) | async apply (other) { method set (line 83) | async set (key, value) { method get (line 91) | async get (key) { method del (line 128) | async del (key) { method has (line 136) | async has (key) { method check (line 144) | async check (condition) { method om_has_property (line 148) | om_has_property (key) { method is_set (line 153) | async is_set (key) { method get_client_safe (line 157) | async get_client_safe () { FILE: src/backend/src/om/entitystorage/MaxLimitES.js class MaxLimitES (line 21) | class MaxLimitES extends BaseES { method select (line 23) | async select (options) { FILE: src/backend/src/om/entitystorage/NotificationES.js class NotificationES (line 22) | class NotificationES extends BaseES { method create_predicate (line 24) | async create_predicate (id) { method read_transform (line 46) | async read_transform (entity) { FILE: src/backend/src/om/entitystorage/OwnerLimitedES.js class OwnerLimitedES (line 24) | class OwnerLimitedES extends BaseES { method select (line 26) | async select (options) { method read (line 46) | async read (uid) { FILE: src/backend/src/om/entitystorage/ProtectedAppES.js class ProtectedAppES (line 24) | class ProtectedAppES extends BaseES { method select (line 25) | async select (options) { method read (line 43) | async read (uid) { method check_ (line 60) | async check_ ({ actor, services }, entity) { FILE: src/backend/src/om/entitystorage/ReadOnlyES.js class ReadOnlyES (line 22) | class ReadOnlyES extends BaseES { method upsert (line 23) | async upsert () { method delete (line 26) | async delete () { FILE: src/backend/src/om/entitystorage/SQLES.js class RawCondition (line 30) | class RawCondition extends AdvancedBase { class SQLES (line 37) | class SQLES extends BaseES { method _on_context_provided (line 38) | async _on_context_provided () { method create_predicate (line 43) | async create_predicate (id, args) { method read (line 48) | async read (uid) { method select (line 92) | async select ({ predicate, limit, offset }) { method upsert (line 124) | async upsert (entity, extra) { method delete (line 166) | async delete (uid) { method sql_row_to_entity_ (line 187) | async sql_row_to_entity_ (data) { method create_ (line 221) | async create_ (entity) { method update_ (line 243) | async update_ (entity, old_entity) { method get_sql_data_ (line 276) | async get_sql_data_ (entity) { method om_to_sql_condition_ (line 317) | async om_to_sql_condition_ (om_query) { FILE: src/backend/src/om/entitystorage/SetOwnerES.js class SetOwnerES (line 24) | class SetOwnerES extends BaseES { method upsert (line 26) | async upsert (entity, extra) { method read (line 50) | async read (uid) { method select (line 58) | async select (...args) { method _sanitize_owner (line 65) | async _sanitize_owner (entity) { FILE: src/backend/src/om/entitystorage/SubdomainES.js constant PERM_READ_ALL_SUBDOMAINS (line 27) | const PERM_READ_ALL_SUBDOMAINS = 'read-all-subdomains'; class SubdomainES (line 29) | class SubdomainES extends BaseES { method _on_context_provided (line 30) | async _on_context_provided () { method create_predicate (line 34) | async create_predicate (id) { method upsert (line 42) | async upsert (entity, extra) { method select (line 49) | async select (options) { method _check_max_subdomains (line 68) | async _check_max_subdomains () { FILE: src/backend/src/om/entitystorage/ValidationES.js class ValidationES (line 25) | class ValidationES extends BaseES { method _on_context_provided (line 26) | async _on_context_provided () { method upsert (line 41) | async upsert (entity, extra) { method validate_ (line 60) | async validate_ (entity, diff) { FILE: src/backend/src/om/entitystorage/WriteByOwnerOnlyES.js constant WRITE_ALL_OWNER_ES (line 23) | const WRITE_ALL_OWNER_ES = 'system:es:write-all-owners'; class WriteByOwnerOnlyES (line 29) | class WriteByOwnerOnlyES extends BaseES { method upsert (line 40) | async upsert (entity, extra) { method delete (line 56) | async delete (uid, extra) { method _check_allowed (line 71) | async _check_allowed ({ old_entity }) { FILE: src/backend/src/om/mappings/subdomain.js method adapt (line 45) | async adapt (value) { method validate (line 48) | async validate (value) { method adapt (line 65) | async adapt (value) { FILE: src/backend/src/om/proptypes/__all__.js constant NULL (line 29) | const NULL = Symbol('NULL'); constant APP_ICON_ENDPOINT_PATH_REGEX (line 30) | const APP_ICON_ENDPOINT_PATH_REGEX = /^\/app-icon\/([^/?#]+)(?:\/(\d+))?... constant LEGACY_APP_ICON_FILE_PATH_REGEX (line 31) | const LEGACY_APP_ICON_FILE_PATH_REGEX = /^\/(app-[^/?#]+?)(?:-(\d+))?\.p... constant ABSOLUTE_URL_REGEX (line 32) | const ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\d+\-.]*:/; constant RAW_BASE64_REGEX (line 33) | const RAW_BASE64_REGEX = /^[A-Za-z0-9+/]+={0,2}$/; class OMTypeError (line 210) | class OMTypeError extends Error { method constructor (line 211) | constructor ({ expected, got }) { method is_set (line 220) | is_set (value) { method is_set (line 228) | is_set (value) { method adapt (line 231) | async adapt (value) { method validate (line 247) | validate (value, { name, descriptor }) { method validate (line 265) | validate (value, { name, descriptor }) { method validate (line 296) | validate (value) { method validate (line 302) | validate (value, { descriptor }) { method factory (line 309) | factory ({ descriptor }) { method is_set (line 317) | is_set (value) { method adapt (line 320) | adapt (value) { method validate (line 332) | validate (value) { method validate (line 360) | validate (value) { method sql_reference (line 370) | async sql_reference (value, { descriptor }) { method sql_dereference (line 378) | async sql_dereference (value, { descriptor }) { method adapt (line 385) | async adapt (value, { descriptor }) { method sql_reference (line 399) | async sql_reference (value) { method is_set (line 407) | async is_set (value) { method sql_dereference (line 410) | async sql_dereference (value) { method adapt (line 418) | async adapt (value, { name }) { method validate (line 457) | async validate (value, { descriptor }) { FILE: src/backend/src/om/query/query.js class Predicate (line 22) | class Predicate extends AdvancedBase { class Null (line 28) | class Null extends Predicate { class And (line 32) | class And extends Predicate { class Or (line 36) | class Or extends Predicate { method check (line 37) | async check (entity) { class Eq (line 47) | class Eq extends Predicate { method check (line 48) | async check (entity) { class StartsWith (line 53) | class StartsWith extends Predicate { method check (line 54) | async check (entity) { class IsNotNull (line 59) | class IsNotNull extends Predicate { method check (line 60) | async check (entity) { class Like (line 65) | class Like extends Predicate { method check (line 66) | async check (entity) { class PredicateUtil (line 78) | class PredicateUtil { method simplify (line 79) | static simplify (predicate) { method write_human_readable (line 121) | static write_human_readable (predicate) { FILE: src/backend/src/routers/auth/oidc.js constant REVALIDATION_COOKIE_NAME (line 25) | const REVALIDATION_COOKIE_NAME = 'puter_revalidation'; constant REVALIDATION_EXPIRY_SEC (line 26) | const REVALIDATION_EXPIRY_SEC = 300; constant MISSING_CODE_OR_STATE (line 28) | const MISSING_CODE_OR_STATE = Symbol('MISSING_CODE_OR_STATE'); constant INVALID_OR_EXPIRED_STATE (line 29) | const INVALID_OR_EXPIRED_STATE = Symbol('INVALID_OR_EXPIRED_STATE'); constant TOKEN_EXCHANGE_FAILED (line 30) | const TOKEN_EXCHANGE_FAILED = Symbol('TOKEN_EXCHANGE_FAILED'); constant COULD_NOT_GET_USER_INFO (line 31) | const COULD_NOT_GET_USER_INFO = Symbol('COULD_NOT_GET_USER_INFO'); constant OIDC_CALLBACK_ERROR_RESPONSES (line 33) | const OIDC_CALLBACK_ERROR_RESPONSES = { constant OIDC_ERROR_REDIRECT_MAP (line 40) | const OIDC_ERROR_REDIRECT_MAP = { function buildOIDCErrorRedirectUrl (line 67) | function buildOIDCErrorRedirectUrl (sourceFlow, errorCondition, message,... function appendQueryParam (line 88) | function appendQueryParam (url, key, value) { FILE: src/backend/src/routers/auth/revoke-access-token.js function tokenOrUuidFromInput (line 28) | function tokenOrUuidFromInput (value) { FILE: src/backend/src/routers/change_email.js constant CHANGE_EMAIL_CONFIRM (line 29) | const CHANGE_EMAIL_CONFIRM = eggspress('/change_email/confirm', { FILE: src/backend/src/routers/filesystem_api/batch/PathResolver.js constant ERR_INVALID_PATHREF (line 21) | const ERR_INVALID_PATHREF = 'Invalid path reference in path: '; constant ERR_UNKNOWN_PATHREF (line 22) | const ERR_UNKNOWN_PATHREF = 'Unknown path reference in path: '; method constructor (line 36) | constructor ({ actor }) { method putPath (line 55) | putPath (refName, path) { method putSelector (line 59) | putSelector (refName, selector, meta) { method resolve (line 79) | resolve (inputPath) { method awaitSelector (line 90) | async awaitSelector (inputPath) { method getMeta (line 123) | getMeta (inputPath) { method getReferenceUsed (line 130) | getReferenceUsed (inputPath) { FILE: src/backend/src/routers/get-launch-apps.test.js constant TEST_UUID_NAMESPACE (line 30) | const TEST_UUID_NAMESPACE = '5568ab95-229d-4d87-b98c-0b12680a9524'; FILE: src/backend/src/routers/hosting/puter-site-config.js constant ERROR_CLASS_REGEX (line 21) | const ERROR_CLASS_REGEX = /^([45])xx$/i; constant STATUS_CODE_REGEX (line 22) | const STATUS_CODE_REGEX = /^[1-5][0-9][0-9]$/; FILE: src/backend/src/routers/hosting/puterSiteMiddleware.js constant AT_DIRECTORY_NAMESPACE (line 57) | const AT_DIRECTORY_NAMESPACE = '4aa6dc52-34c1-4b8a-b63c-a62b27f727cf'; function isPrivateApp (line 62) | function isPrivateApp (app) { function normalizeConfiguredHostname (line 66) | function normalizeConfiguredHostname (hostValue) { function getPrivateHostingDomainsForMatch (line 77) | function getPrivateHostingDomainsForMatch () { function getPrivateHostingDomainForRedirect (line 91) | function getPrivateHostingDomainForRedirect () { function hostMatchesPrivateDomain (line 101) | function hostMatchesPrivateDomain (hostname) { function getSubdomainFromHostedRequest (line 110) | function getSubdomainFromHostedRequest (req) { function getRequestedPrivateHost (line 130) | function getRequestedPrivateHost (req) { function buildPrivateHostRedirectUrl (line 137) | function buildPrivateHostRedirectUrl (req, app) { function normalizeHostFromHeader (line 167) | function normalizeHostFromHeader (hostValue) { function normalizeConfiguredHost (line 178) | function normalizeConfiguredHost (hostValue) { function buildPrivateAppIndexUrlCandidates (line 185) | function buildPrivateAppIndexUrlCandidates (req) { function resolvePrivateAppForHostedSite (line 231) | async function resolvePrivateAppForHostedSite ({ req, site, services, as... function getPrivateDeniedRedirectUrl (line 258) | function getPrivateDeniedRedirectUrl (app, denyRedirectUrl) { function getMarketplaceAppUrl (line 271) | function getMarketplaceAppUrl (app) { function appendLinkHeader (line 283) | function appendLinkHeader (res, linkValue) { function setReferrerPolicyHeader (line 307) | function setReferrerPolicyHeader (res, policyValue = 'no-referrer') { function isPrivateAccessGateEnabled (line 319) | function isPrivateAccessGateEnabled () { function logPrivateAccessEvent (line 323) | function logPrivateAccessEvent (eventName, fields = {}) { function getPrivateAccessRejectionReason (line 330) | function getPrivateAccessRejectionReason (error) { function stripBootstrapAuthTokenFromOriginalUrl (line 334) | function stripBootstrapAuthTokenFromOriginalUrl (originalUrl) { function hasAppInstanceIdQueryParam (line 356) | function hasAppInstanceIdQueryParam (req) { function getTokenFromAuthorizationHeader (line 381) | function getTokenFromAuthorizationHeader (req) { function getBootstrapTokenFromReferrer (line 388) | function getBootstrapTokenFromReferrer (req) { function getBootstrapPrivateToken (line 403) | function getBootstrapPrivateToken (req) { function getBootstrapPrivateTokenSource (line 426) | function getBootstrapPrivateTokenSource (req) { function actorToPrivateIdentity (line 449) | function actorToPrivateIdentity (actor) { function resolvePrivateIdentity (line 479) | async function resolvePrivateIdentity ({ req, services, appUid }) { function getPublicHostedActorCookieName (line 667) | function getPublicHostedActorCookieName (authService) { function getRequestedHostedHost (line 674) | function getRequestedHostedHost (req) { function buildLightweightHostedActor (line 679) | function buildLightweightHostedActor ({ userUid, sessionUuid }) { function setHostedActorOnRequestContext (line 694) | function setHostedActorOnRequestContext ({ req, actor }) { function resolvePublicHostedIdentity (line 700) | async function resolvePublicHostedIdentity ({ req, services, appUid }) { function evaluatePublicHostedActorContext (line 840) | async function evaluatePublicHostedActorContext ({ function escapeHtml (line 938) | function escapeHtml (value) { function respondPrivateLoginBootstrap (line 948) | function respondPrivateLoginBootstrap ({ res, app }) { function evaluatePrivateAppAccess (line 1152) | async function evaluatePrivateAppAccess ({ req, res, services, app, requ... function runInternal (line 1280) | async function runInternal (req, res, next) { function respondSiteError (line 1695) | async function respondSiteError ({ path, html, req, res, next, subdomain... function getSiteErrorConfig (line 1708) | async function getSiteErrorConfig (req, subdomainRootPath) { function getSiteFileNode (line 1758) | async function getSiteFileNode (subdomainRootPath, sitePath) { function maybeRespondWithSiteConfig (line 1771) | async function maybeRespondWithSiteConfig ({ function streamSiteFile (line 1810) | async function streamSiteFile ({ req, res, fsNode, status }) { function respond404 (line 1831) | async function respond404 ({ path, html }, req, res, next, subdomainRoot... function respondHtmlError (line 1858) | function respondHtmlError ({ path, html, status = 404 }, req, res, _next) { function respondError (line 1885) | function respondError ({ req, res, e }) { function puterSiteMiddleware (line 1898) | async function puterSiteMiddleware (req, res, next) { FILE: src/backend/src/routers/hosting/puterSiteMiddleware.test.js class UserActorType (line 106) | class UserActorType { method constructor (line 107) | constructor ({ user, session, hasHttpOnlyCookie } = {}) { class SiteActorType (line 113) | class SiteActorType { class Actor (line 115) | class Actor { method constructor (line 116) | constructor ({ user_uid, app_uid, type } = {}) { method get_related_actor (line 122) | get_related_actor (actorType) { method create (line 140) | static create () { FILE: src/backend/src/routers/puterai/openai/chat_completions.js constant DEFAULT_PROVIDER (line 27) | const DEFAULT_PROVIDER = 'openai-completion'; FILE: src/backend/src/routers/puterai/openai/completions.js constant DEFAULT_PROVIDER (line 27) | const DEFAULT_PROVIDER = 'openai-completion'; FILE: src/backend/src/routers/query/app.js constant PREFIX_APP_UID (line 25) | const PREFIX_APP_UID = 'app-'; FILE: src/backend/src/routers/save_account.js constant SECOND (line 29) | const SECOND = 1000; FILE: src/backend/src/routers/set-pass-using-token.js constant SAFE_NEGATIVE_RESPONSE (line 29) | const SAFE_NEGATIVE_RESPONSE = 'This password recovery token is no longe... FILE: src/backend/src/routers/signup.js function generate_random_username (line 30) | async function generate_random_username () { FILE: src/backend/src/routers/signup_create_new_user.js function signup_create_new_user (line 32) | async function signup_create_new_user (services, options) { FILE: src/backend/src/routers/user-protected/delete-own-user.js constant REVALIDATION_COOKIE_NAME (line 22) | const REVALIDATION_COOKIE_NAME = 'puter_revalidation'; FILE: src/backend/src/routers/verify-pass-recovery-token.js constant SAFE_NEGATIVE_RESPONSE (line 28) | const SAFE_NEGATIVE_RESPONSE = 'This password recovery token is no longe... FILE: src/backend/src/routers/writeFile.js method get_dest_node (line 84) | async get_dest_node () { FILE: src/backend/src/services/AWSSecretsPopulator.js class AWSSecretsPopulator (line 5) | class AWSSecretsPopulator extends BaseService { method _run_as_early_as_possible (line 6) | async _run_as_early_as_possible () { FILE: src/backend/src/services/AnomalyService.js constant DENY_SERVICE_INSTRUCTION (line 22) | const DENY_SERVICE_INSTRUCTION = Symbol('DENY_SERVICE_INSTRUCTION'); class AnomalyService (line 30) | class AnomalyService extends BaseService { method _construct (line 40) | _construct () { method register (line 53) | register (type, config) { method note (line 76) | async note (id, data) { FILE: src/backend/src/services/BaseService.d.ts type ServicesMap (line 23) | interface ServicesMap { type ServiceResources (line 47) | interface ServiceResources { type EventHandler (line 61) | type EventHandler = (id: string, ...args: any[]) => any; type Logger (line 63) | interface Logger { class BaseService (line 69) | class BaseService { FILE: src/backend/src/services/BaseService.js class BaseService (line 38) | class BaseService extends concepts.Service { method constructor (line 39) | constructor (service_resources, ...a) { method run_as_early_as_possible (line 64) | async run_as_early_as_possible () { method construct (line 74) | async construct () { method init (line 93) | async init () { method __on (line 124) | async __on (id, args) { method __get_event_handler (line 130) | __get_event_handler (id) { FILE: src/backend/src/services/BootScriptService.js class BootScriptService (line 30) | class BootScriptService extends BaseService { method run_script (line 66) | async run_script (boot_json) { method '__on_boot.ready' (line 44) | async '__on_boot.ready' () { FILE: src/backend/src/services/ChatAPIService.js class ChatAPIService (line 30) | class ChatAPIService extends BaseService { method install_chat_endpoints_ (line 64) | install_chat_endpoints_ ({ router }) { method '__on_install.routes' (line 43) | async '__on_install.routes' (_, { app }) { FILE: src/backend/src/services/CleanEmailService.js class CleanEmailService (line 29) | class CleanEmailService extends BaseService { method _construct (line 89) | _construct () { method clean (line 106) | clean (email) { method validate (line 154) | async validate (email) { FILE: src/backend/src/services/ClientOperationService.js constant CONTEXT_KEY (line 22) | const CONTEXT_KEY = Context.make_context_key('operation-trace'); class ClientOperationTracker (line 29) | class ClientOperationTracker { method constructor (line 30) | constructor (parameters) { class ClientOperationService (line 46) | class ClientOperationService { method constructor (line 47) | constructor ({ services }) { method add_operation (line 57) | async add_operation (parameters) { method ckey (line 63) | ckey (key) { FILE: src/backend/src/services/CommandService.js class Command (line 29) | class Command { method constructor (line 30) | constructor (spec) { method id (line 38) | get id () { method execute (line 49) | async execute (args, log) { method completeArgument (line 60) | completeArgument (args) { class CommandService (line 77) | class CommandService extends BaseService { method _construct (line 82) | async _construct () { method _init (line 89) | async _init () { method registerCommands (line 126) | registerCommands (serviceName, commands) { method executeCommand (line 155) | async executeCommand (args, log) { method executeRawCommand (line 183) | async executeRawCommand (text, log) { method commandNames (line 193) | get commandNames () { method getCommand (line 197) | getCommand (id) { method '__on_boot.consolidation' (line 102) | async '__on_boot.consolidation' () { FILE: src/backend/src/services/ConfigurableCountingService.js class ConfigurableCountingService (line 39) | class ConfigurableCountingService extends BaseService { method _init (line 94) | async _init () { method increment (line 111) | async increment ({ service_name, service_type, values }) { FILE: src/backend/src/services/Container.js class Container (line 35) | class Container { method constructor (line 36) | constructor ({ logger }) { method registerEnforcer (line 50) | registerEnforcer (func) { method registerModule (line 54) | registerModule (name, module) { method setModuleName (line 72) | setModuleName (name) { method registerService (line 83) | registerService (name, cls, args) { method patchService (line 125) | patchService (name, patch, args) { method get_implementors (line 133) | get_implementors (interface_name) { method set (line 139) | set (name, instance) { method _get (line 142) | _get (name, opts) { method get (line 151) | get (name, opts) { method has (line 168) | has (name) { method values (line 171) | get values () { method init (line 201) | async init () { method emit (line 240) | async emit (id, ...args) { class ProxyContainer (line 262) | class ProxyContainer { method constructor (line 263) | constructor (delegate) { method set (line 267) | set (name, instance) { method get (line 270) | get (name) { method has (line 282) | has (name) { method values (line 288) | get values () { FILE: src/backend/src/services/ContextInitService.js class ContextInitExpressMiddleware (line 31) | class ContextInitExpressMiddleware { method constructor (line 39) | constructor () { method register_initializer (line 42) | register_initializer (initializer) { method install (line 45) | install (app) { method run (line 53) | async run (req, res, next) { class ContextInitService (line 74) | class ContextInitService extends BaseService { method _construct (line 82) | _construct () { method register_value (line 85) | register_value (key, value) { method register_async_factory (line 95) | register_async_factory (key, async_factory) { method '__on_install.middlewares.context-aware' (line 100) | async '__on_install.middlewares.context-aware' (_, { app }) { FILE: src/backend/src/services/DetailProviderService.js class DetailProviderService (line 26) | class DetailProviderService extends BaseService { method _construct (line 27) | _construct () { method register_provider (line 31) | register_provider (fn) { method get_details (line 48) | async get_details (context, out) { FILE: src/backend/src/services/DynamoKVStore/DynamoKVStore.ts class DynamoKVStore (line 12) | class DynamoKVStore { method constructor (line 23) | constructor ({ ddbClient, sqlClient, tableName, meteringService }: { d... method createTableIfNotExists (line 31) | async createTableIfNotExists () { method #getNameSpace (line 36) | #getNameSpace (actor: Actor) { method get (line 50) | async get ({ key }: { key: string | string[]; }): Promise { method #encodeCursor (line 203) | #encodeCursor (pageKey?: Record) { method #decodeCursor (line 210) | #decodeCursor (cursor?: string | Record) { method #normalizeLimit (line 240) | #normalizeLimit (limit?: number) { method #normalizePattern (line 254) | #normalizePattern (pattern?: string) { method list (line 275) | async list ({ method flush (line 373) | async flush () { method expireAt (line 417) | async expireAt ({ key, timestamp }: { key: string; timestamp: number; ... method expire (line 430) | async expire ({ key, ttl }: { key: string; ttl: number; }): Promise>({ key, pathAndAmountMap }... method decr (line 593) | async decr>({ key, pathAndAmountMap }... method add (line 598) | async add ({ key, pathAndValueMap }: { key: string; pathAndValueMap: R... method remove (line 655) | async remove ({ key, paths }: { key: string; paths: string[]; }): Prom... method update (line 717) | async update ({ key, pathAndValueMap, ttl }: { key: string; pathAndVal... method #expireAt (line 783) | async #expireAt (key: string, timestamp: number) { FILE: src/backend/src/services/DynamoKVStore/DynamoKVStoreWrapper.ts class DynamoKVStoreServiceWrapper (line 7) | class DynamoKVStoreServiceWrapper extends BaseService { method _init (line 10) | async _init () { method registerHealthcheck (line 24) | async registerHealthcheck () { type IDynamoKVStoreWrapper (line 60) | type IDynamoKVStoreWrapper = DynamoKVStoreServiceWrapper; FILE: src/backend/src/services/DynamoKVStore/tableDefinition.ts constant PUTER_KV_STORE_TABLE_DEFINITION (line 3) | const PUTER_KV_STORE_TABLE_DEFINITION: CreateTableCommandInput = { FILE: src/backend/src/services/EmailService.js constant TEMPLATES (line 22) | const TEMPLATES = { class Emailservice (line 203) | class Emailservice extends BaseService { method _construct (line 219) | _construct () { method _init (line 256) | _init () { method get_transport_ (line 267) | get_transport_ () { method send_email (line 289) | async send_email (user, template, values) { method sendMail (line 305) | sendMail (params) { FILE: src/backend/src/services/EngPortalService.js class EngPortalService (line 31) | class EngPortalService extends AdvancedBase { method constructor (line 36) | constructor ({ services }) { method list_operations (line 51) | async list_operations () { method _serialize_frame (line 62) | _serialize_frame (frame) { method list_alarms (line 95) | async list_alarms () { method get_stats (line 114) | async get_stats () { method _serialize_alarm (line 119) | _serialize_alarm (alarm) { method _serialize_occurance (line 136) | _serialize_occurance (occurance) { method _registerCommands (line 146) | _registerCommands (commands) { FILE: src/backend/src/services/EntityStoreService.js class EntityStoreService (line 32) | class EntityStoreService extends BaseService { method _init (line 46) | async _init (args) { method create (line 65) | async create ({ object, options }) { method update (line 74) | async update ({ object, id, options }) { method upsert (line 78) | async upsert ({ object, id, options }) { method read (line 82) | async read ({ uid, id, params = {} }) { method select (line 101) | async select (options) { method delete (line 114) | async delete ({ uid, id }) { method create (line 144) | async create (entity, options) { method read (line 154) | async read (uid) { method select (line 164) | async select ({ predicate, ...rest }) { method update (line 187) | async update (entity, id, options) { method upsert (line 232) | async upsert (entity, id, options) { method delete (line 269) | async delete (uid) { method fetch_based_on_complex_id_ (line 279) | async fetch_based_on_complex_id_ (id) { method fetch_based_on_either_id_ (line 333) | async fetch_based_on_either_id_ (uid, id) { FILE: src/backend/src/services/EntriService.js class EntriService (line 39) | class EntriService extends BaseService { method _init (line 40) | _init () { method _construct (line 44) | async _construct () { method getConfig (line 98) | async getConfig ({ domain, userHostedSite }) { method deleteMapping (line 177) | async deleteMapping ({ domain }) { method fullyRegistered (line 227) | async fullyRegistered ({ domain, userHostedSite }) { method '__on_install.routes' (line 48) | '__on_install.routes' (_, { app }) { method '__on_driver.register.interfaces' (line 234) | async '__on_driver.register.interfaces' () { FILE: src/backend/src/services/EventService.js class ScopedEventBus (line 27) | class ScopedEventBus { method constructor (line 28) | constructor (event_bus, scope) { method emit (line 33) | async emit (key, data) { method on (line 37) | on (key, callback) { class EventService (line 48) | class EventService extends BaseService { method _construct (line 57) | async _construct () { method emit (line 66) | async emit (key, data, meta) { method on (line 133) | on (selector, callback) { method on_all (line 151) | on_all (callback) { method get_scoped (line 155) | get_scoped (scope) { method '__on_boot.ready' (line 62) | async '__on_boot.ready' () { FILE: src/backend/src/services/FeatureFlagService.js class FeatureFlagService (line 36) | class FeatureFlagService extends BaseService { method _construct (line 42) | _construct () { method _init (line 54) | async _init () { method register (line 67) | register (name, spec) { method check (line 80) | async check (...a) { method get_summary (line 129) | async get_summary (actor) { FILE: src/backend/src/services/FilesystemAPIService.js class FilesystemAPIService (line 30) | class FilesystemAPIService extends BaseService { method '__on_install.routes' (line 41) | async '__on_install.routes' () { FILE: src/backend/src/services/GetUserService.js class GetUserService (line 37) | class GetUserService extends BaseService { method _construct (line 42) | _construct () { method _init (line 59) | async _init () { method get_user (line 94) | async get_user (options) { method refresh_actor (line 127) | async refresh_actor (actor) { method get_user_ (line 137) | async get_user_ (options) { method register_id_property (line 174) | register_id_property (prop) { FILE: src/backend/src/services/HelloWorldService.js class HelloWorldService (line 29) | class HelloWorldService extends BaseService { method get_version (line 37) | get_version () { method greet (line 49) | async greet ({ subject }) { FILE: src/backend/src/services/HostDiskUsageService.js class HostDiskUsageService (line 33) | class HostDiskUsageService extends BaseService { method _init (line 51) | async _init () { method get_host_usage (line 83) | get_host_usage () { method get_extra (line 108) | get_extra () { method get_darwin_mountpoint (line 115) | get_darwin_mountpoint (directory) { method get_linux_mountpint (line 121) | get_linux_mountpint (directory) { method get_windows_drive (line 128) | get_windows_drive (directory) { method get_disk_capacity_darwin (line 133) | get_disk_capacity_darwin (mountpoint) { method get_disk_capacity_linux (line 140) | get_disk_capacity_linux (mountpoint) { method get_disk_capacity_windows (line 147) | get_disk_capacity_windows (drive) { method get_disk_use_darwin (line 152) | get_disk_use_darwin (mountpoint) { method get_disk_use_linux (line 159) | get_disk_use_linux (mountpoint) { method get_disk_use_windows (line 166) | get_disk_use_windows (drive) { FILE: src/backend/src/services/HostnameService.js class HostnameService (line 5) | class HostnameService extends BaseService { method _construct (line 6) | _construct () { method _init (line 10) | _init () { method get_broadcast_addresses (line 27) | get_broadcast_addresses () { FILE: src/backend/src/services/KernelInfoService.js constant PERM_SEE_ALL (line 27) | const PERM_SEE_ALL = 'kernel-info:see-all-services'; constant PERM_SEE_DRIVERS (line 29) | const PERM_SEE_DRIVERS = 'kernel-info:see-all-drivers'; class KernelInfoService (line 38) | class KernelInfoService extends BaseService { method _init (line 39) | async _init () { method '__on_install.routes' (line 49) | '__on_install.routes' (_, { app }) { FILE: src/backend/src/services/LocalDiskStorageService.js class LocalDiskStorageService (line 32) | class LocalDiskStorageService extends BaseService { method _init (line 64) | async _init () { method _get_path (line 75) | _get_path (key) { method store_stream (line 96) | async store_stream ({ key, size, stream, on_progress }) { method store_buffer (line 131) | async store_buffer ({ key, buffer }) { method create_read_stream (line 147) | async create_read_stream (uid, options = {}) { method copy (line 184) | async copy ({ src_key, dst_key }) { method delete (line 203) | async delete ({ key }) { method '__on_install.context-initializers' (line 46) | async '__on_install.context-initializers' () { FILE: src/backend/src/services/LockService.js class LockService (line 29) | class LockService extends BaseService { method _construct (line 35) | async _construct () { method _init (line 47) | async _init () { method lock (line 93) | async lock (name, opt_options, callback) { FILE: src/backend/src/services/MakeProdDebuggingLessAwfulService.js class MakeProdDebuggingLessAwfulService (line 29) | class MakeProdDebuggingLessAwfulService extends BaseService { method constructor (line 50) | constructor () { method install (line 53) | install (app) { method run (line 64) | async run (req, res, next) { method _init (line 71) | async _init () { method '__on_install.middlewares.context-aware' (line 113) | async '__on_install.middlewares.context-aware' (_, { app }) { FILE: src/backend/src/services/MemoryStorageService.js class MemoryStorageService (line 23) | class MemoryStorageService extends BaseService { method _init (line 24) | async _init () { method create_read_stream (line 29) | async create_read_stream (uuid, options) { FILE: src/backend/src/services/MeteringService/MeteringService.ts class MeteringService (line 15) | class MeteringService { method constructor (line 24) | constructor ({ kvStore, superUserService, alarmService, eventService }... method utilRecordUsageObject (line 34) | utilRecordUsageObject>(trackedUsageOb... method #getMonthYearString (line 45) | #getMonthYearString () { method #generateGloabalUsageKey (line 56) | #generateGloabalUsageKey (userId: string, appId: string, currentMonth:... method #generateAppUsageKey (line 62) | #generateAppUsageKey (appId: string, userId: string, currentMonth: str... method incrementUsage (line 69) | async incrementUsage (actor: Actor, usageType: (keyof typeof COST_MAPS... method batchIncrementUsages (line 233) | async batchIncrementUsages (actor: Actor, usages: { usageType: (keyof ... method getActorCurrentMonthUsageDetails (line 413) | async getActorCurrentMonthUsageDetails (actor: Actor) { method setActorCurrentMonthUsageTotal (line 458) | async setActorCurrentMonthUsageTotal (actor: Actor, totalCost: number) { method getActorCurrentMonthAppUsageDetails (line 532) | async getActorCurrentMonthAppUsageDetails (actor: Actor, appId?: strin... method getRemainingUsage (line 552) | async getRemainingUsage (actor: Actor) { method getAllowedUsage (line 558) | async getAllowedUsage (actor: Actor) { method hasAnyUsage (line 571) | async hasAnyUsage (actor: Actor) { method hasEnoughCreditsFor (line 575) | async hasEnoughCreditsFor (actor: Actor, usageType: keyof typeof COST_... method hasEnoughCredits (line 581) | async hasEnoughCredits (actor: Actor, amount: number) { method getActorSubscription (line 586) | async getActorSubscription (actor: Actor): Promise<(typeof SUB_POLICIE... method getActorAddons (line 610) | async getActorAddons (actor: Actor) { method getActorAppUsage (line 621) | async getActorAppUsage (actor: Actor, appId: string) { method getGlobalUsage (line 639) | async getGlobalUsage () { method updateAddonCredit (line 670) | async updateAddonCredit (userId: string, tokenAmount: number) { method #checkRateOfChange (line 685) | async #checkRateOfChange () { FILE: src/backend/src/services/MeteringService/MeteringServiceWrapper.mjs class MeteringServiceWrapper (line 4) | class MeteringServiceWrapper extends BaseService { method _init (line 8) | _init () { FILE: src/backend/src/services/MeteringService/consts.ts constant GLOBAL_APP_KEY (line 2) | const GLOBAL_APP_KEY = 'os-global'; constant METRICS_PREFIX (line 3) | const METRICS_PREFIX = 'metering'; constant POLICY_PREFIX (line 4) | const POLICY_PREFIX = 'policy'; constant PERIOD_ESCAPE (line 5) | const PERIOD_ESCAPE = '_dot_'; constant DEFAULT_FREE_SUBSCRIPTION (line 6) | const DEFAULT_FREE_SUBSCRIPTION = 'user_free'; constant DEFAULT_TEMP_SUBSCRIPTION (line 7) | const DEFAULT_TEMP_SUBSCRIPTION = 'temp_free'; FILE: src/backend/src/services/MeteringService/costMaps/awsPollyCostMap.ts constant AWS_POLLY_COST_MAP (line 12) | const AWS_POLLY_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/awsTextractCostMap.ts constant AWS_TEXTRACT_COST_MAP (line 12) | const AWS_TEXTRACT_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/claudeCostMap.ts constant CLAUDE_COST_MAP (line 20) | const CLAUDE_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/deepSeekCostMap.ts constant DEEPSEEK_COST_MAP (line 20) | const DEEPSEEK_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/elevenlabsCostMap.ts constant ELEVENLABS_COST_MAP (line 8) | const ELEVENLABS_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/fileSystemCostMap.ts constant FILE_SYSTEM_COST_MAP (line 3) | const FILE_SYSTEM_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/geminiCostMap.ts constant GEMINI_COST_MAP (line 10) | const GEMINI_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/groqCostMap.ts constant GROQ_COST_MAP (line 20) | const GROQ_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/index.ts constant COST_MAPS (line 18) | const COST_MAPS = { FILE: src/backend/src/services/MeteringService/costMaps/kvCostMap.ts constant KV_COST_MAP (line 1) | const KV_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/mistralCostMap.ts constant MISTRAL_COST_MAP (line 20) | const MISTRAL_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/openAiCostMap.ts constant OPENAI_COST_MAP (line 21) | const OPENAI_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/openaiImageCostMap.ts constant OPENAI_IMAGE_COST_MAP (line 8) | const OPENAI_IMAGE_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/openaiVideoCostMap.ts constant OPENAI_VIDEO_COST_MAP (line 4) | const OPENAI_VIDEO_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/openrouterCostMap.ts constant OPENROUTER_COST_MAP (line 1) | const OPENROUTER_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/togetherCostMap.ts constant TOGETHER_COST_MAP (line 3) | const TOGETHER_COST_MAP = { FILE: src/backend/src/services/MeteringService/costMaps/xaiCostMap.ts constant XAI_COST_MAP (line 20) | const XAI_COST_MAP = { FILE: src/backend/src/services/MeteringService/subPolicies/index.ts constant SUB_POLICIES (line 4) | const SUB_POLICIES = [ FILE: src/backend/src/services/MeteringService/subPolicies/registeredUserFreePolicy.ts constant REGISTERED_USER_FREE (line 4) | const REGISTERED_USER_FREE = { FILE: src/backend/src/services/MeteringService/subPolicies/tempUserFreePolicy.ts constant TEMP_USER_FREE (line 4) | const TEMP_USER_FREE = { FILE: src/backend/src/services/MeteringService/types.ts type UsageAddons (line 6) | interface UsageAddons { type RecursiveRecord (line 15) | interface RecursiveRecord { [k: string]: T | RecursiveRecord } type UsageRecord (line 17) | interface UsageRecord { type UsageByType (line 23) | type UsageByType = { total: number } & Partial class WebDAVService (line 83) | class WebDAVService extends BaseService { method _construct (line 84) | async _construct () { method _init (line 88) | async _init () { method authenticateWebDavUser (line 106) | async authenticateWebDavUser ( username, password, _req, res ) { method handleHttpBasicAuth (line 148) | async handleHttpBasicAuth ( actor, req, res ) { method handleWebDavServer (line 200) | async handleWebDavServer ( filePath, req, res ) { method '__on_install.routes' (line 212) | '__on_install.routes' ( _, { app } ) { FILE: src/backend/src/services/WebDAV/lockStore.mjs constant DAV_LOCK_DURATION (line 1) | const DAV_LOCK_DURATION = 30; constant LOCK_PREFIX (line 22) | const LOCK_PREFIX = 'locktoken:'; FILE: src/backend/src/services/WispService.js class WispService (line 24) | class WispService extends BaseService { method '__on_install.routes' (line 25) | '__on_install.routes' (_, { app }) { FILE: src/backend/src/services/abuse-prevention/AuthAuditService.js class AuthAuditService (line 31) | class AuthAuditService extends BaseService { method _init (line 36) | async _init () { method record (line 54) | async record (parameters) { method _record (line 83) | async _record ({ requester, action, body, extra }) { FILE: src/backend/src/services/abuse-prevention/EdgeRateLimitService.js constant MINUTE (line 24) | const MINUTE = 60 * 1000; constant HOUR (line 25) | const HOUR = 60 * MINUTE; constant DEFAULT_SCOPE (line 27) | const DEFAULT_SCOPE = { class EdgeRateLimitService (line 44) | class EdgeRateLimitService extends BaseService { method _init (line 139) | async _init () { method check (line 143) | check (scope, noIncrease = false) { method incr (line 182) | incr (scope) { method cleanup (line 203) | cleanup () { FILE: src/backend/src/services/abuse-prevention/IdentificationService.js class Requester (line 33) | class Requester { method constructor (line 34) | constructor (o) { method create (line 37) | static create (o) { method from_request (line 40) | static from_request (req) { method is_puter_referer (line 71) | is_puter_referer () { method is_puter_origin (line 84) | is_puter_origin () { method rl_identifier (line 97) | get rl_identifier () { method serialize (line 109) | serialize () { class RequesterIdentificationExpressMiddleware (line 129) | class RequesterIdentificationExpressMiddleware extends AdvancedBase { method register_initializer (line 130) | register_initializer (initializer) { method install (line 133) | install (app) { method run (line 136) | async run (req, res, next) { class IdentificationService (line 157) | class IdentificationService extends BaseService { method _construct (line 166) | _construct () { method _init (line 178) | _init () { method '__on_install.middlewares.context-aware' (line 184) | async '__on_install.middlewares.context-aware' (_, { app }) { FILE: src/backend/src/services/abuse-prevention/concurrentRequestLimiter/ConcurrentRequestLimiter.ts class ConcurrentRequestLimiter (line 59) | class ConcurrentRequestLimiter { method #eventService (line 63) | get #eventService () { method constructor (line 67) | constructor ({ redis = redisClient }: { redis?: Cluster } = {}) { method #isTemporaryUser (line 72) | #isTemporaryUser (actor: Actor) { method #getActorUserGroup (line 78) | async #getActorUserGroup (actor: Actor, noSub = false) { method registerLimitKey (line 95) | registerLimitKey (key: string, config: ConcurrentLimitConfig): void { method hasLimitKey (line 109) | hasLimitKey (key: string): boolean { method checkAndIncrementConcurrent (line 113) | async checkAndIncrementConcurrent ( method decrementConcurrent (line 192) | async decrementConcurrent ( method #resolveLimit (line 200) | #resolveLimit ({ method #toRedisKey (line 229) | #toRedisKey ({ method #createToken (line 239) | #createToken (): string { FILE: src/backend/src/services/abuse-prevention/concurrentRequestLimiter/types.ts type SimpleLimitConfig (line 3) | interface SimpleLimitConfig { type GroupLimitConfig (line 7) | type GroupLimitConfig = { default: SimpleLimitConfig } & Record) { method getModel (line 163) | getModel ({ modelId, provider}: { modelId: string, provider?: string }) { method registerProviders (line 176) | private async registerProviders () { method models (line 339) | models () { method list (line 359) | list () { method complete (line 363) | async complete (parameters: ICompleteArguments) { method moderate (line 732) | async moderate ({ messages }: { messages: Array; }) { method getFallbackModel (line 780) | async getFallbackModel (modelId: string, triedIds: string[], triedProv... method '__on_boot.consolidation' (line 250) | protected async '__on_boot.consolidation' () { FILE: src/backend/src/services/ai/chat/providers/ChatProvider.ts class ChatProvider (line 7) | class ChatProvider implements IChatProvider { method getDefaultModel (line 8) | getDefaultModel (): string { method models (line 11) | models (): IChatModel[] | Promise { method list (line 14) | list (): string[] | Promise { method checkModeration (line 17) | async checkModeration (_text: string): ReturnType, modelUsed... method models (line 478) | models () { method checkModeration (line 482) | checkModeration (_text: string): ReturnType; type ModelModalities (line 7) | interface ModelModalities { type IChatModel (line 12) | interface IChatModel extends Record { method #getModel (line 151) | #getModel (model?: string): CloudflareImageModel { method #normalizeRatio (line 157) | #normalizeRatio (ratio?: { w: number; h: number }) { method #resolveSteps (line 166) | #resolveSteps (model: CloudflareImageModel, options: CloudflareGenerat... method #estimateCost (line 179) | #estimateCost ( method #runModel (line 268) | async #runModel (model: CloudflareImageModel, params: CloudflareGenera... method #extractImageString (line 353) | #extractImageString (payload: unknown): string | undefined { method #extractErrorMessage (line 378) | #extractErrorMessage (payload: unknown): string | undefined { method #tileCount (line 392) | #tileCount ({ w, h }: { w: number; h: number }) { method #megapixels (line 396) | #megapixels ({ w, h }: { w: number; h: number }) { method #mimeForFormat (line 400) | #mimeForFormat (format?: string) { method #costForUnits (line 406) | #costForUnits (units: number, microCentsPerUnit?: number) { method #costForMillionUnits (line 413) | #costForMillionUnits (numerator: number, microCentsPerMillion?: number) { method #getMeteringModelKey (line 419) | #getMeteringModelKey (model: CloudflareImageModel) { FILE: src/backend/src/services/ai/image/providers/CloudflareImageGenerationProvider/models.ts type CloudflareBillingScheme (line 22) | type CloudflareBillingScheme = type CloudflareImageModel (line 29) | type CloudflareImageModel = IImageModel & { constant CLOUDFLARE_IMAGE_GENERATION_MODELS (line 37) | const CLOUDFLARE_IMAGE_GENERATION_MODELS: CloudflareImageModel[] = [ FILE: src/backend/src/services/ai/image/providers/GeminiImageGenerationProvider/GeminiImageGenerationProvider.ts constant MIME_SIGNATURES (line 28) | const MIME_SIGNATURES: Record = { type GeminiUsageMetadata (line 34) | interface GeminiUsageMetadata { class GeminiImageGenerationProvider (line 42) | class GeminiImageGenerationProvider implements IImageProvider { method constructor (line 47) | constructor (config: { apiKey: string }, meteringService: MeteringServ... method models (line 56) | models (): IImageModel[] { method getDefaultModel (line 60) | getDefaultModel (): string { method generate (line 64) | async generate (params: IGenerateParams): Promise { method #buildContents (line 200) | #buildContents (prompt: string, input_images?: string[], input_image_m... method #setResponseCostMetadata (line 220) | #setResponseCostMetadata ({ method #extractUsageMetadata (line 267) | #extractUsageMetadata (response: GenerateContentResponse): GeminiUsage... method #estimatePromptTokenCount (line 294) | #estimatePromptTokenCount (prompt: string): number { method #calculateTokenCostInCents (line 302) | #calculateTokenCostInCents (tokenCount: number, centsPerMillion?: numb... method #toMicroCents (line 309) | #toMicroCents (cents: number): number { method #toSafeCount (line 314) | #toSafeCount (value: unknown): number { method #extractImageUrl (line 319) | #extractImageUrl (response: GenerateContentResponse): string | undefin... method #detectMimeType (line 334) | #detectMimeType (data: string): string | undefined { method #parseDataUri (line 349) | #parseDataUri (data: string): { mimeType: string; base64: string } | u... method #isValidRatio (line 364) | #isValidRatio (ratio: { w: number; h: number }, allowedRatios: { w: nu... FILE: src/backend/src/services/ai/image/providers/GeminiImageGenerationProvider/models.ts constant GEMINI_DEFAULT_RATIO (line 22) | const GEMINI_DEFAULT_RATIO = { w: 1024, h: 1024 }; constant GEMINI_ESTIMATED_IMAGE_TOKENS (line 27) | const GEMINI_ESTIMATED_IMAGE_TOKENS: Record = { constant GEMINI_IMAGE_GENERATION_MODELS (line 40) | const GEMINI_IMAGE_GENERATION_MODELS: IImageModel[] = [ FILE: src/backend/src/services/ai/image/providers/OpenAiImageGenerationProvider/OpenAiImageGenerationProvider.ts type OpenAIImageUsage (line 29) | interface OpenAIImageUsage { class OpenAiImageGenerationProvider (line 46) | class OpenAiImageGenerationProvider implements IImageProvider { method constructor (line 60) | constructor (config: { apiKey: string }, meteringService: MeteringServ... method models (line 68) | models () { method getDefaultModel (line 72) | getDefaultModel (): string { method generate (line 76) | async generate ({ prompt, quality, test_mode, model, ratio }: IGenerat... method #extractUsage (line 211) | #extractUsage (result: ImagesResponse): OpenAIImageUsage { method #calculateInputCostInCents (line 240) | #calculateInputCostInCents (selectedModel: IImageModel, usage: OpenAII... method #calculateOutputCostInCents (line 307) | #calculateOutputCostInCents (selectedModel: IImageModel, usage: OpenAI... method #setResponseCostMetadata (line 329) | #setResponseCostMetadata ({ method #estimatePromptTokenCount (line 382) | #estimatePromptTokenCount (prompt: string): number { method #getCostRate (line 390) | #getCostRate (selectedModel: IImageModel, key: string): number | undef... method #costForTokens (line 398) | #costForTokens (tokenCount: number, centsPerMillion?: number): number { method #toMicroCents (line 404) | #toMicroCents (cents: number): number { method #toSafeCount (line 409) | #toSafeCount (value: unknown): number { method #isGptImageModel (line 414) | #isGptImageModel (model: string) { method #buildPriceKey (line 419) | #buildPriceKey (model: string, quality: string, size: string) { method #buildApiParams (line 430) | #buildApiParams (model: string, baseParams: Partial { method #getModel (line 166) | #getModel (model?: string) { method #buildRequest (line 170) | #buildRequest (prompt: string, options: TogetherGenerateParams) { method #normalizeDimension (line 243) | #normalizeDimension (value?: number) { method #modelRequiresConditionImage (line 250) | #modelRequiresConditionImage (modelId?: string) { FILE: src/backend/src/services/ai/image/providers/TogetherImageGenerationProvider/models.ts constant TOGETHER_IMAGE_GENERATION_MODELS (line 22) | const TOGETHER_IMAGE_GENERATION_MODELS: IImageModel[] = [ constant GEMINI_3_IMAGE_RESOLUTION_MAP (line 321) | const GEMINI_3_IMAGE_RESOLUTION_MAP: Record { method #getModel (line 107) | #getModel (model?: string) { FILE: src/backend/src/services/ai/image/providers/XAIImageGenerationProvider/models.ts constant XAI_IMAGE_GENERATION_MODELS (line 3) | const XAI_IMAGE_GENERATION_MODELS: IImageModel[] = [ FILE: src/backend/src/services/ai/image/providers/types.ts type IImageModel (line 1) | interface IImageModel { type IGenerateParams (line 17) | interface IGenerateParams { type IImageProvider (line 28) | interface IImageProvider { FILE: src/backend/src/services/ai/moderation/AsModeration.js class AsModeration (line 22) | class AsModeration { method constructor (line 35) | constructor ({ chatProvider, model }) { method moderate (line 40) | async moderate (text) { FILE: src/backend/src/services/ai/ocr/AWSTextractService.js class AWSTextractService (line 32) | class AWSTextractService extends BaseService { method meteringService (line 34) | get meteringService () { method _construct (line 43) | _construct () { method supports_test_mode (line 49) | supports_test_mode (iface, method_name) { method recognize (line 61) | async recognize ({ source, test_mode }) { method _create_aws_credentials (line 112) | _create_aws_credentials () { method _get_client (line 119) | _get_client (region) { method analyze_document (line 142) | async analyze_document (file_facade) { method _get_client_and_document (line 209) | async _get_client_and_document (file_facade, force_buffer) { FILE: src/backend/src/services/ai/ocr/MistralOCRService.js class MistralOCRService (line 34) | class MistralOCRService extends BaseService { method supports_test_mode (line 58) | supports_test_mode (iface, method_name) { method recognize (line 63) | async recognize (...params) { method _init (line 75) | async _init () { method recognize (line 84) | async recognize ({ method _buildDocumentChunkFromSource (line 141) | async _buildDocumentChunkFromSource (fileFacade) { method _safeFileValue (line 169) | async _safeFileValue (fileFacade, key) { method _chunkFromUrl (line 182) | _chunkFromUrl (url, fileName, mimeType) { method _inferMimeFromName (line 207) | _inferMimeFromName (name) { method _extractMimeFromDataUrl (line 212) | _extractMimeFromDataUrl (url) { method _createDataUrl (line 218) | _createDataUrl (buffer, mimeType) { method #normalizeOcrResponse (line 222) | #normalizeOcrResponse (response) { method #recordOcrUsage (line 252) | #recordOcrUsage (response, model, { annotationsRequested } = {}) { method #sampleOcrResponse (line 269) | #sampleOcrResponse () { FILE: src/backend/src/services/ai/sts/ElevenLabsVoiceChangerService.js constant DEFAULT_MODEL (line 27) | const DEFAULT_MODEL = 'eleven_multilingual_sts_v2'; constant DEFAULT_VOICE_ID (line 28) | const DEFAULT_VOICE_ID = '21m00Tcm4TlvDq8ikWAM'; constant SAMPLE_AUDIO_URL (line 29) | const SAMPLE_AUDIO_URL = 'https://puter-sample-data.puter.site/tts_examp... constant MAX_AUDIO_FILE_SIZE (line 30) | const MAX_AUDIO_FILE_SIZE = 25 * 1024 * 1024; constant DEFAULT_OUTPUT_FORMAT (line 31) | const DEFAULT_OUTPUT_FORMAT = 'mp3_44100_128'; class ElevenLabsVoiceChangerService (line 36) | class ElevenLabsVoiceChangerService extends BaseService { method meteringService (line 38) | get meteringService () { method supports_test_mode (line 50) | supports_test_mode (iface, method_name) { method convert (line 55) | async convert (params) { method _init (line 61) | async _init () { method convert (line 76) | async convert (params) { method _prepareAudioBuffer (line 214) | async _prepareAudioBuffer (file) { FILE: src/backend/src/services/ai/stt/OpenAISpeechToTextService.js constant MAX_AUDIO_FILE_SIZE (line 25) | const MAX_AUDIO_FILE_SIZE = 25 * 1024 * 1024; constant DEFAULT_TRANSCRIBE_MODEL (line 26) | const DEFAULT_TRANSCRIBE_MODEL = 'gpt-4o-mini-transcribe'; constant DEFAULT_TRANSLATE_MODEL (line 27) | const DEFAULT_TRANSLATE_MODEL = 'whisper-1'; constant SAMPLE_TRANSCRIPT (line 28) | const SAMPLE_TRANSCRIPT = { constant TRANSCRIPTION_MODEL_CAPABILITIES (line 39) | const TRANSCRIPTION_MODEL_CAPABILITIES = { class OpenAISpeechToTextService (line 65) | class OpenAISpeechToTextService extends BaseService { method meteringService (line 67) | get meteringService () { method _init (line 78) | async _init () { method supports_test_mode (line 103) | supports_test_mode (iface, method_name) { method list_models (line 109) | async list_models () { method transcribe (line 112) | async transcribe (params) { method translate (line 115) | async translate (params) { method listModels (line 121) | listModels () { method _handleTranscription (line 160) | async _handleTranscription ({ method _prepareAudioBuffer (line 306) | async _prepareAudioBuffer (file) { method _formatResponse (line 390) | _formatResponse (result, response_format) { FILE: src/backend/src/services/ai/tts/AWSPollyService.js constant ENGINE_PRICING (line 30) | const ENGINE_PRICING = { constant VALID_ENGINES (line 38) | const VALID_ENGINES = ['standard', 'neural', 'long-form', 'generative']; class AWSPollyService (line 48) | class AWSPollyService extends BaseService { method meteringService (line 51) | get meteringService () { method _construct (line 60) | async _construct () { method supports_test_mode (line 66) | supports_test_mode (iface, method_name) { method list_voices (line 79) | async list_voices ({ engine } = {}) { method list_engines (line 104) | async list_engines () { method synthesize (line 111) | async synthesize ({ method _create_aws_credentials (line 166) | _create_aws_credentials () { method _get_client (line 173) | _get_client (region) { method describe_voices (line 194) | async describe_voices () { method synthesize_speech (line 235) | async synthesize_speech (text, { format, voice_id, language, text_type... method maybe_get_language_appropriate_voice_ (line 275) | async maybe_get_language_appropriate_voice_ (language, engine = 'stand... method get_default_voice_for_engine_ (line 295) | async get_default_voice_for_engine_ (engine = 'standard') { FILE: src/backend/src/services/ai/tts/ElevenLabsTTSService.js constant DEFAULT_MODEL (line 26) | const DEFAULT_MODEL = 'eleven_multilingual_v2'; constant DEFAULT_VOICE_ID (line 27) | const DEFAULT_VOICE_ID = '21m00Tcm4TlvDq8ikWAM'; constant DEFAULT_OUTPUT_FORMAT (line 28) | const DEFAULT_OUTPUT_FORMAT = 'mp3_44100_128'; constant SAMPLE_AUDIO_URL (line 29) | const SAMPLE_AUDIO_URL = 'https://puter-sample-data.puter.site/tts_examp... constant ELEVENLABS_TTS_MODELS (line 31) | const ELEVENLABS_TTS_MODELS = [ class ElevenLabsTTSService (line 43) | class ElevenLabsTTSService extends BaseService { method meteringService (line 45) | get meteringService () { method supports_test_mode (line 51) | supports_test_mode (iface, method_name) { method list_voices (line 56) | async list_voices () { method list_engines (line 59) | async list_engines () { method synthesize (line 62) | async synthesize (params) { method _init (line 68) | async _init () { method request (line 80) | async request (path, { method = 'GET', body, headers = {} } = {}) { method listVoices (line 105) | async listVoices () { method listEngines (line 123) | async listEngines () { method synthesize (line 132) | async synthesize (params) { FILE: src/backend/src/services/ai/tts/OpenAITTSService.js constant DEFAULT_MODEL (line 26) | const DEFAULT_MODEL = 'gpt-4o-mini-tts'; constant DEFAULT_VOICE (line 27) | const DEFAULT_VOICE = 'alloy'; constant SAMPLE_AUDIO_URL (line 28) | const SAMPLE_AUDIO_URL = 'https://puter-sample-data.puter.site/tts_examp... constant RESPONSE_CONTENT_TYPES (line 30) | const RESPONSE_CONTENT_TYPES = { constant OPENAI_TTS_VOICES (line 39) | const OPENAI_TTS_VOICES = [ constant OPENAI_TTS_MODELS (line 52) | const OPENAI_TTS_MODELS = [ class OpenAITTSService (line 75) | class OpenAITTSService extends BaseService { method meteringService (line 77) | get meteringService () { method _init (line 85) | async _init () { method supports_test_mode (line 110) | supports_test_mode (iface, method_name) { method list_voices (line 115) | async list_voices ({ provider } = {}) { method list_engines (line 131) | async list_engines ({ provider } = {}) { method synthesize (line 143) | async synthesize (params) { method synthesize (line 149) | async synthesize ({ FILE: src/backend/src/services/ai/utils/OpenAIUtil.d.ts type ToolUseContent (line 11) | interface ToolUseContent { type ToolResultContent (line 19) | interface ToolResultContent { type NormalizedContent (line 25) | type NormalizedContent = type NormalizedMessage (line 31) | interface NormalizedMessage extends Partial { type UsageCalculator (line 39) | type UsageCalculator = (args: { usage: CompletionUsage }) => Record & { type StreamDeviations (line 71) | interface StreamDeviations { type CompletionDeviations (line 77) | interface CompletionDeviations { type CompletionChoice (line 106) | type CompletionChoice = TCompletion extends { choices: Arra... FILE: src/backend/src/services/ai/utils/Streaming.js class AIChatConstructStream (line 1) | class AIChatConstructStream { method constructor (line 2) | constructor (chatStream, params) { method end (line 6) | end () { class AIChatTextStream (line 10) | class AIChatTextStream extends AIChatConstructStream { method addText (line 11) | addText (text, extra_content) { method addReasoning (line 20) | addReasoning (reasoning) { method addExtraContent (line 27) | addExtraContent (extra_content) { class AIChatToolUseStream (line 36) | class AIChatToolUseStream extends AIChatConstructStream { method _start (line 37) | _start (params) { method addPartialJSON (line 41) | addPartialJSON (partial_json) { method end (line 44) | end () { class AIChatMessageStream (line 59) | class AIChatMessageStream extends AIChatConstructStream { method contentBlock (line 60) | contentBlock ({ type, ...params }) { class AIChatStream (line 71) | class AIChatStream { method constructor (line 73) | constructor ({ stream }) { method end (line 77) | end (/** @type {Record} */ usage) { method message (line 85) | message () { method write (line 88) | write (...args) { class Streaming (line 93) | class Streaming { FILE: src/backend/src/services/ai/video/OpenAIVideoGenerationService/OpenAIVideoGenerationService.js constant DEFAULT_TEST_VIDEO_URL (line 26) | const DEFAULT_TEST_VIDEO_URL = 'https://assets.puter.site/txt2vid.mp4'; constant DEFAULT_TIMEOUT_MS (line 27) | const DEFAULT_TIMEOUT_MS = 5 * 60 * 1000; constant POLL_INTERVAL_MS (line 28) | const POLL_INTERVAL_MS = 5_000; constant DEFAULT_DURATION_SECONDS (line 29) | const DEFAULT_DURATION_SECONDS = 4; constant DEFAULT_SIZE (line 30) | const DEFAULT_SIZE = '720x1280'; constant ALLOWED_SIZES (line 31) | const ALLOWED_SIZES = new Set(['720x1280', '1280x720', '1024x1792', '179... constant ALLOWED_SECONDS (line 32) | const ALLOWED_SECONDS = new Set(['4', '8', '12']); constant OPENAI_VIDEO_MODELS (line 33) | const OPENAI_VIDEO_MODELS = [ class OpenAIVideoGenerationService (line 48) | class OpenAIVideoGenerationService extends BaseService { method meteringService (line 50) | get meteringService () { method _construct (line 58) | _construct () { method _init (line 65) | async _init () { method supports_test_mode (line 86) | supports_test_mode (iface, method_name) { method generate (line 92) | async generate (params) { method models (line 98) | async models () { method generateVideo (line 139) | async generateVideo (params) { method #pollUntilComplete (line 243) | async #pollUntilComplete (initialJob) { method #delay (line 259) | async #delay (ms) { method #normalizeSize (line 263) | #normalizeSize (candidate) { method #normalizeSeconds (line 272) | #normalizeSeconds (value) { method #determineUsageKey (line 297) | #determineUsageKey (model, normalizedSize) { method #normalizeResolution (line 308) | #normalizeResolution (value) { method #parseSeconds (line 325) | #parseSeconds (value) { FILE: src/backend/src/services/ai/video/TogetherVideoGenerationService/TogetherVideoGenerationService.js constant DEFAULT_TEST_VIDEO_URL (line 26) | const DEFAULT_TEST_VIDEO_URL = 'https://assets.puter.site/txt2vid.mp4'; constant POLL_INTERVAL_MS (line 27) | const POLL_INTERVAL_MS = 5_000; constant DEFAULT_TIMEOUT_MS (line 28) | const DEFAULT_TIMEOUT_MS = 5 * 60 * 1000; constant DEFAULT_MODEL (line 29) | const DEFAULT_MODEL = 'minimax/video-01-director'; constant DEFAULT_DURATION_SECONDS (line 30) | const DEFAULT_DURATION_SECONDS = 6; constant DEFAULT_USAGE_KEY (line 31) | const DEFAULT_USAGE_KEY = 'together-video:default'; class TogetherVideoGenerationService (line 35) | class TogetherVideoGenerationService extends BaseService { method meteringService (line 37) | get meteringService () { method _init (line 43) | async _init () { method supports_test_mode (line 57) | supports_test_mode (iface, method_name) { method generate (line 63) | async generate (params) { method generateVideo (line 69) | async generateVideo (params) { method models (line 201) | async models () { method #pollUntilComplete (line 234) | async #pollUntilComplete (jobId) { method #delay (line 250) | async #delay (ms) { method #determineUsageKey (line 254) | #determineUsageKey (model) { method #stripTogetherPrefix (line 261) | #stripTogetherPrefix (model) { method #coercePositiveInteger (line 268) | #coercePositiveInteger (value) { method #isFiniteNumber (line 280) | #isFiniteNumber (value) { FILE: src/backend/src/services/ai/video/TogetherVideoGenerationService/models.js constant TOGETHER_VIDEO_GENERATION_MODELS (line 1) | const TOGETHER_VIDEO_GENERATION_MODELS = [ FILE: src/backend/src/services/auth/ACLService.js class ACLService (line 40) | class ACLService extends BaseService { method _init (line 54) | async _init () { method check (line 69) | async check (actor, resource, mode) { method set_user_user (line 216) | async set_user_user (issuer, holder, resource, mode, options = {}) { method stat_user_user (line 295) | async stat_user_user (issuer, holder, resource) { method _check_fsNode (line 340) | async _check_fsNode (actor, fsNode, mode) { method get_safe_acl_error (line 543) | async get_safe_acl_error (actor, resource, _mode) { method get_highest_mode (line 564) | get_highest_mode () { method _higher_modes (line 569) | _higher_modes (mode) { method '__on_install.routes' (line 104) | async '__on_install.routes' (_, { app }) { FILE: src/backend/src/services/auth/Actor.d.ts type ActorLogFields (line 3) | interface ActorLogFields { class SystemActorType (line 8) | class SystemActorType { class UserActorType (line 14) | class UserActorType { class AppUnderUserActorType (line 23) | class AppUnderUserActorType { class AccessTokenActorType (line 31) | class AccessTokenActorType { class SiteActorType (line 40) | class SiteActorType { type ActorType (line 46) | type ActorType = type ActorInit (line 53) | interface ActorInit { class Actor (line 57) | class Actor { FILE: src/backend/src/services/auth/Actor.js constant PRIVATE_UID_NAMESPACE (line 27) | const PRIVATE_UID_NAMESPACE = config.private_uid_namespace constant PRIVATE_UID_SECRET (line 29) | const PRIVATE_UID_SECRET = config.private_uid_secret class ActorType (line 36) | class ActorType { method constructor (line 42) | constructor (o) { class SystemActorType (line 55) | class SystemActorType extends ActorType { method uid (line 61) | get uid () { method get_related_type (line 72) | get_related_type (type_class) { class Actor (line 86) | class Actor extends AdvancedBase { method get_system_actor (line 100) | static get_system_actor () { method create (line 119) | static async create (type, params) { method constructor (line 139) | constructor (o, ...a) { method uid (line 151) | get uid () { method toLogFields (line 160) | toLogFields () { method private_uid (line 177) | get private_uid () { method clone (line 200) | clone () { method get_related_actor (line 212) | get_related_actor (type_class) { class UserActorType (line 224) | class UserActorType extends ActorType { method constructor (line 225) | constructor (o) { method uid (line 237) | get uid () { method get_related_type (line 248) | get_related_type (type_class) { class AppUnderUserActorType (line 262) | class AppUnderUserActorType extends ActorType { method uid (line 268) | get uid () { method get_related_type (line 279) | get_related_type (type_class) { class AccessTokenActorType (line 295) | class AccessTokenActorType extends ActorType { method uid (line 307) | get uid () { method get_related_actor (line 319) | get_related_actor () { class SiteActorType (line 331) | class SiteActorType { method constructor (line 339) | constructor (o, ..._a) { method uid (line 350) | get uid () { FILE: src/backend/src/services/auth/AntiCSRFService.js class AntiCSRFService (line 29) | class AntiCSRFService extends BaseService { method _construct (line 36) | _construct () { method create_token (line 78) | create_token (session) { method consume_token (line 96) | consume_token (session, token) { method generate_token_ (line 109) | generate_token_ () { method '__on_install.routes' (line 46) | '__on_install.routes' () { FILE: src/backend/src/services/auth/AuthService.js constant APP_ORIGIN_UUID_NAMESPACE (line 33) | const APP_ORIGIN_UUID_NAMESPACE = '33de3768-8ee0-43e9-9e73-db192b97a5d8'; constant APP_ORIGIN_CACHE_KEY_PREFIX (line 34) | const APP_ORIGIN_CACHE_KEY_PREFIX = 'auth:appOriginCanonicalization:orig... constant APP_ORIGIN_LOCAL_CACHE_KEY_PREFIX (line 35) | const APP_ORIGIN_LOCAL_CACHE_KEY_PREFIX = 'auth:appOriginCanonicalizatio... constant DEFAULT_APP_ORIGIN_CANONICAL_CACHE_TTL_SECONDS (line 36) | const DEFAULT_APP_ORIGIN_CANONICAL_CACHE_TTL_SECONDS = 300; constant DEFAULT_PRIVATE_APP_ASSET_TOKEN_TTL_SECONDS (line 37) | const DEFAULT_PRIVATE_APP_ASSET_TOKEN_TTL_SECONDS = 60 * 60; constant DEFAULT_PRIVATE_APP_ASSET_COOKIE_NAME (line 38) | const DEFAULT_PRIVATE_APP_ASSET_COOKIE_NAME = 'puter.private.asset.token'; constant DEFAULT_PUBLIC_HOSTED_ACTOR_TOKEN_TTL_SECONDS (line 39) | const DEFAULT_PUBLIC_HOSTED_ACTOR_TOKEN_TTL_SECONDS = 15 * 60; constant DEFAULT_PUBLIC_HOSTED_ACTOR_COOKIE_NAME (line 40) | const DEFAULT_PUBLIC_HOSTED_ACTOR_COOKIE_NAME = 'puter.public.hosted.act... class AuthService (line 49) | class AuthService extends BaseService { method _init (line 51) | async _init () { method authenticate_from_token (line 95) | async authenticate_from_token (token) { method get_user_app_token (line 233) | get_user_app_token (app_uid) { method get_site_app_token (line 260) | get_site_app_token ({ site_uid }) { method resolvePositiveInteger (line 274) | resolvePositiveInteger (value, fallback) { method getPrivateAssetTokenTtlSeconds (line 282) | getPrivateAssetTokenTtlSeconds () { method getPrivateAssetCookieName (line 289) | getPrivateAssetCookieName () { method getPublicHostedActorTokenTtlSeconds (line 297) | getPublicHostedActorTokenTtlSeconds () { method getPublicHostedActorCookieName (line 304) | getPublicHostedActorCookieName () { method normalizeHostnameForCookieDomain (line 312) | normalizeHostnameForCookieDomain (hostnameValue) { method isCookieDomainHostEligible (line 323) | isCookieDomainHostEligible (hostnameValue) { method getConfiguredPrivateCookieDomains (line 332) | getConfiguredPrivateCookieDomains () { method getConfiguredHostedCookieDomains (line 346) | getConfiguredHostedCookieDomains () { method resolvePrivateAssetCookieDomain (line 362) | resolvePrivateAssetCookieDomain ({ requestHostname } = {}) { method getPrivateAssetCookieOptions (line 387) | getPrivateAssetCookieOptions ({ ttlSeconds, requestHostname } = {}) { method resolvePublicHostedActorCookieDomain (line 409) | resolvePublicHostedActorCookieDomain ({ requestHostname } = {}) { method getPublicHostedActorCookieOptions (line 432) | getPublicHostedActorCookieOptions ({ ttlSeconds, requestHostname } = {... method normalizePrivateAssetSubdomain (line 456) | normalizePrivateAssetSubdomain (subdomain) { method normalizePrivateAssetHost (line 462) | normalizePrivateAssetHost (privateHost) { method createPrivateAssetToken (line 469) | createPrivateAssetToken ({ appUid, userUid, sessionUuid, subdomain, pr... method createPublicHostedActorToken (line 508) | createPublicHostedActorToken ({ appUid, userUid, sessionUuid, subdomai... method verifyPrivateAssetToken (line 547) | verifyPrivateAssetToken ( method verifyPublicHostedActorToken (line 637) | verifyPublicHostedActorToken ( method resolvePrivateBootstrapSessionUuid (line 730) | resolvePrivateBootstrapSessionUuid (decoded) { method resolvePrivateBootstrapIdentityFromToken (line 756) | async resolvePrivateBootstrapIdentityFromToken (token, { expectedAppUi... method create_session_ (line 827) | async create_session_ (user, meta = {}) { method get_session_ (line 874) | async get_session_ (uuid) { method create_session_token (line 886) | async create_session_token (user, meta) { method create_gui_token (line 910) | create_gui_token (user, session) { method create_session_token_for_session (line 929) | create_session_token_for_session (user, session_uuid) { method check_session (line 946) | async check_session (cur_token, meta) { method remove_session_by_token (line 1006) | async remove_session_by_token (token) { method create_access_token (line 1026) | async create_access_token (authorizer, permissions, options) { method revoke_access_token (line 1092) | async revoke_access_token (tokenOrUuid) { method list_sessions (line 1121) | async list_sessions (actor) { method revoke_session (line 1171) | async revoke_session (actor, uuid) { method get_user_app_token_from_origin (line 1183) | async get_user_app_token_from_origin (origin) { method app_uid_from_origin (line 1229) | async app_uid_from_origin (origin) { method getAppOriginCanonicalCacheTtlSeconds (line 1241) | getAppOriginCanonicalCacheTtlSeconds () { method buildAppOriginCanonicalCacheKey (line 1248) | buildAppOriginCanonicalCacheKey ({ origin }) { method createAppOriginLocalCacheNamespace (line 1253) | createAppOriginLocalCacheNamespace () { method getAppOriginLocalCacheNamespace (line 1257) | getAppOriginLocalCacheNamespace () { method buildLocalCanonicalAppUidCacheKey (line 1267) | buildLocalCanonicalAppUidCacheKey (origin) { method readLocalCanonicalAppUidFromCache (line 1272) | readLocalCanonicalAppUidFromCache (origin) { method writeLocalCanonicalAppUidToCache (line 1284) | writeLocalCanonicalAppUidToCache (origin, appUid) { method readCanonicalAppUidFromRedisCache (line 1292) | async readCanonicalAppUidFromRedisCache (origin) { method writeCanonicalAppUidToRedisCache (line 1316) | async writeCanonicalAppUidToRedisCache (origin, appUid) { method resolveCanonicalAppUidFromOrigin (line 1328) | async resolveCanonicalAppUidFromOrigin (origin) { method normalizeOriginForCanonicalAppUidCache (line 1354) | normalizeOriginForCanonicalAppUidCache (originCandidate) { method collectCanonicalCacheOriginsFromAppChangeEvent (line 1360) | collectCanonicalCacheOriginsFromAppChangeEvent (event = {}) { method invalidateCanonicalAppUidCacheForOrigins (line 1386) | async invalidateCanonicalAppUidCacheForOrigins (originCandidates = []) { method invalidateCanonicalAppUidCacheFromAppChangeEvent (line 1416) | async invalidateCanonicalAppUidCacheFromAppChangeEvent (event = {}) { method buildIndexUrlCandidatesFromOrigin (line 1421) | buildIndexUrlCandidatesFromOrigin (origin) { method getHostedSubdomainOwnerUserId (line 1451) | async getHostedSubdomainOwnerUserId (subdomain) { method queryOldestAppUidForIndexUrlCandidates (line 1470) | async queryOldestAppUidForIndexUrlCandidates ({ method lookupCanonicalAppUidFromOrigin (line 1505) | async lookupCanonicalAppUidFromOrigin (origin) { method normalizeHostedDomainCandidate (line 1530) | normalizeHostedDomainCandidate (domainValue) { method getHostedAppDomainCandidatesForMatch (line 1552) | getHostedAppDomainCandidatesForMatch () { method getCanonicalHostedAppDomain (line 1572) | getCanonicalHostedAppDomain () { method extractHostedAppSubdomainFromHostname (line 1587) | extractHostedAppSubdomainFromHostname (hostname) { method canonicalizeHostedAppOriginForUid (line 1613) | canonicalizeHostedAppOriginForUid (origin) { method _app_uid_from_origin (line 1628) | async _app_uid_from_origin (origin) { method _origin_from_url (line 1638) | _origin_from_url ( url ) { method '__on_install.routes' (line 1653) | '__on_install.routes' () { FILE: src/backend/src/services/auth/AuthService.privateAssetToken.test.ts type AuthServiceForPrivateTokenTests (line 5) | type AuthServiceForPrivateTokenTests = AuthService & { FILE: src/backend/src/services/auth/GroupService.js class GroupService (line 35) | class GroupService extends BaseService { method _init (line 44) | _init () { method get (line 67) | async get ({ uid }) { method create (line 94) | async create ({ owner_user_id, extra, metadata }) { method list_groups_with_owner (line 144) | async list_groups_with_owner ({ owner_user_id }) { method list_groups_with_member (line 169) | async list_groups_with_member ({ user_id }) { method list_public_groups (line 191) | async list_public_groups () { method list_members (line 238) | async list_members ({ uid }) { method add_users (line 258) | async add_users ({ uid, users }) { method remove_users (line 283) | async remove_users ({ uid, users }) { FILE: src/backend/src/services/auth/OIDCService.js constant GOOGLE_DISCOVERY_URL (line 28) | const GOOGLE_DISCOVERY_URL = 'https://accounts.google.com/.well-known/op... constant GOOGLE_SCOPES (line 29) | const GOOGLE_SCOPES = 'openid email profile'; constant STATE_EXPIRY_SEC (line 30) | const STATE_EXPIRY_SEC = 600; constant VALID_OIDC_FLOWS (line 32) | const VALID_OIDC_FLOWS = ['login', 'signup', 'revalidate']; function generate_random_username (line 34) | async function generate_random_username () { class OIDCService (line 46) | class OIDCService extends BaseService { method _init (line 49) | async _init () { method getProviderConfig (line 60) | async getProviderConfig (providerId) { method #getGoogleDiscovery (line 87) | async #getGoogleDiscovery () { method getCallbackUrlForFlow (line 105) | getCallbackUrlForFlow (flow) { method getAuthorizationUrl (line 116) | async getAuthorizationUrl (providerId, state, flow) { method signState (line 133) | signState (payload) { method verifyState (line 139) | verifyState (token) { method exchangeCodeForTokens (line 150) | async exchangeCodeForTokens (providerId, code, redirectUri) { method getUserInfo (line 177) | async getUserInfo (providerId, accessToken) { method findUserByProviderSub (line 190) | async findUserByProviderSub (providerId, providerSub) { method linkProviderToUser (line 201) | async linkProviderToUser (userId, providerId, providerSub, refreshToke... method createUserFromOIDC (line 217) | async createUserFromOIDC (providerId, claims) { method getEnabledProviderIds (line 244) | async getEnabledProviderIds () { FILE: src/backend/src/services/auth/OTPService.js class OTPService (line 26) | class OTPService extends BaseService { method create_secret (line 33) | create_secret (label) { method create_recovery_code (line 59) | create_recovery_code () { method verify (line 69) | verify (label, secret, code) { method gen_otp_secret_ (line 96) | gen_otp_secret_ () { FILE: src/backend/src/services/auth/PermissionService.js class PermissionService (line 47) | class PermissionService extends BaseService { method _construct (line 55) | _construct () { method _init (line 68) | async _init () { method _rewrite_permission (line 119) | async _rewrite_permission (permission) { method #scan (line 185) | async #scan (actor, permission_options, _reserved, state, scan_options... method invalidate_permission_scan_cache_for_app_under_user (line 258) | async invalidate_permission_scan_cache_for_app_under_user (user_uuid, ... method validateUserPerms (line 268) | async validateUserPerms ({ actor, permissions }) { method #flat_validateUserPerms (line 295) | async #flat_validateUserPerms ({ actor, permissions }) { method #linked_validateUserPerms (line 335) | async #linked_validateUserPerms ({ actor, permissions, state }) { method grant_user_app_permission (line 409) | async grant_user_app_permission (actor, app_uid, permission, extra = {... method grant_dev_app_permission (line 487) | async grant_dev_app_permission (actor, app_uid, permission, extra = {}... method revoke_dev_app_permission (line 545) | async revoke_dev_app_permission (actor, app_uid, permission, meta) { method revoke_dev_app_all (line 593) | async revoke_dev_app_all (actor, app_uid, meta) { method revoke_user_app_permission (line 647) | async revoke_user_app_permission (actor, app_uid, permission, meta) { method revoke_user_app_all (line 704) | async revoke_user_app_all (actor, app_uid, meta) { method grant_user_user_permission (line 760) | async grant_user_user_permission (actor, username, permission, extra =... method #flat_grant_user_user_permission (line 796) | async #flat_grant_user_user_permission (actor, user, permission, extra... method #linked_grant_user_user_permission (line 821) | async #linked_grant_user_user_permission (actor, user, permission, ext... method grant_user_group_permission (line 871) | async grant_user_group_permission (actor, gid, permission, extra = {},... method revoke_user_user_permission (line 937) | async revoke_user_user_permission (actor, username, permission, meta) { method #flat_revoke_user_user_permission (line 949) | async #flat_revoke_user_user_permission (actor, username, permission, ... method #linked_revoke_user_user_permission (line 979) | async #linked_revoke_user_user_permission (actor, username, permission... method revoke_user_group_permission (line 1031) | async revoke_user_group_permission (actor, gid, permission, meta) { method list_user_permission_issuers (line 1084) | async list_user_permission_issuers (user) { method query_issuer_permissions_by_prefix (line 1120) | async query_issuer_permissions_by_prefix (issuer, prefix) { method query_issuer_holder_permissions_by_prefix (line 1173) | async query_issuer_holder_permissions_by_prefix (issuer, holder, prefi... method get_higher_permissions (line 1197) | async get_higher_permissions (permission) { method get_parent_permissions (line 1215) | get_parent_permissions (permission) { method register_rewriter (line 1237) | register_rewriter (rewriter) { method register_implicator (line 1254) | register_implicator (implicator) { method register_exploder (line 1268) | register_exploder (exploder) { method _register_commands (line 1276) | _register_commands (commands) { method '__on_boot.consolidation' (line 79) | async '__on_boot.consolidation' () { FILE: src/backend/src/services/auth/PermissionShortcutService.js class PermissionShortcutService (line 4) | class PermissionShortcutService extends BaseService { method _init (line 5) | _init () { FILE: src/backend/src/services/auth/PreAuthService.js class PreAuthService (line 4) | class PreAuthService extends BaseService { method '__on_install.middlewares.early' (line 5) | async '__on_install.middlewares.early' (_, { app }) { FILE: src/backend/src/services/auth/SignupService.js class CreatedUserOutcome (line 11) | class CreatedUserOutcome { class SignupService (line 18) | class SignupService extends BaseService { method create_new_user (line 35) | async create_new_user ({ FILE: src/backend/src/services/auth/TokenService.js class TokenService (line 114) | class TokenService extends BaseService { method _construct (line 125) | _construct () { method _init (line 137) | _init () { method sign (line 142) | sign (scope, payload, options) { method verify (line 154) | verify (scope, token) { method _compress_payload (line 167) | _compress_payload (context, payload) { method _decompress_payload (line 196) | _decompress_payload (context, payload) { FILE: src/backend/src/services/auth/VirtualGroupService.js class VirtualGroupService (line 27) | class VirtualGroupService extends BaseService { method _construct (line 28) | _construct () { method register_membership_implicator (line 41) | register_membership_implicator (implicator) { method add_group (line 45) | add_group (group) { method get_virtual_groups (line 57) | get_virtual_groups ({ actor }) { FILE: src/backend/src/services/auth/permissionConts.mjs constant MANAGE_PERM_PREFIX (line 1) | const MANAGE_PERM_PREFIX = 'manage'; constant PERM_KEY_PREFIX (line 2) | const PERM_KEY_PREFIX = 'perm'; FILE: src/backend/src/services/auth/permissionUtils.mjs constant PERMISSION_FOR_NOTHING_IN_PARTICULAR (line 6) | const PERMISSION_FOR_NOTHING_IN_PARTICULAR = 'permission-for-nothing-in-... method unescape_permission_component (line 20) | unescape_permission_component (component) { method escape_permission_component (line 50) | escape_permission_component (component) { method split (line 68) | split (permission) { method join (line 80) | join (...components) { method permission_scan_cache_prefix_for_app_under_user (line 97) | permission_scan_cache_prefix_for_app_under_user (user_uuid, app_uid) { method reading_to_options (line 112) | reading_to_options ( method isManage (line 151) | isManage (permission ) { class PermissionRewriter (line 167) | class PermissionRewriter { method create (line 168) | static create ({ id, matcher, rewriter }) { method constructor (line 172) | constructor ({ id, matcher, rewriter }) { method matches (line 178) | matches (permission) { method rewrite (line 188) | async rewrite (permission) { class PermissionImplicator (line 205) | class PermissionImplicator { method create (line 206) | static create ({ id, matcher, checker, ...options }) { method constructor (line 210) | constructor ({ id, matcher, checker, options }) { method matches (line 217) | matches (permission) { method check (line 232) | async check ({ actor, permission, recurse }) { class PermissionExploder (line 249) | class PermissionExploder { method create (line 250) | static create ({ id, matcher, exploder }) { method constructor (line 254) | constructor ({ id, matcher, exploder }) { method matches (line 260) | matches (permission) { method explode (line 276) | async explode ({ actor, permission }) { FILE: src/backend/src/services/database/BaseDatabaseAccessService.js class BaseDatabaseAccessService (line 30) | class BaseDatabaseAccessService extends BaseService { method _setDbSpanAttributes (line 33) | _setDbSpanAttributes (query) { method case (line 39) | case ( choices ) { method get (line 61) | get (_accessLevel, _scope) { method tryHardRead (line 80) | async tryHardRead (query, params) { method requireRead (line 95) | async requireRead (query, params) { method insert (line 116) | async insert (table_name, data) { method _gen_insert_sql (line 122) | _gen_insert_sql (table_name, data) { method batch_write (line 129) | batch_write (statements) { FILE: src/backend/src/services/database/SqliteDatabaseAccessService.js class SqliteDatabaseAccessService (line 24) | class SqliteDatabaseAccessService extends BaseDatabaseAccessService { method _init (line 39) | async _init () { method _read (line 279) | async _read (query, params = []) { method _tryHardRead (line 290) | async _tryHardRead (query, params) { method _write (line 297) | async _write (query, params) { method _batch_write (line 316) | async _batch_write (entries) { method sqlite_transform_query_ (line 333) | sqlite_transform_query_ (query) { method sqlite_transform_params_ (line 340) | sqlite_transform_params_ (params) { method run_js_migration_ (line 354) | async run_js_migration_ ({ filename: _filename, contents }) { method _register_commands (line 375) | _register_commands (commands) { method '__on_boot.consolidation' (line 272) | async '__on_boot.consolidation' () { FILE: src/backend/src/services/database/consts.js constant DB_READ (line 19) | const DB_READ = Symbol('DB_READ'); constant DB_WRITE (line 20) | const DB_WRITE = Symbol('DB_WRITE'); FILE: src/backend/src/services/database/sqlite_setup/0001_create-tables.sql type `apps` (line 24) | CREATE TABLE `apps` ( type `app_filetype_association` (line 48) | CREATE TABLE `app_filetype_association` ( type `app_opens` (line 54) | CREATE TABLE `app_opens` ( type `feedback` (line 63) | CREATE TABLE `feedback` ( type `fsentries` (line 70) | CREATE TABLE `fsentries` ( type idx_parentId_name (line 101) | CREATE INDEX idx_parentId_name ON fsentries (`parent_id`, `name`) type idx_path (line 102) | CREATE INDEX idx_path ON fsentries (`path`) type `fsentry_versions` (line 104) | CREATE TABLE `fsentry_versions` ( type `kv` (line 114) | CREATE TABLE `kv` ( type `subdomains` (line 129) | CREATE TABLE `subdomains` ( type `user` (line 143) | CREATE TABLE `user` ( type `storage_audit` (line 197) | CREATE TABLE `storage_audit` ( type `user_update_audit` (line 211) | CREATE TABLE `user_update_audit` ( type `app_update_audit` (line 228) | CREATE TABLE `app_update_audit` ( type `rl_usage_fixed_window` (line 245) | CREATE TABLE `rl_usage_fixed_window` ( type `service_usage_monthly` (line 253) | CREATE TABLE `service_usage_monthly` ( type `user_to_app_permissions` (line 275) | CREATE TABLE `user_to_app_permissions` ( type `audit_user_to_app_permissions` (line 286) | CREATE TABLE `audit_user_to_app_permissions` ( type `general_analytics` (line 309) | CREATE TABLE `general_analytics` ( type `auth_audit` (line 331) | CREATE TABLE `auth_audit` ( type `access_token_permissions` (line 351) | CREATE TABLE `access_token_permissions` ( type `monthly_usage_counts` (line 364) | CREATE TABLE `monthly_usage_counts` ( FILE: src/backend/src/services/database/sqlite_setup/0003_user-permissions.sql type `user_to_user_permissions` (line 1) | CREATE TABLE `user_to_user_permissions` ( type "audit_user_to_user_permissions" (line 12) | CREATE TABLE "audit_user_to_user_permissions" ( FILE: src/backend/src/services/database/sqlite_setup/0004_sessions.sql type `sessions` (line 1) | CREATE TABLE `sessions` ( FILE: src/backend/src/services/database/sqlite_setup/0011_notification.sql type `notification` (line 1) | CREATE TABLE `notification` ( FILE: src/backend/src/services/database/sqlite_setup/0014_share.sql type `share` (line 1) | CREATE TABLE `share` ( FILE: src/backend/src/services/database/sqlite_setup/0015_group.sql type `group` (line 1) | CREATE TABLE `group` ( type `jct_user_group` (line 10) | CREATE TABLE `jct_user_group` ( FILE: src/backend/src/services/database/sqlite_setup/0016_group-permissions.sql type `user_to_group_permissions` (line 1) | CREATE TABLE `user_to_group_permissions` ( type "audit_user_to_group_permissions" (line 12) | CREATE TABLE "audit_user_to_group_permissions" ( FILE: src/backend/src/services/database/sqlite_setup/0018_fix-0003.sql type `audit_user_to_user_permissions_new` (line 1) | CREATE TABLE `audit_user_to_user_permissions_new` ( FILE: src/backend/src/services/database/sqlite_setup/0019_fix-0016.sql type `audit_user_to_group_permissions_new` (line 1) | CREATE TABLE `audit_user_to_group_permissions_new` ( FILE: src/backend/src/services/database/sqlite_setup/0023_fix-kv.sql type `new_kv` (line 1) | CREATE TABLE `new_kv` ( FILE: src/backend/src/services/database/sqlite_setup/0028_clean-email.sql type idx_user_clean_email (line 2) | CREATE INDEX idx_user_clean_email ON `user` (`clean_email`) FILE: src/backend/src/services/database/sqlite_setup/0030_comments.sql type `user_comments` (line 1) | CREATE TABLE `user_comments` ( type `idx_user_comments_uid` (line 11) | CREATE INDEX `idx_user_comments_uid` ON `user_comments` (`uid`) type `user_fsentry_comments` (line 13) | CREATE TABLE `user_fsentry_comments` ( type `user_fsentry_version_comments` (line 21) | CREATE TABLE `user_fsentry_version_comments` ( type `user_group_comments` (line 29) | CREATE TABLE `user_group_comments` ( type `user_user_comments` (line 37) | CREATE TABLE `user_user_comments` ( FILE: src/backend/src/services/database/sqlite_setup/0032_signup_metadata.sql type idx_user_signup_ip (line 9) | CREATE INDEX idx_user_signup_ip ON user(signup_ip) type idx_user_signup_ip_forwarded (line 10) | CREATE INDEX idx_user_signup_ip_forwarded ON user(signup_ip_forwarded) type idx_user_signup_user_agent (line 11) | CREATE INDEX idx_user_signup_user_agent ON user(signup_user_agent) type idx_user_signup_origin (line 12) | CREATE INDEX idx_user_signup_origin ON user(signup_origin) type idx_user_signup_server (line 13) | CREATE INDEX idx_user_signup_server ON user(signup_server) FILE: src/backend/src/services/database/sqlite_setup/0033_ai-usage.sql type `ai_usage` (line 1) | CREATE TABLE `ai_usage` ( type `idx_ai_usage_service_name` (line 31) | CREATE INDEX `idx_ai_usage_service_name` ON `ai_usage` (`service_name`) type `idx_ai_usage_model_name` (line 32) | CREATE INDEX `idx_ai_usage_model_name` ON `ai_usage` (`model_name`) type `idx_ai_usage_price_modifier` (line 33) | CREATE INDEX `idx_ai_usage_price_modifier` ON `ai_usage` (`price_modifier`) type `idx_ai_usage_created_at` (line 34) | CREATE INDEX `idx_ai_usage_created_at` ON `ai_usage` (`created_at`) FILE: src/backend/src/services/database/sqlite_setup/0034_app-redirect.sql type `old_app_names` (line 1) | CREATE TABLE `old_app_names` ( type `idx_old_app_names_name` (line 10) | CREATE INDEX `idx_old_app_names_name` ON `old_app_names` (`name`) FILE: src/backend/src/services/database/sqlite_setup/0035_threads.sql type `thread` (line 1) | CREATE TABLE `thread` ( type `idx_thread_uid` (line 13) | CREATE INDEX `idx_thread_uid` ON `thread` (`uid`) FILE: src/backend/src/services/database/sqlite_setup/0036_dev-to-app.sql type `dev_to_app_permissions` (line 1) | CREATE TABLE `dev_to_app_permissions` ( type `audit_dev_to_app_permissions` (line 12) | CREATE TABLE `audit_dev_to_app_permissions` ( FILE: src/backend/src/services/database/sqlite_setup/0037_cost.sql type `per_user_credit` (line 1) | CREATE TABLE `per_user_credit` ( FILE: src/backend/src/services/database/sqlite_setup/0041_add_unique_constraint_user_uuid.sql type idx_user_uuid (line 7) | CREATE UNIQUE INDEX IF NOT EXISTS idx_user_uuid ON user(uuid) FILE: src/backend/src/services/database/sqlite_setup/0043_add_dt.sql type user_to_app_permissions_new (line 3) | CREATE TABLE user_to_app_permissions_new ( FILE: src/backend/src/services/database/sqlite_setup/0045_user_oidc_providers.sql type `user_oidc_providers` (line 4) | CREATE TABLE `user_oidc_providers` ( type `idx_user_oidc_providers_provider_sub` (line 15) | CREATE INDEX `idx_user_oidc_providers_provider_sub` ON `user_oidc_provid... type `idx_user_oidc_providers_user_id` (line 16) | CREATE INDEX `idx_user_oidc_providers_user_id` ON `user_oidc_providers` ... FILE: src/backend/src/services/drivers/CoercionService.js class CoercionService (line 32) | class CoercionService extends BaseService { method _construct (line 46) | async _construct () { method _init (line 56) | async _init () { method coerce (line 152) | async coerce (target, typed_value) { FILE: src/backend/src/services/drivers/DriverError.js class DriverError (line 25) | class DriverError { method create (line 26) | static create (source) { method constructor (line 29) | constructor ({ source, message }) { method serialize (line 39) | serialize () { FILE: src/backend/src/services/drivers/DriverService.js class DriverService (line 37) | class DriverService extends BaseService { method usage (line 47) | async usage () { method _construct (line 82) | _construct () { method _init (line 90) | _init () { method register_driver (line 216) | register_driver (interface_name, implementation) { method register_test_service (line 220) | register_test_service (interface_name, service_name) { method register_service_alias (line 224) | register_service_alias (service_name, alias, options = {}) { method get_default_implementation (line 236) | get_default_implementation (interface_name) { method call (line 254) | async call (o) { method _call (line 274) | async _call ({ driver, iface, method, args }) { method get_policies_for_option_ (line 374) | async get_policies_for_option_ (option) { method select_best_option_ (line 403) | async select_best_option_ (options) { method call_new_ (line 416) | async call_new_ ({ method _driver_response_from_error (line 549) | async _driver_response_from_error (e, meta) { method _process_args (line 567) | async _process_args (interface_name, method_name, args) { method get_service_or_throw_ (line 637) | get_service_or_throw_ (name, iface) { method '__on_boot.consolidation' (line 133) | async '__on_boot.consolidation' () { method '__on_registry.collections' (line 162) | async '__on_registry.collections' () { method '__on_registry.entries' (line 173) | async '__on_registry.entries' () { method '__on_driver.register.interfaces' (line 200) | async '__on_driver.register.interfaces' () { FILE: src/backend/src/services/drivers/DriverUsagePolicyService.js class DriverUsagePolicyService (line 32) | class DriverUsagePolicyService extends BaseService { method get_policies_for_option_ (line 44) | async get_policies_for_option_ (option) { method select_best_option_ (line 76) | async select_best_option_ (options) { method get_effective_policy (line 96) | async get_effective_policy ({ actor, service_name, trait_name }) { FILE: src/backend/src/services/drivers/FileFacade.js class FileFacade (line 39) | class FileFacade extends AdvancedBase { method constructor (line 49) | constructor (...a) { method set (line 115) | set (k, v) { method get (line 118) | get (k) { FILE: src/backend/src/services/drivers/meta/Construct.js class Construct (line 31) | class Construct extends BasicBase { method constructor (line 32) | constructor (json, { name } = {}) { method __process (line 43) | __process () { method serialize (line 55) | serialize () { class Parameter (line 84) | class Parameter extends Construct { method _process (line 91) | _process (raw) { class Method (line 102) | class Method extends Construct { method _process (line 109) | _process (raw) { class Interface (line 132) | class Interface extends Construct { method _process (line 138) | _process (raw) { class TypeSpec (line 156) | class TypeSpec extends BasicBase { method adapt (line 157) | static adapt (raw) { method constructor (line 161) | constructor (raw) { method equals (line 166) | equals (other) { method toString (line 175) | toString () { method hash (line 187) | hash () { FILE: src/backend/src/services/drivers/meta/Runtime.js class RuntimeEntity (line 28) | class RuntimeEntity extends BasicBase { class TypedValue (line 38) | class TypedValue extends RuntimeEntity { method constructor (line 39) | constructor (type, value) { FILE: src/backend/src/services/drivers/types.js class BaseType (line 34) | class BaseType extends AdvancedBase { class String (line 42) | class String extends BaseType { method consolidate (line 49) | async consolidate (ctx, input) { method serialize (line 62) | serialize () { class Flag (line 74) | class Flag extends BaseType { method consolidate (line 81) | async consolidate (ctx, input) { method serialize (line 89) | serialize () { class NumberType (line 102) | class NumberType extends BaseType { method consolidate (line 113) | async consolidate (ctx, input, { arg_name, arg_descriptor }) { method serialize (line 144) | serialize () { class URL (line 156) | class URL extends BaseType { method consolidate (line 166) | async consolidate (ctx, input, { arg_name }) { method serialize (line 180) | serialize () { class File (line 196) | class File extends BaseType { method consolidate (line 225) | async consolidate (ctx, input, { arg_name }) { method serialize (line 277) | serialize () { class JSONType (line 291) | class JSONType extends BaseType { method consolidate (line 302) | async consolidate (ctx, input, { arg_descriptor, arg_name }) { method serialize (line 330) | serialize () { FILE: src/backend/src/services/file-cache/FileTracker.js class FileTracker (line 34) | class FileTracker { method constructor (line 40) | constructor ({ key, size }) { method score (line 61) | get score () { method age (line 86) | get age () { method touch (line 95) | touch () { FILE: src/backend/src/services/fs/FSLockService.js constant MODE_READ (line 23) | const MODE_READ = Symbol('read'); constant MODE_WRITE (line 25) | const MODE_WRITE = Symbol('write'); class FSLockService (line 33) | class FSLockService extends BaseService { method _construct (line 36) | async _construct () { method _init (line 46) | async _init () { method lock_child (line 91) | async lock_child (path, name, mode) { method lock_path (line 104) | async lock_path (path, mode) { FILE: src/backend/src/services/periodic/FSEntryMigrateService.js class Job (line 32) | class Job { method constructor (line 36) | constructor ({ dbrr, dbrw, log }) { method maybe_stop_ (line 47) | maybe_stop_ () { method stop (line 59) | stop () { method set_progress (line 62) | set_progress (progress) { class Mig_StorePath (line 87) | class Mig_StorePath extends Job { method start (line 100) | async start (args) { class Mig_IndexAccessed (line 158) | class Mig_IndexAccessed extends Job { method start (line 168) | async start (args) { class Mig_FixTrash (line 209) | class Mig_FixTrash extends Job { method start (line 223) | async start (args) { class Mig_AddReferralCodes (line 284) | class Mig_AddReferralCodes extends Job { method start (line 294) | async start (args) { class Mig_AuditInitialStorage (line 345) | class Mig_AuditInitialStorage extends Job { method start (line 354) | async start (args) { class FSEntryMigrateService (line 371) | class FSEntryMigrateService { method constructor (line 372) | constructor ({ services }) { FILE: src/backend/src/services/sla/RateLimitService.js class RateLimitService (line 37) | class RateLimitService extends BaseService { method _init (line 51) | async _init () { method check_and_increment (line 64) | async check_and_increment (key, max, period, options = {}) { method _get_consumer_id (line 136) | _get_consumer_id () { FILE: src/backend/src/services/sla/SLAService.js class SLAService (line 35) | class SLAService extends BaseService { method _construct (line 43) | async _construct () { method get (line 127) | get (category, key) { FILE: src/backend/src/services/web/UserProtectedEndpointsService.js constant REVALIDATION_COOKIE_NAME (line 30) | const REVALIDATION_COOKIE_NAME = 'puter_revalidation'; class UserProtectedEndpointsService (line 43) | class UserProtectedEndpointsService extends BaseService { method #revalidateUrlFields (line 48) | async #revalidateUrlFields (req, user) { method '__on_install.routes' (line 66) | '__on_install.routes' () { FILE: src/backend/src/services/worker/WorkerService.js function readPuterFile (line 40) | async function readPuterFile (actor, filePath) { constant PREAMBLE_LENGTH (line 81) | const PREAMBLE_LENGTH = preamble.split('\n').length - 1; class WorkerService (line 82) | class WorkerService extends BaseService { method _init (line 83) | _init () { method create (line 192) | async create ({ filePath, workerName, authorization, appId }) { method destroy (line 265) | async destroy ({ workerName, authorization }) { method getFilePaths (line 293) | async getFilePaths ({ workerName }) { method startLogs (line 325) | async startLogs ({ workerName, authorization }) { method endLogs (line 328) | async endLogs ({ workerName, authorization }) { method getLoggingUrl (line 331) | async getLoggingUrl ({ }) { method '__on_driver.register.interfaces' (line 336) | async '__on_driver.register.interfaces' () { FILE: src/backend/src/services/worker/src/s2w-router.js function inits2w (line 3) | function inits2w () { FILE: src/backend/src/services/worker/template/puter-portable.js method constructor (line 9) | constructor(...args) { method addEventListener (line 12) | addEventListener(type, listener, options) { FILE: src/backend/src/services/worker/workerUtils/cloudflareDeploy.js constant CF_BASE_URL (line 5) | const CF_BASE_URL = 'https://api.cloudflare.com/'; constant WORKERS_BASE_URL (line 6) | let WORKERS_BASE_URL; function cfFetch (line 9) | function cfFetch (url, method = 'GET', body, givenHeaders) { function getWorker (line 18) | async function getWorker (userData, authorization, workerId) { function createWorker (line 21) | async function createWorker (userData, authorization, workerName, body, ... function setPreambleLength (line 78) | function setPreambleLength (length) { function setCloudflareKeys (line 81) | function setCloudflareKeys (givenConfig) { function deleteWorker (line 90) | async function deleteWorker (userData, authorization, workerId) { FILE: src/backend/src/services/worker/workerUtils/nameUtils.js function sha1 (line 4) | function sha1 (input) { function calculateWorkerNameNew (line 8) | function calculateWorkerNameNew (uuid, workerId) { FILE: src/backend/src/services/worker/workerUtils/puterUtils.js function getUserInfo (line 1) | function getUserInfo (authorization, apiBase = 'https://puter.com') { FILE: src/backend/src/structured/sequence/share.js method serialize (line 50) | serialize () { FILE: src/backend/src/structured/sequence/share/process_recipients.js method after_each (line 41) | after_each (a) { FILE: src/backend/src/structured/sequence/share/process_shares.js method beforeEach (line 120) | beforeEach (a) { FILE: src/backend/src/traits/AssignableMethodsFeature.js class AssignableMethodsFeature (line 19) | class AssignableMethodsFeature { method install_in_instance (line 20) | install_in_instance (instance) { FILE: src/backend/src/traits/AsyncProviderFeature.js class AsyncProviderFeature (line 19) | class AsyncProviderFeature { method install_in_instance (line 20) | install_in_instance (instance) { method provideValue (line 33) | provideValue (key, value) { method rejectValue (line 47) | rejectValue (key, err) { method awaitValue (line 64) | awaitValue (key) { method onValue (line 70) | onValue (key, fn, rjct) { method setFactory (line 102) | async setFactory (key, factoryFn) { FILE: src/backend/src/traits/ChannelFeature.js class Channel (line 22) | class Channel { method constructor (line 23) | constructor () { method on (line 29) | on (callback) { method emit (line 45) | emit (...a) { class ChannelFeature (line 52) | class ChannelFeature { method install_in_instance (line 53) | install_in_instance (instance) { FILE: src/backend/src/traits/ContextAwareFeature.js class ContextAwareFeature (line 21) | class ContextAwareFeature { method install_in_instance (line 22) | install_in_instance (instance) { FILE: src/backend/src/traits/OtelFeature.js class OtelFeature (line 22) | class OtelFeature { method constructor (line 23) | constructor (method_include_list) { method install_in_instance (line 26) | install_in_instance (instance) { FILE: src/backend/src/traits/SyncFeature.js class SyncFeature (line 21) | class SyncFeature { method constructor (line 22) | constructor (method_include_list) { method install_in_instance (line 26) | install_in_instance (instance) { FILE: src/backend/src/traits/WeakConstructorFeature.js class WeakConstructorFeature (line 19) | class WeakConstructorFeature { method install_in_instance (line 20) | install_in_instance (instance, { parameters }) { FILE: src/backend/src/unstructured/permission-scanners.js constant PERMISSION_SCANNERS (line 49) | const PERMISSION_SCANNERS = [ method scan (line 58) | async scan (a) { method scan (line 101) | async scan (a) { method scan (line 139) | async scan (a) { method scan (line 158) | async scan (a) { method scan (line 212) | async scan (a) { method scan (line 276) | async scan (a) { method scan (line 305) | async scan (a) { method scan (line 360) | async scan (a) { method scan (line 409) | async scan (a) { FILE: src/backend/src/util/CircularQueue.bench.js class NaiveCircularQueue (line 28) | class NaiveCircularQueue { method constructor (line 29) | constructor (size) { method push (line 35) | push (item) { method get (line 40) | get (index) { method has (line 44) | has (item) { method maybe_consume (line 48) | maybe_consume (item) { FILE: src/backend/src/util/CircularQueue.js class CircularQueue (line 27) | class CircularQueue { method constructor (line 33) | constructor (size) { method push (line 45) | push (item) { method get (line 60) | get (index) { method has (line 70) | has (item) { method maybe_consume (line 80) | maybe_consume (item) { FILE: src/backend/src/util/consolelog.js class ConsoleLogManager (line 19) | class ConsoleLogManager { method getInstance (line 22) | static getInstance () { method get_log_decorators_ (line 56) | get_log_decorators_ (method) { method get_post_hooks_ (line 60) | get_post_hooks_ (method) { method constructor (line 64) | constructor () { method initialize_proxy_methods (line 80) | initialize_proxy_methods (methods) { method decorate (line 91) | decorate (method, dec_fn) { method decorate_all (line 95) | decorate_all (dec_fn) { method post_all (line 102) | post_all (post_fn) { method log_raw (line 109) | log_raw (method, ...args) { FILE: src/backend/src/util/context.d.ts type AnyRecord (line 5) | type AnyRecord = Record; type ContextCreateHookPayload (line 7) | interface ContextCreateHookPayload { type ContextArunHookPayload (line 12) | interface ContextArunHookPayload { type IContext (line 20) | interface IContext { class Context (line 27) | class Context { class ContextExpressMiddleware (line 64) | class ContextExpressMiddleware { FILE: src/backend/src/util/context.js constant CONTEXT_SINGLETON_KEY (line 24) | const CONTEXT_SINGLETON_KEY = Symbol.for('puter.context.module'); method make_context_key (line 53) | static make_context_key (opt_human_readable) { method create (line 60) | static create (values, opt_name) { method get (line 63) | static get (key, { allow_fallback } = {}) { method set (line 80) | static set (k, v) { method describe (line 85) | static describe () { method arun (line 88) | static arun (...a) { method sub (line 91) | static sub (values, opt_name) { method unlink (line 104) | unlink () { method get (line 112) | get (k) { method set (line 115) | set (k, v) { method sub (line 119) | sub (values, opt_name) { method values (line 130) | get values () { method get_proxy_object (line 137) | get_proxy_object () { method constructor (line 149) | constructor (imm_values, opt_parent, opt_name) { method arun (line 186) | async arun (...args) { method abind (line 220) | abind (cb) { method describe (line 228) | describe () { method describe_ (line 231) | describe_ () { method allow_fallback (line 236) | static async allow_fallback (cb) { method constructor (line 245) | constructor ({ parent }) { method install (line 248) | install (app) { method run (line 251) | async run (req, res, next) { FILE: src/backend/src/util/debugutil.js constant LETTERS (line 20) | const LETTERS = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', ... FILE: src/backend/src/util/errorutil.js class ManagedError (line 58) | class ManagedError extends Error { method constructor (line 59) | constructor (source, extra = {}) { FILE: src/backend/src/util/expressutil.js method attach (line 23) | attach (route) { method but (line 37) | but (newSpec) { FILE: src/backend/src/util/fuzz.js function fuzz_number (line 44) | function fuzz_number (num) { FILE: src/backend/src/util/hl_types.js class HLTypeFacade (line 58) | class HLTypeFacade { method convert (line 60) | static convert (type, value, opt_default) { FILE: src/backend/src/util/identifier.js function generate_identifier (line 71) | function generate_identifier (separator = '_', rng = Math.random) { constant HUMAN_READABLE_CASE_INSENSITIVE (line 81) | const HUMAN_READABLE_CASE_INSENSITIVE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ01234... function generate_random_code (line 83) | function generate_random_code (n, { function compose_code (line 100) | function compose_code (mask, value) { FILE: src/backend/src/util/lockutil.js class RWLock (line 24) | class RWLock { method constructor (line 28) | constructor () { method effective_mode (line 39) | get effective_mode () { method push_ (line 44) | push_ (item) { method check_queue_ (line 51) | check_queue_ () { method rlock (line 90) | async rlock () { method wlock (line 109) | async wlock () { FILE: src/backend/src/util/multivalue.js class MultiValue (line 31) | class MultiValue extends AdvancedBase { method constructor (line 32) | constructor () { method add_factory (line 38) | async add_factory (key_desired, key_available, fn, cost) { method get (line 49) | async get (key) { method set (line 53) | set (key, value) { method _get (line 57) | async _get (key) { FILE: src/backend/src/util/objutil.js constant DO_NOT_DEFINE (line 1) | const DO_NOT_DEFINE = Symbol('DO_NOT_DEFINE'); FILE: src/backend/src/util/opmath.js class Getter (line 19) | class Getter { method adapt (line 20) | static adapt (v) { class StreamReducer (line 78) | class StreamReducer { method constructor (line 79) | constructor (initial) { method put (line 83) | put (v) { method get (line 87) | get () { method _put (line 91) | _put (v) { method _get (line 95) | _get () { class EWMA (line 100) | class EWMA extends StreamReducer { method constructor (line 101) | constructor ({ initial, alpha }) { method _put (line 106) | _put (v) { class MovingMode (line 111) | class MovingMode extends StreamReducer { method constructor (line 112) | constructor ({ initial, window_size }) { method _put (line 118) | _put (v) { method _get_mode (line 126) | _get_mode () { class TimeWindow (line 144) | class TimeWindow { method constructor (line 145) | constructor ({ window_duration, reducer, now }) { method add (line 152) | add (value) { method get (line 162) | get () { method get_entries (line 171) | get_entries () { method remove_stale_entries_ (line 175) | remove_stale_entries_ () { FILE: src/backend/src/util/otelutil.js constant DEFAULT_TRACER_NAME (line 44) | const DEFAULT_TRACER_NAME = 'puter-tracer'; class ParallelTasks (line 109) | class ParallelTasks { method constructor (line 110) | constructor ({ tracer, max } = {}) { method add (line 119) | add (name, fn, flags) { method run_ (line 130) | run_ (name, fn) { method check_queue_ (line 148) | check_queue_ () { method awaitAll (line 156) | async awaitAll () { method awaitAllAndDeferThrow (line 160) | async awaitAllAndDeferThrow () { FILE: src/backend/src/util/outcomeutil.ts class OutcomeObject (line 4) | class OutcomeObject { method constructor (line 39) | constructor (infoObject: T) { method log (line 44) | log (text, fields?: unknown) { method succeeded (line 48) | get succeeded () { method fail (line 67) | fail (message, i18nKey, fields = {}) { method success (line 76) | success () { FILE: src/backend/src/util/pathutil.js class PathBuilder (line 26) | class PathBuilder extends AdvancedBase { method constructor (line 31) | constructor (parameters = {}) { method create (line 40) | static create (parameters) { method add (line 44) | static add (fragment, options) { method resolve (line 48) | static resolve (fragment, parameters = {}) { method add (line 67) | add (fragment, options) { method build (line 87) | build () { FILE: src/backend/src/util/securehttp.js constant SECURE_DNS_SERVER (line 27) | const SECURE_DNS_SERVER = '1.1.1.3'; function validateUrlNoIP (line 38) | function validateUrlNoIP (url) { function secureDNSLookup (line 68) | function secureDNSLookup (hostname, options, callback) { function createSecureAgents (line 151) | function createSecureAgents () { function secureAxiosRequest (line 175) | async function secureAxiosRequest (axios, url, options = {}) { FILE: src/backend/src/util/streamutil.js class StreamBuffer (line 23) | class StreamBuffer extends TeePromise { method constructor (line 24) | constructor () { class LoggingStream (line 110) | class LoggingStream extends Transform { method constructor (line 111) | constructor (options) { method _transform (line 116) | _transform (chunk, encoding, callback) { function original_stream_on_data (line 205) | function original_stream_on_data (chunk) { method state (line 250) | get state () { class ProgressReportingStream (line 296) | class ProgressReportingStream extends Transform { method constructor (line 297) | constructor (options, { total, progress_callback }) { method _transform (line 304) | _transform (chunk, encoding, callback) { class SizeLimitingStream (line 322) | class SizeLimitingStream extends Transform { method constructor (line 323) | constructor (options, { limit }) { method _transform (line 329) | _transform (chunk, encoding, callback) { class SizeMeasuringStream (line 349) | class SizeMeasuringStream extends Transform { method constructor (line 350) | constructor (options, probe) { method _transform (line 356) | _transform (chunk, encoding, callback) { class StuckDetectorStream (line 381) | class StuckDetectorStream extends Transform { method constructor (line 382) | constructor (options, { method _start_timer (line 397) | _start_timer () { method _transform (line 406) | _transform (chunk, encoding, callback) { method _flush (line 416) | _flush (callback) { method transform (line 522) | transform (chunk, encoding, callback) { method flush (line 531) | flush (callback) { FILE: src/backend/src/util/uuidfpe.js class UUIDFPE (line 22) | class UUIDFPE { method constructor (line 25) | constructor (key) { method uuidToBuffer (line 32) | static uuidToBuffer (uuidStr) { method bufferToUuid (line 36) | static bufferToUuid (buffer) { method encrypt (line 47) | encrypt (uuidStr) { method decrypt (line 62) | decrypt (encryptedUuidStr) { FILE: src/backend/src/util/workutil.js class WorkList (line 19) | class WorkList { method constructor (line 20) | constructor () { method list (line 25) | list () { method clear_invalid (line 29) | clear_invalid () { method push (line 38) | push (item) { method lockin (line 45) | lockin () { FILE: src/backend/test/modules/captcha/integration/extension-integration.test.js class ExtensionService (line 27) | class ExtensionService { method constructor (line 28) | constructor () { method registerExtension (line 33) | registerExtension (name, extension) { method on (line 37) | on (event, handler) { method emit (line 44) | async emit (event, data) { FILE: src/backend/tools/test-webhook.js constant CONFIG_PATH (line 25) | const CONFIG_PATH = path.join(__dirname, '.test-webhook-config.json'); function randomHex (line 27) | function randomHex (bytes) { function loadConfig (line 31) | function loadConfig () { function saveConfig (line 63) | function saveConfig (peerId, webhookSecret, nonce, instanceUrl) { function ask (line 84) | function ask (rl, question, defaultAnswer = '') { function main (line 94) | async function main () { FILE: src/backend/tools/test.mjs class TestLogger (line 35) | class TestLogger { method constructor (line 36) | constructor () { method info (line 39) | info (...args) { method error (line 43) | error (...args) { class TestKernel (line 58) | class TestKernel extends AdvancedBase { method constructor (line 62) | constructor () { method add_module (line 85) | add_module (module) { method boot (line 94) | boot () { method _install_modules (line 128) | async _install_modules () { FILE: src/dev-center/js/apps.js constant APP_CATEGORIES (line 10) | const APP_CATEGORIES = [ constant PREVIEW_DEVICES (line 28) | const PREVIEW_DEVICES = [ function init_apps (line 34) | async function init_apps () { function create_app (line 167) | async function create_app (title, source_path = null, items = null) { function applink (line 323) | function applink (app) { function generate_edit_app_section (line 350) | function generate_edit_app_section (app) { function trackOriginalValues (line 563) | function trackOriginalValues () { function hasChanges (line 593) | function hasChanges () { function toggleSaveButton (line 633) | function toggleSaveButton () { function toggleResetButton (line 642) | function toggleResetButton () { function resetToOriginalValues (line 658) | function resetToOriginalValues () { function edit_app_section (line 702) | async function edit_app_section (cur_app_name, tab = 'deploy') { function saveEditedApp (line 1113) | async function saveEditedApp (mode) { function count_apps (line 1476) | function count_apps () { function generate_app_card (line 1549) | function generate_app_card (app) { function sort_apps (line 1689) | function sort_apps () { function hasGitDirectory (line 1744) | async function hasGitDirectory (items) { function showGitWarningDialog (line 1778) | async function showGitWarningDialog () { function generateDirTree (line 2072) | function generateDirTree (paths) { function setRootDirTree (line 2090) | function setRootDirTree (tree, items) { function hasRootIndexHtml (line 2119) | function hasRootIndexHtml (tree) { function remove_app_card (line 2397) | function remove_app_card (app_uid, callback = null) { function disable_window_settings (line 2567) | function disable_window_settings () { function enable_window_settings (line 2576) | function enable_window_settings () { function ensureAssetsURL (line 2617) | async function ensureAssetsURL () { function getDefaultPreviewImagesState (line 2692) | function getDefaultPreviewImagesState () { function createPreviewThumbElement (line 2700) | function createPreviewThumbElement (item) { function applyPreviewImages (line 2721) | function applyPreviewImages (previewImages) { function updatePreviewCounts (line 2739) | function updatePreviewCounts () { function getPreviewImagesState (line 2746) | function getPreviewImagesState () { function serializePreviewState (line 2762) | function serializePreviewState (state) { function readImageFileAsDataURL (line 2778) | async function readImageFileAsDataURL (file) { function render_analytics (line 2919) | async function render_analytics (period) { function app_context_menu (line 3038) | function app_context_menu (app_name, app_title, app_uid) { function attempt_delete_app (line 3103) | async function attempt_delete_app (app_name, app_title, app_uid) { FILE: src/dev-center/js/dev-center.js method content (line 509) | content (reference) { method onMount (line 512) | onMount (instance) { FILE: src/dev-center/js/libs/html-entities.js function t (line 45) | function t (r) { FILE: src/dev-center/js/libs/slugify.js function replace (line 17) | function replace (string, options) { FILE: src/dev-center/js/websites.js function init_websites (line 49) | async function init_websites () { function sort_websites (line 188) | function sort_websites () { function count_websites (line 246) | function count_websites () { function generate_website_card (line 252) | function generate_website_card (website) { function remove_website_card (line 310) | function remove_website_card (website_name, callback = null) { function attempt_website_deletion (line 422) | async function attempt_website_deletion (website_name) { function change_website_directory (line 445) | async function change_website_directory (website_name) { FILE: src/dev-center/js/workers.js function init_workers (line 56) | async function init_workers () { function sort_workers (line 213) | function sort_workers () { function count_workers (line 264) | function count_workers () { function generate_worker_card (line 270) | function generate_worker_card (worker) { function remove_worker_card (line 326) | function remove_worker_card (worker_name, callback = null) { function attempt_worker_deletion (line 431) | async function attempt_worker_deletion (worker_name) { FILE: src/docs/build.js method heading (line 22) | heading (text, level) { method code (line 32) | code (code, infostring, escaped) { function createDirectoryRecursively (line 86) | function createDirectoryRecursively (directoryPath) { function removeDirectoryRecursively (line 93) | function removeDirectoryRecursively (directoryPath) { function generateMenuHTML (line 99) | function generateMenuHTML () { function generateSearchTriggerHTML (line 137) | function generateSearchTriggerHTML () { function generateSearchUIHTML (line 148) | function generateSearchUIHTML () { function generateTableOfContentsHTML (line 166) | function generateTableOfContentsHTML (htmlContent, title) { function parseFrontMatter (line 207) | function parseFrontMatter (fileContent) { function generatePlatformCompatibilityHTML (line 220) | function generatePlatformCompatibilityHTML (frontMatter) { function generateDocsHTML (line 255) | function generateDocsHTML (filePath, rootDir, page, isIndex = false) { function findMdFiles (line 518) | function findMdFiles (rootDir) { function generateDocumentation (line 561) | async function generateDocumentation (rootDir) { function generateRedirects (line 599) | function generateRedirects () { function generateSitemap (line 620) | function generateSitemap () { function getDescriptionFromMarkdown (line 669) | function getDescriptionFromMarkdown (sourcePath) { function generateLLMs (line 681) | function generateLLMs () { function removeTags (line 721) | function removeTags (html) { function markdownToPlainText (line 799) | function markdownToPlainText (markdown) { FILE: src/docs/src/assets/js/router.js function isCurrentPage (line 19) | function isCurrentPage (str) { function isExternalLink (line 34) | function isExternalLink (href) { function isPlaygroundLink (line 43) | function isPlaygroundLink (href) { FILE: src/docs/src/assets/js/search.js function openSearchUI (line 21) | function openSearchUI () { function closeSearchUI (line 28) | function closeSearchUI () { function fetchSearchIndex (line 102) | async function fetchSearchIndex () { function escapeHtml (line 113) | function escapeHtml (text) { function generateTextFragment (line 122) | function generateTextFragment (matchedText, prefix = '', suffix = '') { function performSearch (line 130) | function performSearch (query) { function updateSearchResults (line 241) | function updateSearchResults (results) { function updateSelectedResult (line 267) | function updateSelectedResult () { function navigateSearchResults (line 296) | function navigateSearchResults (direction) { function activateSelectedResult (line 315) | function activateSelectedResult () { FILE: src/docs/src/assets/js/sidebar.js function isCurrentPage (line 12) | function isCurrentPage (str) { function fetchGitHubData (line 60) | function fetchGitHubData () { FILE: src/docs/src/playground/assets/js/app.js function fetchGitHubData (line 30) | function fetchGitHubData () { function loadStringInIframe (line 62) | function loadStringInIframe (str) { function updateActiveSidebarItem (line 166) | function updateActiveSidebarItem () { FILE: src/docs/src/sidebar.js function addPrevNextLinks (line 1262) | function addPrevNextLinks (sidebar) { FILE: src/gui/src/UI/Components/Button.js method create_template (line 54) | create_template ({ template }) { method on_ready (line 72) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/CodeEntryView.js method create_template (line 73) | create_template ({ template }) { method on_focus (line 98) | on_focus () { method on_ready (line 102) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/ConfirmationsView.js method create_template (line 51) | create_template ({ template }) { method on_ready (line 69) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/Flexer.js method create_template (line 43) | create_template ({ template }) { method on_ready (line 51) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/JustHTML.js method create_template (line 29) | create_template ({ template }) { method on_ready (line 32) | on_ready ({ listen }) { method _set_dom_based_on_render_mode (line 38) | _set_dom_based_on_render_mode ({ property_values }) { FILE: src/gui/src/UI/Components/PasswordEntry.js method create_template (line 98) | create_template ({ template }) { method on_focus (line 116) | on_focus () { method on_ready (line 120) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/QRCode.js method create_template (line 56) | create_template ({ template }) { method on_ready (line 63) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/RecoveryCodeEntryView.js method create_template (line 68) | create_template ({ template }) { method on_focus (line 81) | on_focus () { method on_ready (line 85) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/RecoveryCodesView.js method create_template (line 76) | create_template ({ template }) { method on_ready (line 90) | on_ready ({ listen }) { FILE: src/gui/src/UI/Components/StepHeading.js method create_template (line 68) | create_template ({ template }) { FILE: src/gui/src/UI/Components/StepView.js method create_template (line 39) | create_template ({ template }) { method on_focus (line 47) | on_focus () { method on_ready (line 51) | on_ready ({ listen }) { method add_child (line 77) | add_child (child) { method display (line 87) | display (child) { method back (line 92) | back () { method next (line 97) | next () { method goto (line 105) | goto (pos) { FILE: src/gui/src/UI/Dashboard/ContextMenu/ContextMenu.js function isTouchPrimaryDevice (line 12) | function isTouchPrimaryDevice () { class ContextMenuModal (line 19) | class ContextMenuModal { method constructor (line 20) | constructor (options = {}) { method show (line 39) | show (menuItems, targetRect) { method positionModal (line 87) | positionModal (targetRect) { method renderMenuItems (line 136) | renderMenuItems (menuItems) { method setupEventListeners (line 176) | setupEventListeners () { method close (line 229) | close () { FILE: src/gui/src/UI/Dashboard/TabAccount.js method html (line 32) | html () { method init (line 137) | init ($el_window) { FILE: src/gui/src/UI/Dashboard/TabApps.js function buildAppsSection (line 20) | function buildAppsSection () { method html (line 50) | html () { method init (line 54) | init ($el_window) { method loadApps (line 71) | async loadApps ($el_window) { method onActivate (line 92) | onActivate ($el_window) { FILE: src/gui/src/UI/Dashboard/TabFiles.js method html (line 79) | html () { method init (line 153) | async init ($el_window) { method onActivate (line 521) | onActivate (_$el_window) { method isDashboardFilesActive (line 533) | isDashboardFilesActive () { method setupKeyboardShortcuts (line 544) | setupKeyboardShortcuts () { method showImagePreview (line 915) | async showImagePreview ($row) { method closeImagePreview (line 973) | closeImagePreview () { method createHeaderEventListeners (line 988) | createHeaderEventListeners () { method createSelectionActionListeners (line 1234) | createSelectionActionListeners ($el_window) { method updateSelectionActionsState (line 1327) | updateSelectionActionsState (selectedRows) { method initColumnResizing (line 1360) | initColumnResizing () { method applyColumnWidths (line 1457) | applyColumnWidths () { method updateSidebarSelection (line 1529) | updateSidebarSelection () { method updateActionButtons (line 1551) | updateActionButtons (isTrashFolder) { method showSortMenu (line 1577) | showSortMenu (e) { method sortFiles (line 1614) | sortFiles (files) { method insertAtSortedPosition (line 1663) | insertAtSortedPosition ($newRow, file) { method handleSort (line 1725) | async handleSort (column) { method updateSortIndicators (line 1745) | updateSortIndicators () { method renderDirectory (line 1768) | async renderDirectory (target, options = {}) { method renderItem (line 1947) | async renderItem (file) { method determineIcon (line 2047) | determineIcon (file) { method createItemListeners (line 2162) | createItemListeners (el_item, file) { method restoreItem (line 2807) | async restoreItem (el_item) { method moveClipboardItems (line 2840) | async moveClipboardItems (destPath) { method formatFileSize (line 2867) | formatFileSize (bytes) { method calculateTotalSize (line 2881) | calculateTotalSize (rows) { method updateFooterStats (line 2897) | updateFooterStats () { method toggleView (line 2946) | toggleView () { method toggleSelectMode (line 2981) | toggleSelectMode () { method exitSelectMode (line 3003) | exitSelectMode () { method navigateBackFromSpringLoad (line 3022) | navigateBackFromSpringLoad () { method initNavHistory (line 3043) | initNavHistory (initialPath) { method pushNavHistory (line 3057) | pushNavHistory (newPath) { method updateNavButtonStates (line 3079) | updateNavButtonStates () { method updateDashboardUrl (line 3111) | updateDashboardUrl (filePath) { method handleMoreClick (line 3129) | async handleMoreClick (rowElement, file, targetElement) { method generateContextMenuItems (line 3157) | async generateContextMenuItems (el_item, options) { method generateMultiSelectContextMenu (line 3201) | async generateMultiSelectContextMenu (selectedRows) { method generateFolderContextMenu (line 3312) | generateFolderContextMenu (folderPath) { method initRubberBandSelection (line 3498) | initRubberBandSelection () { method initNativeFileDrop (line 3673) | initNativeFileDrop () { method initContentAreaDragster (line 3685) | initContentAreaDragster () { method uploadFiles (line 3758) | uploadFiles (items, destPath) { method renderPath (line 3834) | renderPath (abs_path) { method showSpinner (line 3863) | showSpinner () { method hideSpinner (line 3886) | hideSpinner () { function measureTextWidth (line 3905) | function measureTextWidth (text, font = '500 13px system-ui, -apple-syst... function truncateFilenameToWidth (line 3922) | function truncateFilenameToWidth (filename, maxWidth, font = '500 13px s... FILE: src/gui/src/UI/Dashboard/TabHome.js function getTimeGreeting (line 22) | function getTimeGreeting () { function buildRecentAppsHTML (line 29) | function buildRecentAppsHTML () { function buildUsageHTML (line 66) | function buildUsageHTML () { method html (line 122) | html () { method init (line 192) | init ($el_window) { method loadRecentApps (line 240) | async loadRecentApps ($el_window) { method loadUsageData (line 259) | async loadUsageData ($el_window) { method onActivate (line 314) | onActivate ($el_window) { FILE: src/gui/src/UI/Dashboard/TabSecurity.js method html (line 30) | html () { method init (line 99) | init ($el_window) { FILE: src/gui/src/UI/Dashboard/TabUsage.js constant USAGE_TABLE_INITIAL_ROWS (line 27) | const USAGE_TABLE_INITIAL_ROWS = 10; function getSortIcon (line 106) | function getSortIcon(column) { function renderUsageTable (line 134) | function renderUsageTable() { function update_usage_details (line 207) | async function update_usage_details ($el_window) { FILE: src/gui/src/UI/Dashboard/UIDashboard.js function UIDashboard (line 72) | async function UIDashboard (options) { FILE: src/gui/src/UI/PuterDialog.js function PuterDialog (line 22) | async function PuterDialog (options) { FILE: src/gui/src/UI/Settings/UITabUsage.js function update_usage_details (line 88) | async function update_usage_details ($el_window) { FILE: src/gui/src/UI/Settings/UIWindowChangeEmail.js function UIWindowChangeEmail (line 27) | async function UIWindowChangeEmail (options) { FILE: src/gui/src/UI/Settings/UIWindowConfirmUserDeletion.js function UIWindowConfirmUserDeletion (line 23) | async function UIWindowConfirmUserDeletion (options) { FILE: src/gui/src/UI/Settings/UIWindowDisable2FA.js function UIWindowDisable2FA (line 26) | async function UIWindowDisable2FA (options) { FILE: src/gui/src/UI/Settings/UIWindowFinalizeUserDeletion.js function UIWindowFinalizeUserDeletion (line 23) | async function UIWindowFinalizeUserDeletion (options) { FILE: src/gui/src/UI/Settings/UIWindowSettings.js function UIWindowSettings (line 25) | async function UIWindowSettings (options) { FILE: src/gui/src/UI/UIAlert.js function UIAlert (line 22) | function UIAlert (options) { FILE: src/gui/src/UI/UIColorPickerWidget.js function UIColorPickerWidget (line 29) | function UIColorPickerWidget (container, options = {}) { function hslaToHex8 (line 170) | function hslaToHex8 (h, s, l, a) { function hex8ToHSLA (line 209) | function hex8ToHSLA (hex8) { FILE: src/gui/src/UI/UIComponentWindow.js function UIComponentWindow (line 33) | async function UIComponentWindow (options) { FILE: src/gui/src/UI/UIContextMenu.js function init (line 101) | function init (opts) { function UIContextMenu (line 442) | function UIContextMenu (options) { FILE: src/gui/src/UI/UIDesktop.js function UIDesktop (line 47) | async function UIDesktop (options) { FILE: src/gui/src/UI/UIElement.js method constructor (line 101) | constructor ({ method reinitialize (line 134) | reinitialize () { method open_as_window (line 140) | async open_as_window (options = {}) { FILE: src/gui/src/UI/UIItem.js constant AI_APP_NAME (line 35) | const AI_APP_NAME = 'ai'; function UIItem (line 110) | async function UIItem (options) { FILE: src/gui/src/UI/UINotification.js function UINotification (line 20) | function UINotification (options) { FILE: src/gui/src/UI/UIPopover.js function UIPopover (line 21) | function UIPopover (options) { FILE: src/gui/src/UI/UIPrompt.js function UIPrompt (line 22) | function UIPrompt (options) { FILE: src/gui/src/UI/UITaskbar.js function UITaskbar (line 25) | async function UITaskbar (options) { function getTooltipPosition (line 552) | function getTooltipPosition () { FILE: src/gui/src/UI/UITaskbarItem.js function UITaskbarItem (line 26) | function UITaskbarItem (options) { FILE: src/gui/src/UI/UIWindow.js constant SNAP_PLACEHOLDER_DELAY_MS (line 36) | const SNAP_PLACEHOLDER_DELAY_MS = 600; function UIWindow (line 38) | async function UIWindow (options) { function delete_window_element (line 2932) | function delete_window_element (el_window) { function saveSidebarOrder (line 4296) | async function saveSidebarOrder (order) { function getSnapDimensions (line 4365) | function getSnapDimensions () { FILE: src/gui/src/UI/UIWindow2FASetup.js method ['property.value'] (line 132) | async ['property.value'] (value, { component }) { method ['event.focus'] (line 144) | ['event.focus'] () { FILE: src/gui/src/UI/UIWindowAuthMe.js function UIWindowAuthMe (line 32) | async function UIWindowAuthMe (options = {}) { FILE: src/gui/src/UI/UIWindowChangePassword.js function UIWindowChangePassword (line 24) | async function UIWindowChangePassword (options) { FILE: src/gui/src/UI/UIWindowChangeUsername.js function UIWindowChangeUsername (line 24) | async function UIWindowChangeUsername (options) { FILE: src/gui/src/UI/UIWindowClaimReferral.js function UIWindowClaimReferral (line 23) | async function UIWindowClaimReferral (options) { FILE: src/gui/src/UI/UIWindowColorPicker.js function UIWindowColorPicker (line 23) | async function UIWindowColorPicker (options) { FILE: src/gui/src/UI/UIWindowCopyToken.js function UIWindowCopyToken (line 22) | function UIWindowCopyToken (options = {}) { FILE: src/gui/src/UI/UIWindowDesktopBGSettings.js function UIWindowDesktopBGSettings (line 22) | async function UIWindowDesktopBGSettings (options) { FILE: src/gui/src/UI/UIWindowEmailConfirmationRequired.js function UIWindowEmailConfirmationRequired (line 23) | function UIWindowEmailConfirmationRequired (options) { FILE: src/gui/src/UI/UIWindowFeedback.js function UIWindowQR (line 23) | async function UIWindowQR (options) { FILE: src/gui/src/UI/UIWindowFontPicker.js function UIWindowFontPicker (line 41) | async function UIWindowFontPicker (options) { FILE: src/gui/src/UI/UIWindowItemProperties.js function UIWindowItemProperties (line 23) | async function UIWindowItemProperties (item_name, item_path, item_uid, l... FILE: src/gui/src/UI/UIWindowLogin.js function UIWindowLogin (line 32) | async function UIWindowLogin (options) { FILE: src/gui/src/UI/UIWindowLoginInProgress.js function UIWindowLoginInProgress (line 22) | async function UIWindowLoginInProgress (options) { FILE: src/gui/src/UI/UIWindowManageSessions.js method appendTo (line 135) | appendTo (parent) { FILE: src/gui/src/UI/UIWindowMyWebsites.js function UIWindowMyWebsites (line 24) | async function UIWindowMyWebsites (options) { FILE: src/gui/src/UI/UIWindowNewPassword.js function UIWindowNewPassword (line 25) | async function UIWindowNewPassword (options) { FILE: src/gui/src/UI/UIWindowProgress.js function UIWindowProgress (line 33) | async function UIWindowProgress ({ FILE: src/gui/src/UI/UIWindowPublishWebsite.js function UIWindowPublishWebsite (line 23) | async function UIWindowPublishWebsite (target_dir_uid, target_dir_name, ... FILE: src/gui/src/UI/UIWindowPublishWorker.js function UIWindowPublishWorker (line 23) | async function UIWindowPublishWorker (target_dir_uid, target_dir_name, t... FILE: src/gui/src/UI/UIWindowQR.js function UIWindowQR (line 25) | async function UIWindowQR (options) { FILE: src/gui/src/UI/UIWindowRecoverPassword.js function UIWindowRecoverPassword (line 23) | function UIWindowRecoverPassword (options) { FILE: src/gui/src/UI/UIWindowRefer.js function UIWindowRefer (line 24) | async function UIWindowRefer (options) { FILE: src/gui/src/UI/UIWindowRequestPermission.js function UIWindowRequestPermission (line 22) | async function UIWindowRequestPermission (options) { function create_permission_window (line 43) | async function create_permission_window (options, permission_description... function create_window_content (line 87) | function create_window_content (requestingEntity, permission_description) { function setup_window_events (line 108) | async function setup_window_events (el_window, options, resolve) { function get_permission_description (line 152) | async function get_permission_description (permission) { function get_standard_folder_description (line 254) | async function get_standard_folder_description (resource_id, action) { function split_permission (line 290) | function split_permission (permission) { function unescape_permission_component (line 296) | function unescape_permission_component (component) { FILE: src/gui/src/UI/UIWindowSaveAccount.js function UIWindowSaveAccount (line 23) | async function UIWindowSaveAccount (options) { FILE: src/gui/src/UI/UIWindowSearch.js function UIWindowSearch (line 27) | async function UIWindowSearch (options) { FILE: src/gui/src/UI/UIWindowSessionList.js function UIWindowSessionList (line 24) | async function UIWindowSessionList (options) { FILE: src/gui/src/UI/UIWindowShare.js function UIWindowShare (line 21) | async function UIWindowShare (items, recipient) { FILE: src/gui/src/UI/UIWindowSignup.js function UIWindowSignup (line 25) | function UIWindowSignup (options) { FILE: src/gui/src/UI/UIWindowSystemInfo.js function getClientInfo (line 33) | async function getClientInfo () { function getServerInfo (line 129) | async function getServerInfo (options = {}) { function getServerInfoFormatted (line 139) | async function getServerInfoFormatted () { function renderSystemInfo (line 187) | function renderSystemInfo ( information ) { function UIWindowSystemInfo (line 201) | async function UIWindowSystemInfo (options) { FILE: src/gui/src/UI/UIWindowWelcome.js function UIWindowWelcome (line 22) | async function UIWindowWelcome (options) { FILE: src/gui/src/definitions.js class Service (line 23) | class Service extends concepts.Service { method construct (line 28) | construct (o) { method init (line 34) | init (...a) { method context (line 39) | get context () { constant PROCESS_INITIALIZING (line 44) | const PROCESS_INITIALIZING = { i18n_key: 'initializing' }; constant PROCESS_RUNNING (line 45) | const PROCESS_RUNNING = { i18n_key: 'running' }; constant PROCESS_IPC_PENDING (line 47) | const PROCESS_IPC_PENDING = { i18n_key: 'pending' }; constant PROCESS_IPC_NA (line 48) | const PROCESS_IPC_NA = { i18n_key: 'N/A' }; constant PROCESS_IPC_ATTACHED (line 49) | const PROCESS_IPC_ATTACHED = { i18n_key: 'attached' }; constant END_SOFT (line 53) | const END_SOFT = { i: 0, end: true, i18n_key: 'end_soft' }; constant END_HARD (line 54) | const END_HARD = { i: 1, end: true, i18n_key: 'end_hard' }; class Process (line 56) | class Process extends AdvancedBase { method constructor (line 61) | constructor ({ uuid, parent, name, meta }) { method _construct (line 80) | _construct () { method chstatus (line 83) | chstatus (status) { method is_init (line 87) | is_init () { method signal (line 90) | signal (sig) { method handle_connection (line 94) | handle_connection (other_process) { method type (line 98) | get type () { class InitProcess (line 107) | class InitProcess extends Process { method is_init (line 110) | is_init () { method _construct (line 114) | _construct () { method _signal (line 126) | _signal (sig) { class PortalProcess (line 140) | class PortalProcess extends Process { method _construct (line 141) | _construct () { method _signal (line 144) | _signal (sig) { method send (line 152) | send (channel, data, context) { method handle_connection (line 163) | async handle_connection (connection, args) { class PseudoProcess (line 195) | class PseudoProcess extends Process { method _construct (line 196) | _construct () { method _signal (line 199) | _signal (sig) { FILE: src/gui/src/extensions/groups-manager.js class UIGroupsManager (line 25) | class UIGroupsManager extends UIElement { method make (line 55) | async make ({ root }) { FILE: src/gui/src/globals.js method constructor (line 232) | constructor (name) { method start (line 237) | start () { method getDuration (line 241) | getDuration () { method end (line 245) | end () { FILE: src/gui/src/helpers.js function startHandler (line 341) | function startHandler (event) function stopHandler (line 392) | function stopHandler (event) function leaveHandler (line 420) | function leaveHandler (event) constant GET_APPS_TTL_MS (line 648) | const GET_APPS_TTL_MS = 30 * 1000; function downloadFile (line 1375) | function downloadFile (url, postData = {}) { function blobToUint8Array (line 2280) | async function blobToUint8Array (blob) { function readDirectoryRecursive (line 2454) | async function readDirectoryRecursive (path, baseDir = '') { function createTar (line 2692) | function createTar (files) { function parseTar (line 2835) | function parseTar (data) { FILE: src/gui/src/helpers/generate_file_context_menu.js constant AI_APP_NAME (line 32) | const AI_APP_NAME = 'ai'; function generateOpenWithItems (line 650) | async function generateOpenWithItems (el_item, fsentry, suggested_apps) { FILE: src/gui/src/helpers/truncate_filename.js constant DEFAULT_TRUNCATE_LENGTH (line 22) | const DEFAULT_TRUNCATE_LENGTH = 20; FILE: src/gui/src/i18n/i18n.js function ReplacePlaceholders (line 30) | function ReplacePlaceholders (str, arg_variables = {}) { FILE: src/gui/src/i18n/i18nChangeLanguage.js function changeLanguage (line 20) | function changeLanguage (lang) { FILE: src/gui/src/init_sync.js method is_subclass (line 87) | is_subclass (subclass, superclass) { FILE: src/gui/src/initgui.js function parseDashboardRoute (line 167) | function parseDashboardRoute () { function requestOpenerOrigin (line 1841) | function requestOpenerOrigin () { FILE: src/gui/src/keyboard.js function item (line 69) | function item (row, col, section) { function coord (line 77) | function coord (it) { function select (line 86) | function select (el) { function rows (line 107) | function rows (section) { function columns (line 113) | function columns (section, row) { function coords_local (line 123) | function coords_local (section, el) { function getActiveItem (line 298) | function getActiveItem () { function findNeighbor (line 312) | function findNeighbor (current, direction) { FILE: src/gui/src/lib/html-entities.js function t (line 1) | function t(r){var o=a[r];if(void 0!==o)return o.exports;var c=a[r]={expo... FILE: src/gui/src/lib/jquery-ui-1.13.2/external/jquery/jquery.js function DOMEval (line 104) | function DOMEval( code, node, doc ) { function toType (line 134) | function toType( obj ) { function isArrayLike (line 546) | function isArrayLike( obj ) { function nodeName (line 564) | function nodeName( elem, name ) { function fcssescape (line 610) | function fcssescape( ch, asCodePoint ) { function safeActiveElement (line 777) | function safeActiveElement() { function find (line 805) | function find( selector, context, results, seed ) { function createCache (line 948) | function createCache() { function markFunction (line 969) | function markFunction( fn ) { function assert (line 978) | function assert( fn ) { function createInputPseudo (line 1001) | function createInputPseudo( type ) { function createButtonPseudo (line 1011) | function createButtonPseudo( type ) { function createDisabledPseudo (line 1022) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1077) | function createPositionalPseudo( fn ) { function testContext (line 1100) | function testContext( context ) { function setDocument (line 1109) | function setDocument( node ) { function setFilters (line 2083) | function setFilters() {} function tokenize (line 2087) | function tokenize( selector, parseOnly ) { function toSelector (line 2159) | function toSelector( tokens ) { function addCombinator (line 2169) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2231) | function elementMatcher( matchers ) { function multipleContexts (line 2245) | function multipleContexts( selector, contexts, results ) { function condense (line 2254) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2275) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2374) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2442) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function compile (line 2568) | function compile( selector, match /* Internal Use Only */ ) { function select (line 2609) | function select( selector, context, results, seed ) { function winnow (line 2762) | function winnow( elements, qualifier, not ) { function sibling (line 3057) | function sibling( cur, dir ) { function createOptions (line 3150) | function createOptions( options ) { function Identity (line 3375) | function Identity( v ) { function Thrower (line 3378) | function Thrower( ex ) { function adoptValue (line 3382) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3475) | function resolve( depth, deferred, handler, special ) { function completed (line 3851) | function completed() { function fcamelCase (line 3946) | function fcamelCase( _all, letter ) { function camelCase (line 3953) | function camelCase( string ) { function Data (line 3970) | function Data() { function getData (line 4139) | function getData( data ) { function dataAttr (line 4164) | function dataAttr( elem, key, data ) { function adjustCSS (line 4476) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4544) | function getDefaultDisplay( elem ) { function showHide (line 4567) | function showHide( elements, show ) { function getAll (line 4699) | function getAll( context, tag ) { function setGlobalEval (line 4724) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4740) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4832) | function returnTrue() { function returnFalse (line 4836) | function returnFalse() { function on (line 4840) | function on( elem, types, selector, data, fn, one ) { function leverageNative (line 5328) | function leverageNative( el, type, isSetup ) { function focusMappedHandler (line 5541) | function focusMappedHandler( nativeEvent ) { function manipulationTarget (line 5793) | function manipulationTarget( elem, content ) { function disableScript (line 5804) | function disableScript( elem ) { function restoreScript (line 5808) | function restoreScript( elem ) { function cloneCopyEvent (line 5818) | function cloneCopyEvent( src, dest ) { function fixInput (line 5851) | function fixInput( src, dest ) { function domManip (line 5864) | function domManip( collection, args, callback, ignored ) { function remove (line 5962) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6280) | function computeStyleTests() { function roundPixelMeasures (line 6324) | function roundPixelMeasures( measure ) { function curCSS (line 6417) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6502) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6527) | function vendorPropName( name ) { function finalPropName (line 6542) | function finalPropName( name ) { function setPositiveNumber (line 6567) | function setPositiveNumber( _elem, value, subtract ) { function boxModelAdjustment (line 6579) | function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, ... function getWidthOrHeight (line 6650) | function getWidthOrHeight( elem, dimension, extra ) { function Tween (line 7035) | function Tween( elem, options, prop, end, easing ) { function schedule (line 7158) | function schedule() { function createFxNow (line 7171) | function createFxNow() { function genFx (line 7179) | function genFx( type, includeWidth ) { function createTween (line 7199) | function createTween( value, prop, animation ) { function defaultPrefilter (line 7213) | function defaultPrefilter( elem, props, opts ) { function propFilter (line 7385) | function propFilter( props, specialEasing ) { function Animation (line 7422) | function Animation( elem, properties, options ) { function stripAndCollapse (line 8136) | function stripAndCollapse( value ) { function getClass (line 8142) | function getClass( elem ) { function classesToArray (line 8146) | function classesToArray( value ) { function buildParams (line 8725) | function buildParams( prefix, obj, traditional, add ) { function addToPrefiltersOrTransports (line 8878) | function addToPrefiltersOrTransports( structure ) { function inspectPrefiltersOrTransports (line 8912) | function inspectPrefiltersOrTransports( structure, options, originalOpti... function ajaxExtend (line 8941) | function ajaxExtend( target, src ) { function ajaxHandleResponses (line 8961) | function ajaxHandleResponses( s, jqXHR, responses ) { function ajaxConvert (line 9019) | function ajaxConvert( s, response, jqXHR, isSuccess ) { function done (line 9535) | function done( status, nativeStatusText, responses, headers ) { FILE: src/gui/src/lib/jquery-ui-1.13.2/jquery-ui.js function _super (line 127) | function _super() { function _superApply (line 131) | function _superApply( args ) { function bindRemoveEvent (line 512) | function bindRemoveEvent() { function processClassString (line 533) | function processClassString( classes, checkOption ) { function handlerProxy (line 615) | function handlerProxy() { function handlerProxy (line 659) | function handlerProxy() { function getOffsets (line 797) | function getOffsets( offsets, width, height ) { function parseCss (line 804) | function parseCss( element, property ) { function isWindow (line 808) | function isWindow( obj ) { function getDimensions (line 812) | function getDimensions( elem ) { function getType (line 1506) | function getType( obj ) { function clamp (line 1516) | function clamp( value, prop, allowEmpty ) { function stringParse (line 1543) | function stringParse( string ) { function hue2rgb (line 1802) | function hue2rgb( p, q, h ) { function camelCase (line 2105) | function camelCase( string ) { function getElementStyles (line 2111) | function getElementStyles( elem ) { function styleDifference (line 2139) | function styleDifference( oldStyle, newStyle ) { function _normalizeArguments (line 2633) | function _normalizeArguments( effect, options, speed, callback ) { function standardAnimationOption (line 2685) | function standardAnimationOption( option ) { function run (line 2762) | function run( next ) { function parseClip (line 2912) | function parseClip( str, element ) { function childComplete (line 3291) | function childComplete() { function animComplete (line 3341) | function animComplete() { function visible (line 3992) | function visible( element ) { function datepicker_getZindex (line 7326) | function datepicker_getZindex( elem ) { function Datepicker (line 7356) | function Datepicker() { function datepicker_bindHover (line 9437) | function datepicker_bindHover( dpDiv ) { function datepicker_handleMouseover (line 9451) | function datepicker_handleMouseover() { function datepicker_extendRemove (line 9465) | function datepicker_extendRemove( target, props ) { function filteredUi (line 12736) | function filteredUi( ui ) { function filteredUi (line 12784) | function filteredUi( ui ) { function isOverAxis (line 13396) | function isOverAxis( x, reference, size ) { function addItems (line 16259) | function addItems() { function delayEvent (line 17017) | function delayEvent( type, instance, container ) { function spinnerModifier (line 17116) | function spinnerModifier( fn ) { function checkFocus (line 17251) | function checkFocus() { function constrain (line 17901) | function constrain() { function complete (line 18287) | function complete() { function show (line 18292) | function show() { function position (line 18840) | function position( event ) { FILE: src/gui/src/lib/mime.js function Mime (line 1) | function Mime() { FILE: src/gui/src/lib/path.js constant CHAR_UPPERCASE_A (line 26) | const constant CHAR_LOWERCASE_A (line 26) | const constant CHAR_UPPERCASE_Z (line 26) | const constant CHAR_LOWERCASE_Z (line 26) | const constant CHAR_DOT (line 26) | const constant CHAR_FORWARD_SLASH (line 26) | const constant CHAR_BACKWARD_SLASH (line 26) | const constant CHAR_COLON (line 26) | const constant CHAR_QUESTION_MARK (line 26) | const function isPathSeparator (line 37) | function isPathSeparator(code) { function isPosixPathSeparator (line 41) | function isPosixPathSeparator(code) { function normalizeString (line 46) | function normalizeString(path, allowAboveRoot, separator, isPathSeparato... method resolve (line 112) | resolve(...args) { method normalize (line 144) | normalize(path) { method isAbsolute (line 167) | isAbsolute(path) { method join (line 172) | join(...args) { method relative (line 190) | relative(from, to) { method toNamespacedPath (line 259) | toNamespacedPath(path) { method dirname (line 264) | dirname(path) { method basename (line 289) | basename(path, ext) { method extname (line 360) | extname(path) { method parse (line 413) | parse(path) { function _format (line 498) | function _format(sep, pathObject) { FILE: src/gui/src/lib/socket.io/socket.io.js function _typeof (line 12) | function _typeof(obj) { function _classCallCheck (line 21) | function _classCallCheck(instance, Constructor) { function _defineProperties (line 26) | function _defineProperties(target, props) { function _createClass (line 35) | function _createClass(Constructor, protoProps, staticProps) { function _extends (line 43) | function _extends() { function _inherits (line 57) | function _inherits(subClass, superClass) { function _getPrototypeOf (line 73) | function _getPrototypeOf(o) { function _setPrototypeOf (line 79) | function _setPrototypeOf(o, p) { function _isNativeReflectConstruct (line 86) | function _isNativeReflectConstruct() { function _construct (line 97) | function _construct(Parent, args, Class) { function _isNativeFunction (line 112) | function _isNativeFunction(fn) { function _wrapNativeSuper (line 115) | function _wrapNativeSuper(Class) { function _assertThisInitialized (line 141) | function _assertThisInitialized(self) { function _possibleConstructorReturn (line 147) | function _possibleConstructorReturn(self, call) { function _createSuper (line 155) | function _createSuper(Derived) { function _superPropBase (line 169) | function _superPropBase(object, property) { function _get (line 176) | function _get() { function _unsupportedIterableToArray (line 192) | function _unsupportedIterableToArray(o, minLen) { function _arrayLikeToArray (line 200) | function _arrayLikeToArray(arr, len) { function _createForOfIteratorHelper (line 205) | function _createForOfIteratorHelper(o, allowArrayLike) { function _toPrimitive (line 256) | function _toPrimitive(input, hint) { function _toPropertyKey (line 266) | function _toPropertyKey(arg) { function toArray (line 321) | function toArray(data) { function encodePacketToBinary (line 331) | function encodePacketToBinary(packet, callback) { function createPacketEncoderStream (line 469) | function createPacketEncoderStream() { function totalLength (line 501) | function totalLength(chunks) { function concatChunks (line 506) | function concatChunks(chunks, size) { function createPacketDecoderStream (line 524) | function createPacketDecoderStream(maxPayload, binaryType) { function Emitter (line 596) | function Emitter(obj) { function mixin (line 608) | function mixin(obj) { function on (line 641) | function on() { function pick (line 759) | function pick(obj) { function installTimerFunctions (line 773) | function installTimerFunctions(obj, opts) { function byteLength (line 785) | function byteLength(obj) { function utf8Length (line 792) | function utf8Length(str) { function encode$1 (line 819) | function encode$1(obj) { function decode (line 835) | function decode(qs) { function TransportError (line 848) | function TransportError(reason, description, context) { function Transport (line 868) | function Transport(opts) { function encode (line 1027) | function encode(num) { function yeast (line 1041) | function yeast() { function XHR (line 1062) | function XHR(opts) { function createCookieJar (line 1076) | function createCookieJar() {} function empty (line 1078) | function empty() {} function Polling (line 1094) | function Polling(opts) { function Request (line 1338) | function Request(uri, opts) { function unloadHandler (line 1500) | function unloadHandler() { function WS (line 1535) | function WS(opts) { function WT (line 1679) | function WT() { function parse (line 1793) | function parse(str) { function pathNames (line 1816) | function pathNames(obj, path) { function queryKey (line 1827) | function queryKey(uri, query) { function Socket (line 1846) | function Socket(uri) { function freezeTransport (line 2054) | function freezeTransport() { function onTransportClose (line 2070) | function onTransportClose() { function onclose (line 2074) | function onclose() { function onupgrade (line 2078) | function onupgrade(to) { function url (line 2437) | function url(uri) { function isBinary (line 2493) | function isBinary(obj) { function hasBinary (line 2496) | function hasBinary(obj, toJSON) { function deconstructPacket (line 2529) | function deconstructPacket(packet) { function _deconstructPacket (line 2540) | function _deconstructPacket(data, buffers) { function reconstructPacket (line 2574) | function reconstructPacket(packet, buffers) { function _reconstructPacket (line 2579) | function _reconstructPacket(data, buffers) { function Encoder (line 2632) | function Encoder(replacer) { function isObject (line 2702) | function isObject(value) { function Decoder (line 2718) | function Decoder(reviver) { function BinaryReconstructor (line 2883) | function BinaryReconstructor(packet) { method PacketType (line 2925) | get PacketType () { return PacketType; } function on (line 2930) | function on(obj, ev, fn) { function Socket (line 2980) | function Socket(io, nsp, opts) { function Backoff (line 3894) | function Backoff(opts) { function Manager (line 3953) | function Manager(uri, opts) { function lookup (line 4347) | function lookup(uri, opts) { FILE: src/gui/src/services/AntiCSRFService.js class AntiCSRFService (line 22) | class AntiCSRFService extends Service { method token (line 27) | async token () { FILE: src/gui/src/services/BroadcastService.js class BroadcastService (line 22) | class BroadcastService extends Service { method _init (line 26) | async _init () { method sendBroadcast (line 33) | sendBroadcast (name, data, { sendToNewAppInstances = false } = {}) { method sendSavedBroadcastsTo (line 48) | sendSavedBroadcastsTo (appInstanceID) { FILE: src/gui/src/services/DebugService.js class DebugService (line 22) | class DebugService extends Service { method _init (line 23) | async _init () { method logs (line 38) | logs (category) { FILE: src/gui/src/services/ExecService.js class ExecService (line 23) | class ExecService extends Service { method _construct (line 28) | _construct () { method register_param_provider (line 32) | register_param_provider (param_provider) { method _init (line 36) | async _init ({ services }) { method launchApp (line 51) | async launchApp ({ app_name, args, pseudonym, file_paths, items }, { i... method connectToInstance (line 234) | async connectToInstance ({ app_name, args }, { ipc_context, msg_id } =... FILE: src/gui/src/services/ExportRegistrantService.js class ExportRegistrantService (line 27) | class ExportRegistrantService extends Service { method _init (line 28) | _init () { FILE: src/gui/src/services/IPCService.js class InternalConnection (line 22) | class InternalConnection { method constructor (line 23) | constructor ({ source, target, uuid, reverse }, { services }) { method send (line 31) | send (data) { class IPCService (line 41) | class IPCService extends Service { method _init (line 46) | async _init () { method add_connection (line 50) | add_connection ({ source, target }) { method get_connection (line 68) | get_connection (uuid) { method register_ipc_handler (line 75) | register_ipc_handler (name, spec) { FILE: src/gui/src/services/LaunchOnInitService.js class LaunchOnInitService (line 23) | class LaunchOnInitService extends Service { method _construct (line 24) | _construct () { method _init (line 31) | async _init () { method run_ (line 42) | run_ (command) { FILE: src/gui/src/services/LocaleService.js class LocaleService (line 22) | class LocaleService extends Service { method format_duration (line 23) | format_duration (seconds) { FILE: src/gui/src/services/ProcessService.js constant NULL_UUID (line 22) | const NULL_UUID = '00000000-0000-0000-0000-000000000000'; class ProcessService (line 24) | class ProcessService extends Service { method _init (line 29) | async _init () { method ['__on_gui:ready'] (line 40) | ['__on_gui:ready'] () { method get_init (line 53) | get_init () { method get_by_uuid (line 57) | get_by_uuid (uuid) { method get_children_of (line 61) | get_children_of (uuid) { method select_by_name (line 69) | select_by_name (name) { method register (line 82) | register (process) { method register_ (line 87) | register_ (process) { method attach_to_parent_ (line 93) | attach_to_parent_ (process) { method unregister (line 99) | unregister (uuid) { FILE: src/gui/src/services/SettingsService.js class SettingsService (line 31) | class SettingsService extends Service { method _init (line 33) | async _init () { method get_tabs (line 46) | get_tabs () { method register_tab (line 49) | register_tab (tab) { FILE: src/gui/src/services/ThemeService.js constant PUTER_THEME_DATA_FILENAME (line 23) | const PUTER_THEME_DATA_FILENAME = '~/.__puter_gui.json'; constant SAVE_COOLDOWN_TIME (line 25) | const SAVE_COOLDOWN_TIME = 1000; class ThemeService (line 35) | class ThemeService extends Service { method _init (line 38) | async _init () { method reset (line 95) | reset () { method apply (line 101) | apply (values) { method get (line 110) | get (key) { method reload_ (line 114) | reload_ () { method save_ (line 143) | save_ () { method commit_save_ (line 151) | commit_save_ () { FILE: src/gui/src/util/Collector.js method get (line 21) | async get (route) { method post (line 25) | async post (route, body) { method constructor (line 33) | constructor ({ antiCSRF, origin, authToken }) { method to (line 40) | to (name) { method whats (line 44) | whats (key) { method get (line 48) | async get (route) { method post (line 51) | async post (route, body = {}, options = {}) { method discard (line 58) | discard (key) { method fetch (line 63) | async fetch (options) { FILE: src/gui/src/util/Component.js method on_self_registered (line 34) | static on_self_registered ({ is_owner, on_other_registered }) { method _set_dom_based_on_render_mode (line 49) | _set_dom_based_on_render_mode () { method constructor (line 57) | constructor (property_values) { method focus (line 112) | focus () { method get (line 127) | get (key) { method set (line 135) | set (key, value) { method connectedCallback (line 139) | connectedCallback () { method attach (line 146) | attach (destination) { method place (line 173) | place (slot_name, child_node) { method create_element_ (line 178) | create_element_ () { method get_api_ (line 195) | get_api_ () { FILE: src/gui/src/util/TeePromise.js method constructor (line 25) | constructor () { method status (line 32) | get status () { method status (line 35) | set status (status) { method resolve (line 41) | resolve (value) { method awaitDone (line 45) | awaitDone () { method then (line 48) | then (fn, rfn) { method reject (line 52) | reject (err) { method onComplete (line 60) | onComplete (fn) { FILE: src/gui/src/util/ValueHolder.js class ValueHolder (line 22) | class ValueHolder { method constructor (line 23) | constructor (initial_value) { method adapt (line 37) | static adapt (value) { method set (line 45) | set (value) { method get (line 49) | get () { method sub (line 53) | sub (listener) { method set_ (line 57) | set_ (value) { method get_ (line 67) | get_ () { method map (line 71) | map (fn) { FILE: src/gui/src/util/openid.js constant POPUP_FEATURES (line 30) | const POPUP_FEATURES = 'width=500,height=600'; FILE: src/gui/utils.js function build (line 53) | async function build (options) { function generateDevHtml (line 222) | function generateDevHtml (options) { FILE: src/puter-js/index.d.ts type Window (line 21) | interface Window { FILE: src/puter-js/src/index.js class SimpleLogger (line 26) | class SimpleLogger { method constructor (line 27) | constructor (fields = {}) { method on (line 32) | on (category) { method fields (line 36) | fields (extra = {}) { method info (line 40) | info (...args) { method warn (line 44) | warn (...args) { method error (line 48) | error (...args) { method debug (line 52) | debug (...args) { method _prefix (line 56) | _prefix () { class Lock (line 63) | class Lock { method constructor (line 64) | constructor () { method acquire (line 69) | async acquire () { method release (line 79) | release () { constant PROD_ORIGIN (line 91) | const PROD_ORIGIN = 'https://puter.com'; class Puter (line 96) | class Puter { method defaultAPIOrigin (line 106) | get defaultAPIOrigin () { method defaultAPIOrigin (line 109) | set defaultAPIOrigin (v) { method defaultGUIOrigin (line 113) | get defaultGUIOrigin () { method defaultGUIOrigin (line 116) | set defaultGUIOrigin (v) { method constructor (line 185) | constructor () { method request_rao_ (line 444) | async request_rao_ () { method registerModule (line 480) | registerModule (name, cls, parameters = {}) { method updateSubmodules (line 488) | updateSubmodules () { FILE: src/puter-js/src/lib/APICallLogger.js class APICallLogger (line 24) | class APICallLogger { method constructor (line 25) | constructor (config = {}) { method updateConfig (line 36) | updateConfig (newConfig) { method enable (line 43) | enable () { method disable (line 50) | disable () { method isEnabled (line 58) | isEnabled () { method logRequest (line 66) | logRequest (options = {}) { method getStats (line 101) | getStats () { FILE: src/puter-js/src/lib/EventListener.js class EventListener (line 1) | class EventListener { method constructor (line 8) | constructor (eventNames) { method emit (line 20) | emit (eventName, data) { method on (line 30) | on (eventName, callback) { method off (line 39) | off (eventName, callback) { FILE: src/puter-js/src/lib/RequestError.js class RequestError (line 1) | class RequestError extends Error { method constructor (line 2) | constructor (message) { FILE: src/puter-js/src/lib/path.js constant CHAR_UPPERCASE_A (line 26) | const constant CHAR_LOWERCASE_A (line 26) | const constant CHAR_UPPERCASE_Z (line 26) | const constant CHAR_LOWERCASE_Z (line 26) | const constant CHAR_DOT (line 26) | const constant CHAR_FORWARD_SLASH (line 26) | const constant CHAR_BACKWARD_SLASH (line 26) | const constant CHAR_COLON (line 26) | const constant CHAR_QUESTION_MARK (line 26) | const function isPathSeparator (line 37) | function isPathSeparator (code) { function isPosixPathSeparator (line 41) | function isPosixPathSeparator (code) { function normalizeString (line 46) | function normalizeString (path, allowAboveRoot, separator, isPathSeparat... method resolve (line 122) | resolve (...args) { method normalize (line 153) | normalize (path) { method isAbsolute (line 182) | isAbsolute (path) { method join (line 187) | join (...args) { method relative (line 213) | relative (from, to) { method toNamespacedPath (line 290) | toNamespacedPath (path) { method dirname (line 295) | dirname (path) { method basename (line 326) | basename (path, ext) { method extname (line 405) | extname (path) { method parse (line 462) | parse (path) { function _format (line 557) | function _format (sep, pathObject) { FILE: src/puter-js/src/lib/polyfills/fileReaderPoly.js function toBase64FromBuffer (line 1) | function toBase64FromBuffer(buffer) { class FileReaderPoly (line 8) | class FileReaderPoly { method constructor (line 9) | constructor() { method readAsDataURL (line 14) | readAsDataURL(blob) { FILE: src/puter-js/src/lib/polyfills/xhrshim.js function mergeUint8Arrays (line 20) | function mergeUint8Arrays (...arrays) { function parseBody (line 37) | async function parseBody (bytes) { method onreadystatechange (line 58) | onreadystatechange () { method readyState (line 62) | set readyState (value) { method readyState (line 69) | get readyState () { method constructor (line 73) | constructor () { method UNSENT (line 95) | static get UNSENT () { method OPENED (line 98) | static get OPENED () { method HEADERS_RECEIVED (line 101) | static get HEADERS_RECEIVED () { method LOADING (line 104) | static get LOADING () { method DONE (line 107) | static get DONE () { method addEventListener (line 111) | addEventListener () { method responseText (line 115) | get responseText () { method responseXML (line 121) | get responseXML () { method [sDispatch] (line 124) | [sDispatch] (evt) { method abort (line 133) | abort () { method open (line 138) | open (method, url) { method setRequestHeader (line 144) | setRequestHeader (header, value) { method overrideMimeType (line 152) | overrideMimeType (mimeType) { method getAllResponseHeaders (line 155) | getAllResponseHeaders () { method getResponseHeader (line 159) | getResponseHeader (headerName) { method send (line 163) | send (body = null) { FILE: src/puter-js/src/lib/socket.io/socket.io.js function _typeof (line 12) | function _typeof(obj) { function _classCallCheck (line 21) | function _classCallCheck(instance, Constructor) { function _defineProperties (line 26) | function _defineProperties(target, props) { function _createClass (line 35) | function _createClass(Constructor, protoProps, staticProps) { function _extends (line 43) | function _extends() { function _inherits (line 57) | function _inherits(subClass, superClass) { function _getPrototypeOf (line 73) | function _getPrototypeOf(o) { function _setPrototypeOf (line 79) | function _setPrototypeOf(o, p) { function _isNativeReflectConstruct (line 86) | function _isNativeReflectConstruct() { function _construct (line 97) | function _construct(Parent, args, Class) { function _isNativeFunction (line 112) | function _isNativeFunction(fn) { function _wrapNativeSuper (line 115) | function _wrapNativeSuper(Class) { function _assertThisInitialized (line 141) | function _assertThisInitialized(self) { function _possibleConstructorReturn (line 147) | function _possibleConstructorReturn(self, call) { function _createSuper (line 155) | function _createSuper(Derived) { function _superPropBase (line 169) | function _superPropBase(object, property) { function _get (line 176) | function _get() { function _unsupportedIterableToArray (line 192) | function _unsupportedIterableToArray(o, minLen) { function _arrayLikeToArray (line 200) | function _arrayLikeToArray(arr, len) { function _createForOfIteratorHelper (line 205) | function _createForOfIteratorHelper(o, allowArrayLike) { function _toPrimitive (line 256) | function _toPrimitive(input, hint) { function _toPropertyKey (line 266) | function _toPropertyKey(arg) { function toArray (line 321) | function toArray(data) { function encodePacketToBinary (line 331) | function encodePacketToBinary(packet, callback) { function createPacketEncoderStream (line 469) | function createPacketEncoderStream() { function totalLength (line 501) | function totalLength(chunks) { function concatChunks (line 506) | function concatChunks(chunks, size) { function createPacketDecoderStream (line 524) | function createPacketDecoderStream(maxPayload, binaryType) { function Emitter (line 596) | function Emitter(obj) { function mixin (line 608) | function mixin(obj) { function on (line 641) | function on() { function pick (line 759) | function pick(obj) { function installTimerFunctions (line 773) | function installTimerFunctions(obj, opts) { function byteLength (line 785) | function byteLength(obj) { function utf8Length (line 792) | function utf8Length(str) { function encode$1 (line 819) | function encode$1(obj) { function decode (line 835) | function decode(qs) { function TransportError (line 848) | function TransportError(reason, description, context) { function Transport (line 868) | function Transport(opts) { function encode (line 1027) | function encode(num) { function yeast (line 1041) | function yeast() { function XHR (line 1062) | function XHR(opts) { function createCookieJar (line 1076) | function createCookieJar() {} function empty (line 1078) | function empty() {} function Polling (line 1094) | function Polling(opts) { function Request (line 1338) | function Request(uri, opts) { function unloadHandler (line 1500) | function unloadHandler() { function WS (line 1535) | function WS(opts) { function WT (line 1679) | function WT() { function parse (line 1793) | function parse(str) { function pathNames (line 1816) | function pathNames(obj, path) { function queryKey (line 1827) | function queryKey(uri, query) { function Socket (line 1846) | function Socket(uri) { function freezeTransport (line 2054) | function freezeTransport() { function onTransportClose (line 2070) | function onTransportClose() { function onclose (line 2074) | function onclose() { function onupgrade (line 2078) | function onupgrade(to) { function url (line 2437) | function url(uri) { function isBinary (line 2493) | function isBinary(obj) { function hasBinary (line 2496) | function hasBinary(obj, toJSON) { function deconstructPacket (line 2529) | function deconstructPacket(packet) { function _deconstructPacket (line 2540) | function _deconstructPacket(data, buffers) { function reconstructPacket (line 2574) | function reconstructPacket(packet, buffers) { function _reconstructPacket (line 2579) | function _reconstructPacket(data, buffers) { function Encoder (line 2632) | function Encoder(replacer) { function isObject (line 2702) | function isObject(value) { function Decoder (line 2718) | function Decoder(reviver) { function BinaryReconstructor (line 2883) | function BinaryReconstructor(packet) { method PacketType (line 2925) | get PacketType () { return PacketType; } function on (line 2930) | function on(obj, ev, fn) { function Socket (line 2980) | function Socket(io, nsp, opts) { function Backoff (line 3894) | function Backoff(opts) { function Manager (line 3953) | function Manager(uri, opts) { function lookup (line 4347) | function lookup(uri, opts) { FILE: src/puter-js/src/lib/utils.js function parseResponse (line 19) | async function parseResponse (target) { function uuidv4 (line 65) | function uuidv4 () { function initXhr (line 92) | function initXhr (endpoint, APIOrigin, authToken, method = 'post', conte... function handle_resp (line 133) | async function handle_resp (success_cb, error_cb, resolve_func, reject_f... function handle_error (line 186) | function handle_error (error_cb, reject_func, error) { function setupXhrEventHandlers (line 196) | function setupXhrEventHandlers (xhr, success_cb, error_cb, resolve_func,... class Valid (line 233) | class Valid { method callback (line 234) | static callback (cb) { function make_driver_method (line 246) | function make_driver_method (arg_defs, driverInterface, driverName, driv... function driverCall (line 281) | async function driverCall (options, driverInterface, driverName, driverM... function driverCall_ (line 301) | async function driverCall_ ( function blob_to_url (line 599) | async function blob_to_url (blob) { function blobToDataUri (line 608) | function blobToDataUri (blob) { function arrayBufferToDataUri (line 621) | function arrayBufferToDataUri (arrayBuffer) { FILE: src/puter-js/src/lib/xdrpc.js class CallbackManager (line 14) | class CallbackManager { method constructor (line 17) | constructor () { method register_callback (line 21) | register_callback (callback) { method attach_to_source (line 27) | attach_to_source (source) { class Dehydrator (line 47) | class Dehydrator { method constructor (line 48) | constructor ({ callbackManager }) { method dehydrate (line 51) | dehydrate (value) { method dehydrate_value_ (line 54) | dehydrate_value_ (value) { class Hydrator (line 77) | class Hydrator { method constructor (line 78) | constructor ({ target }) { method hydrate (line 81) | hydrate (value) { method hydrate_value_ (line 84) | hydrate_value_ (value) { FILE: src/puter-js/src/modules/AI.js constant TOGETHER_VIDEO_MODEL_PREFIXES (line 14) | const TOGETHER_VIDEO_MODEL_PREFIXES = [ class AI (line 24) | class AI { method constructor (line 33) | constructor (puter) { method setAuthToken (line 47) | setAuthToken (authToken) { method setAPIOrigin (line 58) | setAPIOrigin (APIOrigin) { method listModels (line 67) | async listModels (provider) { method listModelProviders (line 106) | async listModelProviders () { FILE: src/puter-js/src/modules/Apps.js class Apps (line 3) | class Apps { method constructor (line 12) | constructor (puter) { method #addUserIterationToApp (line 19) | #addUserIterationToApp (app) { method #addUserIterationToApps (line 43) | #addUserIterationToApps (apps) { method setAuthToken (line 57) | setAuthToken (authToken) { method setAPIOrigin (line 68) | setAPIOrigin (APIOrigin) { FILE: src/puter-js/src/modules/Auth.js class Auth (line 3) | class Auth { method constructor (line 16) | constructor (puter) { method setAuthToken (line 30) | setAuthToken (authToken) { method setAPIOrigin (line 41) | setAPIOrigin (APIOrigin) { method messageHandler (line 73) | function messageHandler (e) { method whoami (line 148) | async whoami () { method getMonthlyUsage (line 195) | async getMonthlyUsage () { method getDetailedAppUsage (line 233) | async getDetailedAppUsage (appId) { method getGlobalUsage (line 275) | async getGlobalUsage () { FILE: src/puter-js/src/modules/Debug.js class Debug (line 1) | class Debug { method constructor (line 2) | constructor (puter, parameters) { method _init (line 9) | _init () { FILE: src/puter-js/src/modules/Drivers.js class FetchDriverCallBackend (line 1) | class FetchDriverCallBackend { method constructor (line 2) | constructor ({ getAPIOrigin, getAuthToken }) { method call (line 34) | async call ({ driver, method_name, parameters }) { class Driver (line 105) | class Driver { method constructor (line 106) | constructor ({ method call (line 117) | async call (method_name, parameters) { class Drivers (line 126) | class Drivers { method constructor (line 135) | constructor (puter) { method _init (line 146) | _init ({ puter }) { method setAuthToken (line 157) | setAuthToken (authToken) { method setAPIOrigin (line 168) | setAPIOrigin (APIOrigin) { method list (line 172) | async list () { method get (line 211) | async get (iface_name, service_name) { method call (line 232) | async call (...a) { FILE: src/puter-js/src/modules/EmailConfirmationDialog.js class EmailConfirmationDialog (line 1) | class EmailConfirmationDialog extends (globalThis.HTMLElement || Object) { method constructor (line 2) | constructor (message) { method connectedCallback (line 145) | connectedCallback () { method open (line 169) | open () { method close (line 173) | close () { function showEmailConfirmationDialog (line 191) | function showEmailConfirmationDialog (message) { FILE: src/puter-js/src/modules/FSItem.js class FSItem (line 3) | class FSItem { method constructor (line 4) | constructor (options) { FILE: src/puter-js/src/modules/FileSystem/Batch.js method constructor (line 2) | constructor () { method move (line 7) | move (source, destination, new_name) { method rm (line 18) | rm (...a) { method delete (line 22) | delete (...paths) { method send (line 31) | async send () { FILE: src/puter-js/src/modules/FileSystem/index.js constant LAST_VALID_TS (line 8) | const LAST_VALID_TS = 'last_valid_ts'; class PuterJSFileSystemModule (line 30) | class PuterJSFileSystemModule { method constructor (line 62) | constructor (puter) { method initializeSocket (line 92) | initializeSocket () { method shouldUseSocketAutoUnref (line 111) | shouldUseSocketAutoUnref () { method bindSocketEvents (line 128) | bindSocketEvents () { method setAuthToken (line 223) | setAuthToken (authToken) { method setAPIOrigin (line 244) | setAPIOrigin (APIOrigin) { method invalidateCache (line 256) | invalidateCache () { method getCacheTimestamp (line 269) | async getCacheTimestamp () { method checkCacheAndPurge (line 294) | async checkCacheAndPurge () { method startCacheUpdateTimer (line 319) | startCacheUpdateTimer () { method stopCacheUpdateTimer (line 339) | stopCacheUpdateTimer () { FILE: src/puter-js/src/modules/FileSystem/operations/readdir.js constant DEDUPLICATION_WINDOW_MS (line 10) | const DEDUPLICATION_WINDOW_MS = 2000; FILE: src/puter-js/src/modules/FileSystem/operations/stat.js constant DEDUPLICATION_WINDOW_MS (line 10) | const DEDUPLICATION_WINDOW_MS = 2000; FILE: src/puter-js/src/modules/FileSystem/operations/upload.js constant MAX_THUMBNAIL_BYTES (line 5) | const MAX_THUMBNAIL_BYTES = 2 * 1024 * 1024; constant DEFAULT_THUMBNAIL_DIMENSION (line 6) | const DEFAULT_THUMBNAIL_DIMENSION = 128; constant MIN_THUMBNAIL_DIMENSION (line 7) | const MIN_THUMBNAIL_DIMENSION = 32; FILE: src/puter-js/src/modules/Hosting.js class Hosting (line 4) | class Hosting { method constructor (line 13) | constructor (puter) { method setAuthToken (line 27) | setAuthToken (authToken) { method setAPIOrigin (line 38) | setAPIOrigin (APIOrigin) { FILE: src/puter-js/src/modules/KV.js class KV (line 29) | class KV { method constructor (line 41) | constructor (puter) { method setAuthToken (line 92) | setAuthToken (authToken) { method setAPIOrigin (line 103) | setAPIOrigin (APIOrigin) { method get (line 147) | async get (...args) { function normalizeListPattern (line 400) | function normalizeListPattern (pattern) { FILE: src/puter-js/src/modules/OS.js class OS (line 3) | class OS { method constructor (line 12) | constructor (puter) { method setAuthToken (line 26) | setAuthToken (authToken) { method setAPIOrigin (line 37) | setAPIOrigin (APIOrigin) { FILE: src/puter-js/src/modules/Peer.js class PuterPeerServerConnectionEvent (line 1) | class PuterPeerServerConnectionEvent extends Event { method constructor (line 4) | constructor (connection, user) { class PuterPeerConnectionMessageEvent (line 11) | class PuterPeerConnectionMessageEvent extends Event { method constructor (line 13) | constructor (message) { class PuterPeerConnectionOpenEvent (line 19) | class PuterPeerConnectionOpenEvent extends Event { method constructor (line 20) | constructor () { class PuterPeerConnectionCloseEvent (line 25) | class PuterPeerConnectionCloseEvent extends Event { method constructor (line 27) | constructor (reason = undefined) { class PuterPeerConnectionErrorEvent (line 33) | class PuterPeerConnectionErrorEvent extends Event { method constructor (line 35) | constructor (error) { class PuterPeerServer (line 41) | class PuterPeerServer extends EventTarget { method constructor (line 50) | constructor (peerConfig) { method start (line 56) | async start () { method #message (line 105) | async #message (data) { method close (line 171) | close () { class PuterPeerConnection (line 180) | class PuterPeerConnection extends EventTarget { method constructor (line 188) | constructor (peerConfig) { method #closews (line 215) | #closews () { method connect (line 223) | async connect (invitecode) { method #doclose (line 293) | #doclose (reason, error) { method close (line 309) | close (reason) { method createOffer (line 313) | async createOffer () { method createAnswer (line 319) | async createAnswer () { method setRemoteDescription (line 325) | async setRemoteDescription (description) { method addIceCandidate (line 329) | async addIceCandidate (candidate) { method send (line 333) | send ( message ) { class Peer (line 342) | class Peer { method constructor (line 357) | constructor (puter) { method setAuthToken (line 371) | setAuthToken (authToken) { method setAPIOrigin (line 382) | setAPIOrigin (APIOrigin) { method ensureTurnRelays (line 386) | async ensureTurnRelays () { method #loadMetadata (line 410) | async #loadMetadata () { method #authenticateForPeerAction (line 420) | async #authenticateForPeerAction (action) { method #resolvePeerConfig (line 429) | async #resolvePeerConfig (options) { method serve (line 450) | async serve (options) { method connect (line 458) | async connect (invitecode, options) { FILE: src/puter-js/src/modules/Perms.js class Perms (line 1) | class Perms { method constructor (line 2) | constructor (puter) { method setAuthToken (line 7) | setAuthToken (authToken) { method setAPIOrigin (line 10) | setAPIOrigin (APIOrigin) { method req_ (line 13) | async req_ (route, body) { method grantUser (line 37) | async grantUser (target_username, permission) { method grantGroup (line 43) | async grantGroup (group_uid, permission) { method grantApp (line 49) | async grantApp (app_uid, permission) { method grantAppAnyUser (line 55) | async grantAppAnyUser (app_uid, permission) { method grantOrigin (line 61) | async grantOrigin (origin, permission) { method revokeUser (line 68) | async revokeUser (target_username, permission) { method revokeGroup (line 74) | async revokeGroup (group_uid, permission) { method revokeApp (line 80) | async revokeApp (app_uid, permission) { method revokeAppAnyUser (line 86) | async revokeAppAnyUser (app_uid, permission) { method revokeOrigin (line 92) | async revokeOrigin (origin, permission) { method createGroup (line 99) | async createGroup (metadata = {}, extra = {}) { method addUsersToGroup (line 104) | async addUsersToGroup (uid, usernames) { method removeUsersFromGroup (line 110) | async removeUsersFromGroup (uid, usernames) { method listGroups (line 116) | async listGroups () { method requestPermission (line 123) | requestPermission (...a) { method request (line 133) | async request (permission) { method requestEmail (line 151) | async requestEmail () { method requestReadDesktop (line 172) | async requestReadDesktop () { method requestWriteDesktop (line 184) | async requestWriteDesktop () { method requestReadDocuments (line 196) | async requestReadDocuments () { method requestWriteDocuments (line 208) | async requestWriteDocuments () { method requestReadPictures (line 220) | async requestReadPictures () { method requestWritePictures (line 232) | async requestWritePictures () { method requestReadVideos (line 244) | async requestReadVideos () { method requestWriteVideos (line 256) | async requestWriteVideos () { method requestReadApps (line 268) | async requestReadApps () { method requestManageApps (line 284) | async requestManageApps () { method requestReadSubdomains (line 300) | async requestReadSubdomains () { method requestManageSubdomains (line 316) | async requestManageSubdomains () { method requestReadAppRootDir (line 333) | async requestReadAppRootDir (app_uid) { method requestWriteAppRootDir (line 346) | async requestWriteAppRootDir (app_uid) { method #requestAppRootDir (line 350) | async #requestAppRootDir (access, app_uid) { method requestFolder_ (line 401) | async requestFolder_ (folderName, accessLevel) { FILE: src/puter-js/src/modules/PuterDialog.js class PuterDialog (line 1) | class PuterDialog extends (globalThis.HTMLElement || Object) { // It wil... method constructor (line 16) | constructor (resolve, reject) { method connectedCallback (line 442) | connectedCallback () { method open (line 465) | open () { method close (line 483) | close () { FILE: src/puter-js/src/modules/UI.js constant FILE_SAVE_CANCELLED (line 15) | const FILE_SAVE_CANCELLED = Symbol('FILE_SAVE_CANCELLED'); constant FILE_OPEN_CANCELLED (line 16) | const FILE_OPEN_CANCELLED = Symbol('FILE_OPEN_CANCELLED'); class AppConnection (line 23) | class AppConnection extends EventListener { method from (line 34) | static from (values, puter, { messageTarget, appInstanceID }) { method constructor (line 49) | constructor (puter, { target, usesSDK, messageTarget, appInstanceID }) { method usesSDK (line 102) | get usesSDK () { method postMessage (line 107) | postMessage (message) { method close (line 131) | close () { class UI (line 145) | class UI extends EventListener { method #postMessageWithCallback (line 186) | #postMessageWithCallback (name, resolve, args = {}) { method #postMessageAsync (line 201) | #postMessageAsync (name, args = {}) { method #postMessageWithObject (line 207) | #postMessageWithObject (name, value) { method #ipc_stub (line 219) | async #ipc_stub ({ method constructor (line 246) | constructor (puter, { appInstanceID, parentInstanceID }) { method onWindowClose (line 609) | onWindowClose (callback) { method onItemsOpened (line 613) | onItemsOpened (callback) { method wasLaunchedWithItems (line 651) | wasLaunchedWithItems () { method onLaunchedWithItems (line 658) | onLaunchedWithItems (callback) { method requestEmailConfirmation (line 692) | requestEmailConfirmation () { method alert (line 698) | alert (message, buttons, options, callback) { method openDevPaymentsAccount (line 704) | openDevPaymentsAccount () { method instancesOpen (line 710) | instancesOpen (callback) { method socialShare (line 716) | socialShare (url, message, options, callback) { method prompt (line 722) | prompt (message, placeholder, options, callback) { method notify (line 728) | notify (options) { method showDirectoryPicker (line 738) | showDirectoryPicker (options, callback) { method showOpenFilePicker (line 770) | showOpenFilePicker (options, callback) { method showFontPicker (line 813) | showFontPicker (options) { method showColorPicker (line 819) | showColorPicker (options) { method requestUpgrade (line 825) | requestUpgrade () { method showSaveFilePicker (line 831) | showSaveFilePicker (content, suggestedName, type) { method setWindowTitle (line 907) | setWindowTitle (title, window_id, callback) { method setWindowWidth (line 920) | setWindowWidth (width, window_id, callback) { method setWindowHeight (line 933) | setWindowHeight (height, window_id, callback) { method setWindowSize (line 946) | setWindowSize (width, height, window_id, callback) { method setWindowPosition (line 959) | setWindowPosition (x, y, window_id, callback) { method setWindowY (line 972) | setWindowY (y, window_id, callback) { method setWindowX (line 985) | setWindowX (x, window_id, callback) { method showWindow (line 998) | showWindow () { method hideWindow (line 1002) | hideWindow () { method toggleWindow (line 1006) | toggleWindow () { method setMenubar (line 1010) | setMenubar (spec) { method requestPermission (line 1014) | async requestPermission (options) { method disableMenuItem (line 1024) | disableMenuItem (item_id) { method enableMenuItem (line 1028) | enableMenuItem (item_id) { method setMenuItemIcon (line 1032) | setMenuItemIcon (item_id, icon) { method setMenuItemIconActive (line 1036) | setMenuItemIconActive (item_id, icon) { method setMenuItemChecked (line 1040) | setMenuItemChecked (item_id, checked) { method contextMenu (line 1044) | contextMenu (spec) { method authenticateWithPuter (line 1148) | authenticateWithPuter () { method parentApp (line 1255) | parentApp () { method createWindow (line 1259) | createWindow (options, callback) { method menubar (line 1268) | menubar () { method on (line 1495) | on (eventName, callback) { method showSpinner (line 1506) | showSpinner (html) { method hideSpinner (line 1591) | hideSpinner () { method #removeSpinner (line 1618) | #removeSpinner () { method isWorkingActive (line 1629) | isWorkingActive () { method getLanguage (line 1642) | getLanguage () { FILE: src/puter-js/src/modules/UsageLimitDialog.js class UsageLimitDialog (line 1) | class UsageLimitDialog extends (globalThis.HTMLElement || Object) { method constructor (line 2) | constructor (message) { method connectedCallback (line 145) | connectedCallback () { method open (line 169) | open () { method close (line 173) | close () { function showUsageLimitDialog (line 190) | function showUsageLimitDialog (message) { FILE: src/puter-js/src/modules/Util.js class Util (line 7) | class Util { method constructor (line 8) | constructor () { class UtilRPC (line 17) | class UtilRPC { method constructor (line 18) | constructor () { method getDehydrator (line 23) | getDehydrator () { method getHydrator (line 27) | getHydrator ({ target }) { method registerCallback (line 31) | registerCallback (resolve) { method send (line 35) | send (target, id, ...args) { FILE: src/puter-js/src/modules/Workers.js class WorkersHandler (line 4) | class WorkersHandler { method constructor (line 6) | constructor (authToken) { method create (line 10) | async create (workerName, filePath, appName) { method exec (line 59) | async exec (...args) { method list (line 77) | async list () { method get (line 90) | async get (workerName) { method delete (line 105) | async delete (workerName) { method getLoggingHandle (line 137) | async getLoggingHandle (workerName) { FILE: src/puter-js/src/modules/networking/PSocket.js class PSocket (line 12) | class PSocket extends EventListener { method constructor (line 15) | constructor (host, port) { method addListener (line 67) | addListener (...args) { method write (line 70) | write (data, callback) { method close (line 84) | close () { FILE: src/puter-js/src/modules/networking/PTLS.js class PTLSSocket (line 9) | class PTLSSocket extends PSocket { method constructor (line 10) | constructor (...args) { method on (line 92) | on (event, callback) { method write (line 99) | write (data, callback) { FILE: src/puter-js/src/modules/networking/PWispHandler.js class PWispHandler (line 3) | class PWispHandler { method constructor (line 9) | constructor (wispURL, puterAuth) { method _continue (line 51) | _continue (streamID) { method register (line 57) | register (host, port, callbacks) { method write (line 70) | write (streamID, data) { method close (line 84) | close (streamID) { FILE: src/puter-js/src/modules/networking/parsers.js constant CONNECT (line 4) | const CONNECT = 0x01; constant DATA (line 5) | const DATA = 0x02; constant CONTINUE (line 6) | const CONTINUE = 0x03; constant CLOSE (line 7) | const CLOSE = 0x04; constant INFO (line 8) | const INFO = 0x05; constant TCP (line 11) | const TCP = 0x01; constant UDP (line 12) | const UDP = 0x02; function parseIncomingPacket (line 40) | function parseIncomingPacket (data) { function createWispPacket (line 87) | function createWispPacket (instructions) { FILE: src/puter-js/src/modules/networking/requests.js function mergeUint8Arrays (line 2) | function mergeUint8Arrays (...arrays) { function parseHTTPHead (line 14) | function parseHTTPHead (head) { function pFetch (line 35) | function pFetch (...args) { FILE: src/puter-js/test/ai.test.js constant TEST_MODELS (line 5) | const TEST_MODELS = [ FILE: src/puter-js/types/modules/ai.d.ts type AIMessageContent (line 1) | type AIMessageContent = string | { image_url?: { url: string } } | Recor... type ChatMessage (line 3) | interface ChatMessage { type ToolCall (line 9) | interface ToolCall { type ChatOptions (line 14) | interface ChatOptions { type StreamingChatOptions (line 28) | interface StreamingChatOptions extends ChatOptions { type ChatResponse (line 32) | interface ChatResponse { type ChatResponseChunk (line 37) | interface ChatResponseChunk { type Img2TxtOptions (line 42) | interface Img2TxtOptions { type Txt2ImgOptions (line 55) | interface Txt2ImgOptions { type Txt2VidOptions (line 82) | interface Txt2VidOptions { type Txt2SpeechOptions (line 109) | interface Txt2SpeechOptions { type Speech2TxtResult (line 124) | interface Speech2TxtResult { type BaseSpeech2TxtOptions (line 130) | interface BaseSpeech2TxtOptions { type TextFormatSpeech2TxtOptions (line 148) | interface TextFormatSpeech2TxtOptions extends BaseSpeech2TxtOptions { type Speech2TxtOptions (line 152) | interface Speech2TxtOptions extends BaseSpeech2TxtOptions { type Speech2SpeechOptions (line 156) | interface Speech2SpeechOptions { class AI (line 172) | class AI { FILE: src/puter-js/types/modules/apps.d.ts type App (line 3) | interface App { type CreateAppResult (line 19) | interface CreateAppResult { type AppListOptions (line 32) | interface AppListOptions { type CreateAppOptions (line 37) | interface CreateAppOptions { type UpdateAppAttributes (line 50) | interface UpdateAppAttributes { type CheckAppNameResult (line 62) | interface CheckAppNameResult { class Apps (line 67) | class Apps { FILE: src/puter-js/types/modules/auth.d.ts type User (line 3) | interface User { type AllowanceInfo (line 20) | interface AllowanceInfo { type AppUsage (line 25) | interface AppUsage { type APIUsage (line 30) | interface APIUsage { type MonthlyUsage (line 36) | interface MonthlyUsage { type DetailedAppUsage (line 42) | interface DetailedAppUsage { type SignInResult (line 47) | interface SignInResult { class Auth (line 56) | class Auth { FILE: src/puter-js/types/modules/debug.d.ts class Debug (line 1) | class Debug { FILE: src/puter-js/types/modules/drivers.d.ts type DriverDescriptor (line 1) | interface DriverDescriptor { class Driver (line 6) | class Driver { class Drivers (line 11) | class Drivers { FILE: src/puter-js/types/modules/filesystem.d.ts type SpaceInfo (line 4) | interface SpaceInfo { type CopyOptions (line 9) | interface CopyOptions extends RequestCallbacks { type MoveOptions (line 21) | interface MoveOptions extends RequestCallbacks { type MkdirOptions (line 32) | interface MkdirOptions extends RequestCallbacks { type DeleteOptions (line 42) | interface DeleteOptions extends RequestCallbacks { type ReadOptions (line 48) | interface ReadOptions extends RequestCallbacks { type ReaddirOptions (line 54) | interface ReaddirOptions extends RequestCallbacks { type RenameOptions (line 62) | interface RenameOptions extends RequestCallbacks { type StatOptions (line 70) | interface StatOptions extends RequestCallbacks { type UploadOptions (line 80) | interface UploadOptions extends RequestCallbacks { type WriteOptions (line 97) | interface WriteOptions extends RequestCallbacks { type SignResult (line 108) | interface SignResult> { type UploadItems (line 113) | type UploadItems = DataTransferItemList | DataTransferItem | FileList | ... class FS (line 115) | class FS { FILE: src/puter-js/types/modules/fs-item.d.ts type FileSignatureInfo (line 3) | interface FileSignatureInfo { type InternalFSProperties (line 17) | interface InternalFSProperties { class FSItem (line 23) | class FSItem { FILE: src/puter-js/types/modules/hosting.d.ts type Subdomain (line 3) | interface Subdomain { class Hosting (line 9) | class Hosting { FILE: src/puter-js/types/modules/kv.d.ts type KVValue (line 2) | type KVValue = string | number | boolean | object | unknown; type KVScalar (line 3) | type KVScalar = KVValue | KVValue[]; type KVPair (line 5) | interface KVPair { type KVIncrementPath (line 10) | interface KVIncrementPath { type KVUpdatePath (line 14) | interface KVUpdatePath { type KVAddPath (line 18) | interface KVAddPath { type KVListOptions (line 22) | interface KVListOptions { type KVListPaginationOptions (line 29) | type KVListPaginationOptions = type KVListPage (line 33) | interface KVListPage { class KV (line 38) | class KV { FILE: src/puter-js/types/modules/networking.d.ts type SocketEvent (line 1) | type SocketEvent = class PSocket (line 11) | class PSocket { class PTLSSocket (line 22) | class PTLSSocket extends PSocket { type Networking (line 26) | interface Networking { FILE: src/puter-js/types/modules/os.d.ts class OS (line 4) | class OS { FILE: src/puter-js/types/modules/peer.d.ts type PuterPeerOptions (line 1) | interface PuterPeerOptions { type PuterPeerUser (line 5) | interface PuterPeerUser extends Record {} type PuterPeerMessage (line 7) | type PuterPeerMessage = string | Blob | ArrayBuffer | ArrayBufferView; type PuterPeerDescription (line 8) | type PuterPeerDescription = RTCSessionDescription | RTCSessionDescriptio... type PuterPeerIceCandidate (line 9) | type PuterPeerIceCandidate = RTCIceCandidate | RTCIceCandidateInit; class PuterPeerServerConnectionEvent (line 11) | class PuterPeerServerConnectionEvent extends Event { class PuterPeerConnectionMessageEvent (line 16) | class PuterPeerConnectionMessageEvent extends Event { class PuterPeerConnectionOpenEvent (line 20) | class PuterPeerConnectionOpenEvent extends Event {} class PuterPeerConnectionCloseEvent (line 22) | class PuterPeerConnectionCloseEvent extends Event { class PuterPeerConnectionErrorEvent (line 26) | class PuterPeerConnectionErrorEvent extends Event { type PuterPeerServerEventMap (line 30) | interface PuterPeerServerEventMap { type PuterPeerConnectionEventMap (line 34) | interface PuterPeerConnectionEventMap { class PuterPeerServer (line 41) | class PuterPeerServer extends EventTarget { class PuterPeerConnection (line 61) | class PuterPeerConnection extends EventTarget { class Peer (line 88) | class Peer { FILE: src/puter-js/types/modules/perms.d.ts class Perms (line 1) | class Perms { FILE: src/puter-js/types/modules/ui.d.ts type AlertButton (line 3) | interface AlertButton { type ContextMenuItem (line 9) | interface ContextMenuItem { type ContextMenuOptions (line 18) | interface ContextMenuOptions { type WindowOptions (line 22) | interface WindowOptions { type LaunchAppOptions (line 36) | interface LaunchAppOptions { type ThemeData (line 46) | interface ThemeData { type MenubarOptions (line 56) | interface MenubarOptions { type MenuItem (line 60) | interface MenuItem { type FilePickerOptions (line 68) | interface FilePickerOptions { type DirectoryPickerOptions (line 73) | interface DirectoryPickerOptions { type NotificationOptions (line 77) | interface NotificationOptions { type AppConnectionCloseEvent (line 87) | interface AppConnectionCloseEvent { type LaunchAppResult (line 92) | interface LaunchAppResult { type CancelAwarePromise (line 108) | type CancelAwarePromise = Promise & { undefinedOnCancel?: Promise<... class AppConnection (line 110) | class AppConnection { class UI (line 123) | class UI { FILE: src/puter-js/types/modules/util.d.ts class UtilRPC (line 1) | class UtilRPC { class Util (line 9) | class Util { FILE: src/puter-js/types/modules/workers.d.ts type WorkerInfo (line 1) | interface WorkerInfo { type WorkerDeployment (line 9) | interface WorkerDeployment { class WorkersHandler (line 15) | class WorkersHandler { FILE: src/puter-js/types/puter.d.ts type PuterArgs (line 19) | interface PuterArgs { type PuterUser (line 23) | interface PuterUser extends Record { class Puter (line 27) | class Puter { FILE: src/puter-js/types/shared.d.ts type PuterEnvironment (line 1) | type PuterEnvironment = 'app' | 'gui' | 'web' | 'web-worker' | 'service-... type RequestCallbacks (line 3) | interface RequestCallbacks { type APILoggingConfig (line 8) | interface APILoggingConfig { type APICallLogger (line 13) | interface APICallLogger { type PaginationOptions (line 20) | interface PaginationOptions { type PaginatedResult (line 25) | interface PaginatedResult { type ToolSchema (line 31) | interface ToolSchema { FILE: src/puter-wisp/devlog/unit_test_usefulness/a.js class ATStream (line 38) | class ATStream { method constructor (line 39) | constructor ({ delegate, acc, transform, observe }) { method next_value_ (line 50) | async next_value_ () { method acc (line 60) | async acc ({ value }) { method next_ (line 63) | async next_ () { method next (line 85) | async next () { method enqueue_ (line 92) | async enqueue_ (v) { method [Symbol.asyncIterator] (line 47) | [Symbol.asyncIterator] () { method [Symbol.asyncIterator] (line 113) | [Symbol.asyncIterator] () { method next (line 116) | async next () { method acc (line 140) | async acc ({ value, carry }) { method getAttributes (line 187) | getAttributes ({ payload }) { method getAttributes (line 200) | getAttributes ({ payload }) { class WispPacket (line 210) | class WispPacket { method constructor (line 213) | constructor ({ data, direction, extra }) { method type (line 226) | get type () { method attributes (line 230) | get attributes () { method toVirtioFrame (line 239) | toVirtioFrame () { method describe (line 245) | describe () { method log (line 251) | log () { method reflect (line 263) | reflect () { method transform (line 287) | transform ({ value }) { method observe (line 293) | observe ({ value }) { class WispClient (line 299) | class WispClient { method constructor (line 300) | constructor ({ method send (line 307) | send (packet) { FILE: src/puter-wisp/devlog/unit_test_usefulness/b.js class ATStream (line 38) | class ATStream { method constructor (line 39) | constructor ({ delegate, acc, transform, observe }) { method next_value_ (line 50) | async next_value_ () { method acc (line 59) | async acc ({ value }) { method next_ (line 62) | async next_ () { method next (line 84) | async next () { method enqueue_ (line 91) | async enqueue_ (v) { method [Symbol.asyncIterator] (line 47) | [Symbol.asyncIterator] () { method [Symbol.asyncIterator] (line 112) | [Symbol.asyncIterator] () { method next (line 115) | async next () { method acc (line 139) | async acc ({ value, carry }) { method getAttributes (line 197) | getAttributes ({ payload }) { method getAttributes (line 210) | getAttributes ({ payload }) { class WispPacket (line 220) | class WispPacket { method constructor (line 223) | constructor ({ data, direction, extra }) { method type (line 236) | get type () { method attributes (line 240) | get attributes () { method toVirtioFrame (line 249) | toVirtioFrame () { method describe (line 255) | describe () { method log (line 261) | log () { method reflect (line 273) | reflect () { method transform (line 297) | transform ({ value }) { method observe (line 303) | observe ({ value }) { class WispClient (line 309) | class WispClient { method constructor (line 310) | constructor ({ method send (line 317) | send (packet) { FILE: src/puter-wisp/src/exports.js class ATStream (line 41) | class ATStream { method constructor (line 42) | constructor ({ delegate, acc, transform, observe }) { method next_value_ (line 53) | async next_value_ () { method acc (line 62) | async acc ({ value }) { method next_ (line 65) | async next_ () { method next (line 87) | async next () { method enqueue_ (line 94) | async enqueue_ (v) { method [Symbol.asyncIterator] (line 50) | [Symbol.asyncIterator] () { method [Symbol.asyncIterator] (line 105) | [Symbol.asyncIterator] () { method next (line 108) | async next () { method acc (line 133) | async acc ({ value, carry }) { method getAttributes (line 191) | getAttributes ({ payload }) { method getAttributes (line 224) | getAttributes ({ payload }) { method getAttributes (line 238) | getAttributes ({ payload }) { method getAttributes (line 252) | getAttributes ({ payload }) { method getAttributes (line 265) | getAttributes ({ payload }) { class WispPacket (line 274) | class WispPacket { method constructor (line 277) | constructor ({ data, direction, extra }) { method type (line 288) | get type () { method attributes (line 292) | get attributes () { method payload (line 303) | get payload () { method streamId (line 306) | get streamId () { method toVirtioFrame (line 309) | toVirtioFrame () { method describe (line 319) | describe () { method log (line 326) | log () { method reflect (line 338) | reflect () { method transform (line 362) | transform ({ value }) { method observe (line 368) | observe ({ value }) { class DataBuilder (line 375) | class DataBuilder { method constructor (line 376) | constructor ({ leb } = {}) { method uint8 (line 381) | uint8 (value) { method uint16 (line 386) | uint16 (value, leb) { method uint32 (line 392) | uint32 (value, leb) { method utf8 (line 398) | utf8 (value) { method cat (line 404) | cat (data) { method build (line 409) | build () { FILE: src/puter-wisp/test/test.js constant BASH_TEST_BYTES (line 78) | const BASH_TEST_BYTES = [ FILE: src/putility/src/AdvancedBase.js class AdvancedBase (line 10) | class AdvancedBase extends FeatureBase { FILE: src/putility/src/bases/BasicBase.js class BasicBase (line 8) | class BasicBase { method _get_inheritance_chain (line 14) | _get_inheritance_chain () { method _get_merged_static_array (line 32) | _get_merged_static_array (key) { method _get_merged_static_object (line 51) | _get_merged_static_object (key) { FILE: src/putility/src/bases/FeatureBase.js class FeatureBase (line 7) | class FeatureBase extends BasicBase { method constructor (line 8) | constructor (parameters, ...a) { FILE: src/putility/src/concepts/Service.js class Service (line 23) | class Service extends AdvancedBase { method __on (line 36) | async __on (id, args) { method __get_event_handler (line 48) | __get_event_handler (id) { method create (line 62) | static create ({ parameters, context }) { method init (line 78) | init (...a) { method construct (line 93) | construct (o) { method get_depends (line 104) | get_depends () { FILE: src/putility/src/features/EmitterFeature.js method install_in_instance (line 18) | install_in_instance (instance, { parameters }) { FILE: src/putility/src/libs/context.js class Context (line 9) | class Context { method constructor (line 14) | constructor (values = {}) { method follow (line 27) | follow (source, keys) { method sub (line 42) | sub (newValues) { FILE: src/putility/src/libs/event.js class Emitter (line 8) | class Emitter extends AdvancedBase { FILE: src/putility/src/libs/invoker.js class Invoker (line 7) | class Invoker extends AdvancedBase { method create (line 8) | static create ({ method run (line 17) | async run (args) { method add_dec_ (line 26) | add_dec_ (dec, fn) { FILE: src/putility/src/libs/listener.js class MultiDetachable (line 11) | class MultiDetachable extends FeatureBase { method constructor (line 16) | constructor () { method add (line 22) | add (delegate) { method detach (line 33) | detach () { class AlsoDetachable (line 43) | class AlsoDetachable extends FeatureBase { method constructor (line 48) | constructor () { method also (line 54) | also (also) { method detach (line 61) | detach () { class RemoveFromArrayDetachable (line 70) | class RemoveFromArrayDetachable extends AlsoDetachable { method constructor (line 71) | constructor (array, element) { method detach_ (line 77) | detach_ () { FILE: src/putility/src/libs/log.js class ArrayLogger (line 12) | class ArrayLogger extends AdvancedBase { method log (line 27) | log (level, message, fields, values) { class CategorizedToggleLogger (line 38) | class CategorizedToggleLogger extends AdvancedBase { method log (line 60) | log (level, message, fields, values) { method on (line 71) | on (category) { method off (line 78) | off (category) { class ToggleLogger (line 87) | class ToggleLogger extends AdvancedBase { method log (line 109) | log (level, message, fields, values) { class ConsoleLogger (line 121) | class ConsoleLogger extends AdvancedBase { method log (line 167) | log (level, message, fields, values) { class PrefixLogger (line 192) | class PrefixLogger extends AdvancedBase { method log (line 214) | log (level, message, fields, values) { class FieldsLogger (line 224) | class FieldsLogger extends AdvancedBase { method log (line 247) | log (level, message, fields, values) { class LoggerFacade (line 258) | class LoggerFacade extends AdvancedBase { method log (line 281) | log (level, message, fields, values) { method fields (line 292) | fields (fields) { method info (line 307) | info (message, ...values) { method on (line 315) | on (category) { method off (line 322) | off (category) { FILE: src/putility/src/libs/promise.js class TeePromise (line 5) | class TeePromise { method constructor (line 9) | constructor () { method status (line 16) | get status () { method status (line 19) | set status (status) { method resolve (line 25) | resolve (value) { method awaitDone (line 29) | awaitDone () { method then (line 32) | then (fn, ...a) { method reject (line 36) | reject (err) { method onComplete (line 44) | onComplete (fn) { class Lock (line 49) | class Lock { method constructor (line 50) | constructor () { method acquire (line 55) | async acquire (callback) { method release (line 77) | release () { class RWLock (line 87) | class RWLock { method constructor (line 91) | constructor () { method effective_mode (line 102) | get effective_mode () { method push_ (line 107) | push_ (item) { method check_queue_ (line 114) | check_queue_ () { method rlock (line 158) | async rlock () { method wlock (line 177) | async wlock () { FILE: src/putility/src/system/ServiceManager.js class ServiceManager (line 14) | class ServiceManager extends AdvancedBase { method constructor (line 15) | constructor ({ context } = {}) { method register (line 29) | async register (name, factory, options = {}) { method info (line 46) | info (name) { method get (line 49) | get (name) { method aget (line 57) | async aget (name) { method wait_for_init (line 66) | async wait_for_init (depends) { method get_waiting_for_ (line 95) | get_waiting_for_ (depends) { method maybe_init_ (line 110) | async maybe_init_ (name) { method init_service_ (line 133) | async init_service_ (name, modifiers = {}) { FILE: src/putility/test/ServiceManager.test.js class TestService (line 24) | class TestService extends Service { method _construct (line 25) | _construct ({ name, depends }) { method get_depends (line 30) | get_depends () { method _init (line 33) | async _init () { FILE: src/putility/test/test.js class ClassA (line 24) | class ClassA extends BasicBase { class ClassB (line 32) | class ClassB extends ClassA { class ClassWithModule (line 54) | class ClassWithModule extends AdvancedBase { method delegate (line 100) | async delegate (args) { FILE: src/putility/test/topics.test.js class SomeClassWithTopics (line 29) | class SomeClassWithTopics extends AdvancedBase { method punch (line 36) | punch () { FILE: src/putility/test/traits.test.js class TestClass (line 23) | class TestClass extends AdvancedBase { class TestSubClass (line 35) | class TestSubClass extends TestClass { FILE: tests/api-tester/apitest.js constant YAML (line 1) | const YAML = require('yaml'); function test (line 146) | async function test({ mountpoint }) { function test (line 208) | async function test({ mountpoint }) { FILE: tests/api-tester/lib/Assert.js method equal (line 2) | equal (expected, actual) { method assert (line 6) | assert (b) { FILE: tests/api-tester/lib/CoverageModel.js method constructor (line 28) | constructor (spec) { FILE: tests/api-tester/lib/TestFactory.js method cartesian (line 2) | static cartesian ( FILE: tests/api-tester/lib/TestRegistry.js method constructor (line 2) | constructor (t) { method add_test_sdk (line 9) | add_test_sdk (id, instance) { method add_test (line 13) | add_test (id, testDefinition) { method add_bench (line 17) | add_bench (id, benchDefinition) { method run_all_tests (line 21) | async run_all_tests(suiteName) { method run_all_benches (line 48) | async run_all_benches (suiteName) { method run_all (line 68) | async run_all () { method run_test (line 73) | async run_test (id) { method run_bench (line 81) | async run_bench (id) { method run (line 89) | async run (id) { FILE: tests/api-tester/lib/TestSDK.js constant YAML (line 2) | const YAML = require('yaml'); method constructor (line 12) | constructor (conf, context, options = {}) { method init_working_directory (line 45) | async init_working_directory () { method get_sdk (line 60) | async get_sdk (name) { method runTestPackage (line 66) | async runTestPackage (testDefinition) { method runBenchmark (line 92) | async runBenchmark (benchDefinition) { method recordResult (line 133) | recordResult (result) { method case (line 144) | async case (id, fn) { method quirk (line 186) | quirk (msg) { method printTestResults (line 192) | printTestResults () { method printBenchmarkResults (line 214) | printBenchmarkResults () { method cd (line 228) | cd (path) { method resetCwd (line 236) | resetCwd () { method resolve (line 240) | resolve (path) { method installAPIMethodShorthands_ (line 248) | installAPIMethodShorthands_ () { method getURL (line 334) | getURL (...path) { method get (line 345) | get (ep, params) { method post (line 357) | post (ep, params) { method upload (line 370) | upload (ep, name, mime, bin, params) { method batch (line 394) | async batch (ep, ops, bins) { method batch_json (line 454) | batch_json (ep, ops, bins) { FILE: tests/api-tester/puter_js/__entry__.js function run (line 3) | async function run(conf) { FILE: tests/api-tester/puter_js/load.cjs function load_puterjs (line 3) | async function load_puterjs() { FILE: tests/api-tester/test_sdks/puter-rest.js class PuterRestTestSDK (line 3) | class PuterRestTestSDK { method constructor (line 4) | constructor (config) { method create (line 7) | async create() { FILE: tests/api-tester/tests/copy_cart.js constant PREFIX (line 16) | const PREFIX = 'copy_cart_'; FILE: tests/api-tester/tests/move_cart.js constant PREFIX (line 16) | const PREFIX = 'move_cart_'; FILE: tests/api-tester/tools/readdir_profile.js constant YAML (line 2) | const YAML = require('yaml'); constant TIME_BEFORE_TEST (line 58) | const TIME_BEFORE_TEST = 20 * 1000; FILE: tests/api-tester/tools/test_read.js constant YAML (line 2) | const YAML = require('yaml'); FILE: tests/ci/api-test.py function update_server_config (line 17) | def update_server_config(): function run (line 46) | def run(): FILE: tests/ci/common.py function init_backend_config (line 12) | def init_backend_config(): function get_admin_password (line 29) | def get_admin_password() -> str: function get_token (line 49) | def get_token(admin_password: str) -> str: function init_client_config (line 73) | def init_client_config(token: str): FILE: tests/ci/playwright-test.py function init_backend_config (line 29) | def init_backend_config(): function init_fs_tree_manager_config (line 58) | def init_fs_tree_manager_config(): function run (line 79) | def run(): FILE: tests/ci/vitest.py function run (line 10) | def run(): FILE: tests/playwright/config/test-config.ts type TestConfig (line 6) | interface TestConfig { function getTestConfig (line 16) | function getTestConfig(): TestConfig { FILE: tests/playwright/tests/file-system/fixtures.ts constant CHANGE_PROPAGATION_TIME (line 8) | const CHANGE_PROPAGATION_TIME = 0; constant BASE_PATH (line 10) | const BASE_PATH = '/admin/tests'; constant ERROR_CODES (line 12) | const ERROR_CODES = [ function checkIntegrity (line 48) | function checkIntegrity(entry: FSEntry): string | null { function bootstrap (line 71) | async function bootstrap(page: Page) { FILE: tests/puterJsApiTests/ai_chat_completions.test.ts type ClientConfig (line 9) | interface ClientConfig { FILE: tools/check-translations.js function reportError (line 23) | function reportError(message) { function checkTranslationRegistrations (line 35) | async function checkTranslationRegistrations() { function checkTranslationKeys (line 69) | function checkTranslationKeys() { function checkTranslationUsage (line 96) | async function checkTranslationUsage() { FILE: tools/comment-parser/main.js method skip_whitespace (line 58) | skip_whitespace () { method skip_matching (line 62) | skip_matching (items) { method fwd (line 67) | fwd (amount) { method fork (line 70) | fork () { method get_pos (line 73) | async get_pos () { method get_char (line 76) | async get_char () { method matches (line 79) | async matches (re_or_lit) { method get_until (line 88) | async get_until (re_or_lit) { method debug (line 106) | async debug () { FILE: tools/doc_helper.js function checkForDuplicateEvent (line 20) | function checkForDuplicateEvent(eventId, filePath, seenEvents) { function extractEventsFromFile (line 33) | function extractEventsFromFile(filePath, seenEvents, debugMode) { function extractProperties (line 106) | function extractProperties(propertiesText, propertyDetails, hasAllowEffe... function generateDescription (line 136) | function generateDescription(eventName) { function guessType (line 161) | function guessType(propertyName) { function guessSummary (line 178) | function guessSummary(propertyName, eventName) { function scanDirectory (line 196) | function scanDirectory(directory, seenEvents, debugMode) { function generateTestExtension (line 215) | function generateTestExtension(events) { function main (line 230) | function main() { function formatEventsOutput (line 357) | function formatEventsOutput(events) { FILE: tools/file-walker/test.js constant EXCLUDE_LISTS (line 23) | const EXCLUDE_LISTS = { function git_blame (line 102) | async function git_blame(path) { FILE: tools/gen-release-notes.js constant REPO_URL (line 22) | const REPO_URL = 'https://github.com/HeyPuter/puter'; constant CC_REGEX (line 35) | const CC_REGEX = /^([a-z0-9]+)(\([a-z0-9]+\))?:\s(.*)/; FILE: tools/genwiki/main.js constant FILE_EXCLUDES (line 5) | const FILE_EXCLUDES = [ constant ROOT_DIR (line 28) | const ROOT_DIR = path_.join(__dirname, '../..'); constant WIKI_DIR (line 29) | const WIKI_DIR = path_.join(__dirname, '../../submodules/wiki'); FILE: tools/migrations-test/main.js method indent (line 50) | indent () { ind++; } method dedent (line 51) | dedent () { ind--; } method heading (line 52) | heading (title) { constant DBPATH (line 86) | const DBPATH = 'volatile/runtime/puter-database.sqlite'; FILE: tools/module-docgen/defs.js class Out (line 35) | class Out { method constructor (line 36) | constructor () { method h (line 45) | h (n, text) { method lf (line 54) | lf () { this.str += '\n'; } method out (line 60) | out (str) { class Doc (line 72) | class Doc { method constructor (line 73) | constructor () { method provide_comment (line 76) | provide_comment (comment) { class ModuleDoc (line 89) | class ModuleDoc extends Doc { method _construct (line 95) | _construct () { method add_service (line 106) | add_service () { method add_lib (line 117) | add_lib () { method ready (line 128) | ready () { method toMarkdown (line 152) | toMarkdown ({ hl, out } = { hl: 1 }) { class ServiceDoc (line 198) | class ServiceDoc extends Doc { method _construct (line 204) | _construct () { method provide_comment (line 209) | provide_comment (comment) { method provide_listener (line 214) | provide_listener (listener) { method provide_method (line 232) | provide_method (method) { method toMarkdown (line 250) | toMarkdown ({ hl, out } = { hl: 1 }) { class LibDoc (line 302) | class LibDoc extends Doc { method _construct (line 310) | _construct () { method provide_function (line 314) | provide_function ({ key, comment, params }) { method toMarkdown (line 332) | toMarkdown ({ hl, out } = { hl: 1 }) { FILE: tools/module-docgen/main.js method [key] (line 48) | [key] (path) { FILE: tools/module-docgen/processors.js method match (line 24) | match () { return true; } method CallExpression (line 26) | CallExpression (path, context) { method match (line 39) | match () { return true; } method ClassDeclaration (line 41) | ClassDeclaration (path, context) { method match (line 54) | match (context) { method ClassDeclaration (line 58) | ClassDeclaration (path, context) { method match (line 77) | match (context) { method ClassDeclaration (line 81) | ClassDeclaration (path, context) { method match (line 121) | match (context) { method VariableDeclaration (line 125) | VariableDeclaration (path, context) { FILE: tools/token-count-accuracy/test.js class TikTokenCounter (line 112) | class TikTokenCounter { method constructor (line 113) | constructor (model_to_try) { method title (line 117) | get title () { method count (line 121) | count (text) { class DivideCounter (line 129) | class DivideCounter { method constructor (line 130) | constructor (by) { method title (line 134) | get title () { method count (line 138) | count (text) { FILE: tools/validate-eslint.js function validateConfig (line 8) | async function validateConfig() { FILE: ws-debug.mjs function trying (line 16) | async function trying() {