drimion 0.1.6 → 0.1.8

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/cli/index.js CHANGED
@@ -219,7 +219,7 @@ function resolvePackageManager() {
219
219
  if (true) {
220
220
  return {
221
221
  __PKG_NAME__: "drimion",
222
- __PKG_VERSION__: "0.1.6",
222
+ __PKG_VERSION__: "0.1.8",
223
223
  __PKG_REPOSITORY__: "git+https://github.com/bramadl/drimion.git"
224
224
  };
225
225
  }
@@ -1,24 +1,4 @@
1
- import { BaseRepository } from "{{importAlias}}";
1
+ import type { BaseRepository } from "@pokepulse/kernel";
2
2
  // import { {{className}} } from "./path-to-your-{{lowerName}}";
3
3
 
4
- export class {{className}}Repository extends BaseRepository<{{className}}> {
5
- async findById(id: string): Promise<IResult<{{className}}, string>> {
6
- // implement fetch logic
7
- throw new Error("Method not implemented")
8
- }
9
-
10
- async save(entity: {{className}}): Promise<IResult<void, string>> {
11
- // implement persistence
12
- throw new Error("Method not implemented")
13
- }
14
-
15
- async delete(id: string): Promise<IResult<void, string>> {
16
- // implement delete
17
- throw new Error("Method not implemented")
18
- }
19
-
20
- async exists(id: string): Promise<boolean> {
21
- // implement existence check
22
- throw new Error("Method not implemented")
23
- }
24
- }
4
+ export interface I{{className}}Repository extends BaseRepository<{{className}}> {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drimion",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Headless DDD primitives CLI for TypeScript — own your domain",
5
5
  "keywords": [
6
6
  "ddd",