
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@intent-driven/importer-nestjs-typeorm
Advanced tools
NestJS + TypeORM AST → IDF ontology (entities + intents + roles)
NestJS + TypeORM AST → IDF ontology.
import { importNestjsTypeorm } from "@intent-driven/importer-nestjs-typeorm";
const ontology = await importNestjsTypeorm({
src: "./src",
guardsToRoles: true, // default
});
Через CLI:
idf import nestjs-typeorm --src ./src --out src/domains/api/ontology.js
@Entity, @Column, @PrimaryGeneratedColumn, @PrimaryColumn@CreateDateColumn, @UpdateDateColumn, @DeleteDateColumn, @VersionColumn@ManyToOne, @OneToMany, @OneToOne, @ManyToMany + @JoinColumn, @JoinTable@Column({type:'enum', enum: SomeEnum}) — cross-file enum resolution → valueLabels + enumValues@Controller(prefix) (string + object form)@Get/@Post/@Put/@Patch/@Delete@Param/@Body/@Query в method signature → intent.parameters (с markers pathParam/bodyParam/queryParam)@Body() dto: CreateOrderDto — cross-file DTO field extraction@UseGuards + @Roles → intent.forRoles + auto-create ontology.roles*Approval*Guard → intent.lifecycle.requiresApproval stubcompilerOptions.paths (TS path-mapping)Auth/webhook/health/search-style endpoints автоматически пропускаются (no garbage create_search / create_login / create_webhook intents). Default skip-list:
login, logout, register, signup, signin, signout, auth, oauth, token, me, session(s)webhook(s), callback(s)search, export, import, upload, download, notify, subscribe, unsubscribe, refresh, validate, verify, resethealth, healthz, ready(z), live(ness), version, info, metadata, metrics, ping, statusfeedback, contact, support, resourceSkipped intents эмитят warning non_entity_skipped в _meta.warnings.
Опции:
await importNestjsTypeorm({
src: "./src",
nonEntityPaths: ["foo", "bar"], // расширить default skip-list
includeNonEntity: true, // override: включить все intents
});
@IsEmail, @MinLength, @Min, @Max, etc.) ignored — отложено в v0.3extends BaseDto) — only own properties + warningunresolved_import (не resolve'им)@TableInheritance + @ChildEntity — v0.3role.scope.via — v0.3Pick, Partial, Omit) — warning + fallbackMIT.
FAQs
NestJS + TypeORM AST → IDF ontology (entities + intents + roles)
We found that @intent-driven/importer-nestjs-typeorm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.