Options
All
  • Public
  • Public/Protected
  • All
Menu

Module crud

Index

Type aliases

DefaultMutatorName

DefaultMutatorName: "create" | "update" | "delete"
example

field: { type: String, optional: true, canRead: ["admins"], resolveAs: { fieldName: "resolvedField", type: "Bar", resolver: async (root, args, context) => { return Variable value is ${args?.variable}; }, arguments: "variable: String", description: "Some field", typeName: "String", addOriginalField: true, }, }

VulcanSelector

VulcanSelector<TModel>: FieldSelector<TModel> | OperatorSelector<TModel>

Combination of field selectors, conditions and operators { _and: [{size:2}, {name: "hello"}], bar: 3}

Type parameters

  • TModel = any

Generated using TypeDoc