@kinotic-ai/kinotic-cli 2.1.0 → 2.1.2
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/README.md
CHANGED
|
@@ -12,7 +12,7 @@ $ npm install -g @kinotic-ai/kinotic-cli
|
|
|
12
12
|
$ kinotic COMMAND
|
|
13
13
|
running command...
|
|
14
14
|
$ kinotic (--version)
|
|
15
|
-
@kinotic-ai/kinotic-cli/2.1.
|
|
15
|
+
@kinotic-ai/kinotic-cli/2.1.2 darwin-arm64 node-v22.13.1
|
|
16
16
|
$ kinotic --help [COMMAND]
|
|
17
17
|
USAGE
|
|
18
18
|
$ kinotic COMMAND
|
|
@@ -91,7 +91,7 @@ EXAMPLES
|
|
|
91
91
|
$ kinotic create project MyProjectName
|
|
92
92
|
```
|
|
93
93
|
|
|
94
|
-
_See code: [src/commands/create/project.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.
|
|
94
|
+
_See code: [src/commands/create/project.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.2/src/commands/create/project.ts)_
|
|
95
95
|
|
|
96
96
|
## `kinotic gen`
|
|
97
97
|
|
|
@@ -149,7 +149,7 @@ EXAMPLES
|
|
|
149
149
|
$ kinotic gen --force
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
_See code: [src/commands/generate.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.
|
|
152
|
+
_See code: [src/commands/generate.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.2/src/commands/generate.ts)_
|
|
153
153
|
|
|
154
154
|
## `kinotic help [COMMAND]`
|
|
155
155
|
|
|
@@ -231,7 +231,7 @@ EXAMPLES
|
|
|
231
231
|
$ kinotic init -a my.app -e path/to/entities -r path/to/repository --mirror
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
-
_See code: [src/commands/initialize.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.
|
|
234
|
+
_See code: [src/commands/initialize.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.2/src/commands/initialize.ts)_
|
|
235
235
|
|
|
236
236
|
## `kinotic plugins`
|
|
237
237
|
|
|
@@ -587,7 +587,7 @@ EXAMPLES
|
|
|
587
587
|
$ kinotic sync -p -v -s http://localhost:9090
|
|
588
588
|
```
|
|
589
589
|
|
|
590
|
-
_See code: [src/commands/synchronize.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.
|
|
590
|
+
_See code: [src/commands/synchronize.ts](https://github.com/kinotic-ai/kinotic/blob/v2.1.2/src/commands/synchronize.ts)_
|
|
591
591
|
|
|
592
592
|
## `kinotic update [CHANNEL]`
|
|
593
593
|
|
|
@@ -27,7 +27,7 @@ export class EntityCodeGenerationService {
|
|
|
27
27
|
this.fileExtensionForImports = fileExtensionForImports;
|
|
28
28
|
this.logger = logger;
|
|
29
29
|
this.engine = new Liquid({
|
|
30
|
-
root: path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../templates/'), // root for templates lookup
|
|
30
|
+
root: path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../templates/entity/'), // root for templates lookup
|
|
31
31
|
extname: '.liquid'
|
|
32
32
|
});
|
|
33
33
|
this.tsMorphProject = createTsMorphProject();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type IAdminEntitiesRepository } from '@kinotic-ai/persistence'
|
|
2
2
|
import { Base{{ entityName }}AdminRepository } from './generated/Base{{ entityName }}AdminRepository{{ fileExtensionForImports }}'
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,7 +7,7 @@ import { Base{{ entityName }}AdminRepository } from './generated/Base{{ entityNa
|
|
|
7
7
|
*/
|
|
8
8
|
export class {{ entityName }}AdminRepository extends Base{{ entityName }}AdminRepository {
|
|
9
9
|
|
|
10
|
-
constructor(adminEntitiesService?:
|
|
10
|
+
constructor(adminEntitiesService?: IAdminEntitiesRepository) {
|
|
11
11
|
super(adminEntitiesService)
|
|
12
12
|
}
|
|
13
13
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED