@gzl10/nexus-sdk 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -153,9 +153,9 @@ interface ModuleManifest {
|
|
|
153
153
|
routes?: (ctx: ModuleContext) => Router;
|
|
154
154
|
/** Prefijo de rutas (default: /{name}) */
|
|
155
155
|
routePrefix?: string;
|
|
156
|
-
/** Subjects CASL
|
|
157
|
-
|
|
158
|
-
/** Entidades/tablas del módulo con config CRUD para UI */
|
|
156
|
+
/** Subjects CASL adicionales (sin entity). Los subjects de entities se infieren automáticamente */
|
|
157
|
+
additionalSubjects?: string[];
|
|
158
|
+
/** Entidades/tablas del módulo con config CRUD para UI. Sus `name` se registran como subjects CASL */
|
|
159
159
|
entities?: ModuleEntity[];
|
|
160
160
|
}
|
|
161
161
|
/**
|