dryvPacks

@dryv/nestjsv0.9.0

NestJS feature controllers, services and modules for HTTP operations.

NestJS Backend AdapterBackendInjectPublished 7 days ago2 downloads

dryv pack add @dryv/nestjs
579 BRaw ↗
yaml
version: dryv.pack/v1alpha1
key: fixture.entity-types
info:
  title: Fixture entity type owner
  version: 0.1.0
source: templates
plugins:
  - name: jinja
    extensions:
      - .j2
selections:
  entities:
    subject: schema
    scope: each
    filter:
      all:
        role: entity
templates:
  entity:
    $ref: "#/selections/entities"
    output:
      name: $(subject.name.kebab)
      path:
        - $(group.name.kebab)
      symbol: $(subject.name.pascal)
    imports:
      - $ref: "#/templates/entity"
provides:
  schema.entity.types:
    $ref: "#/templates/entity"