All files / src/persistence constants.ts

100% Statements 16/16
100% Branches 2/2
100% Functions 1/1
100% Lines 16/16

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 209x 9x 9x 9x 9x 9x 9x 9x 9x 9x   9x 9x   9x 9x 9x 9x    
export enum PersistenceKeys {
  INDEX = "index",
  UNIQUE = "unique",
  ADAPTER = "adapter",
  INJECTABLE = "decaf_{0}_adapter_for_{1}",
  TABLE = "table",
  COLUMN = "column",
  METADATA = "__metadata",
  RELATIONS = "__relations",
  CLAUSE_SEQUENCE = "clause-sequence",
  // Ownership
  CREATED_BY = "ownership.created-by",
  UPDATED_BY = "ownership.updated-by",
  // Relations
  ONE_TO_ONE = "relations.one-to-one",
  ONE_TO_MANY = "relations.one-to-many",
  MANY_TO_ONE = "relations.many-to-one",
  POPULATE = "populate",
}