src/index.ts

tego · packages/server/src/index.ts · typescript · Apache-2.0
database, Database / ORM

Exports core server modules from Tachybase and Tego, simplifying imports for backend projects.

// Source: https://github.com/tegojs/tego | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export { default as actions, DEFAULT_PAGE, DEFAULT_PER_PAGE, utils } from '@tachybase/actions';
export type { Context, Next } from '@tachybase/actions';
export { Cache, CacheManager } from '@tachybase/cache';
export type { BloomFilter } from '@tachybase/cache';
export {
  ArrayFieldRepository,
  BaseError,
  BaseValueParser,
  BelongsToField,
  BelongsToManyField,
  BelongsToManyRepository,
  BelongsToRepository,
  Collection,
  CollectionGroupManager,
  DataTypes,
  col,
  Database,
  Field,
  FilterParser,
  HasManyField,
  HasManyRepository,
  HasOneField,
  InheritedCollection,
  MagicAtt

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key