REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.22 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/src/backend/adapters/database/base-database.ts
Text
Base64
/* eslint-disable no-useless-constructor */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-empty-function */ /* eslint class-methods-use-this: 0 no-unused-vars: 0 */ import BaseResource from '../resource/base-resource.js' import NotImplementedError from '../../utils/errors/not-implemented-error.js' /** * Representation of an ORM database in AdminJS * @category Base * * @mermaid * graph LR * A[BaseDatabase] -->|has many| B(BaseResource) * B --> |has many|C(BaseRecord) * B --> |has many|D(BaseProperty) */ class BaseDatabase { constructor(database: any) {} /** * Checks if given adapter supports database provided by user * * @param {any} database database provided in AdminJSOptions#databases array * @return {Boolean} if given adapter supports this database - returns true */ static isAdapterFor(database: any): boolean { throw new NotImplementedError('BaseDatabase.isAdapterFor') } /** * returns array of all resources (collections/tables) in the database * * @return {BaseResource[]} */ resources(): Array<BaseResource> { throw new NotImplementedError('BaseDatabase#resources') } } export default BaseDatabase
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
base-database.ts
1.22 KB
lrw-r--r--
2026-02-28 00:32:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.ts
61 B
lrw-r--r--
2026-02-28 00:32:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).