@substrat-run/engine-invoicing 0.3.10 → 0.3.14

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
@@ -36,7 +36,7 @@ never import this engine to do it.
36
36
 
37
37
  ## Documentation
38
38
 
39
- **https://substrat.ahlstrand.es/engines/invoicing/** — the domain model and invariants, the
39
+ **https://substrat.net/engines** — the domain model and invariants, the
40
40
  operation/permission surface, event contracts and versioning, and how to compose or extend it.
41
41
 
42
42
  The docs site is the single source of truth; this README deliberately doesn't restate it.
package/dist/index.d.ts CHANGED
@@ -41,6 +41,20 @@ export declare const invoicingManifest: {
41
41
  }[] | undefined;
42
42
  withdraws?: string[] | undefined;
43
43
  entitlementKey: string;
44
+ envSpec?: {
45
+ key: string;
46
+ label?: string | undefined;
47
+ description: string;
48
+ placeholder?: string | undefined;
49
+ required: boolean;
50
+ secret: boolean;
51
+ default?: string | undefined;
52
+ group?: string | undefined;
53
+ }[] | undefined;
54
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
55
+ entitlements?: string[] | undefined;
56
+ provides?: string[] | undefined;
57
+ requires?: string[] | undefined;
44
58
  api?: string | undefined;
45
59
  searchables?: {
46
60
  entityType: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EAIL,KAAK,kBAAkB,EAGxB,MAAM,sBAAsB,CAAC;AAS9B,eAAO,MAAM,cAAc;IACzB,IAAI;IACJ,MAAM;CACP,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC5B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;GA6B/B,CAAC;AA6CF,MAAM,WAAW,WAAW;IAC1B,EAAE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AAC;IACpB,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AA0QD,eAAO,MAAM,eAAe,EAAE,kBAY7B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@substrat-run/engine-invoicing",
3
- "version": "0.3.10",
3
+ "version": "0.3.14",
4
4
  "description": "Substrat engine: invoice basis — consumes billable events, snapshots lines with provenance, immutable once exported",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -8,7 +8,7 @@
8
8
  "url": "git+https://github.com/substrat-run/substrat.git",
9
9
  "directory": "engines/invoicing"
10
10
  },
11
- "homepage": "https://github.com/substrat-run/substrat",
11
+ "homepage": "https://substrat.net/engines",
12
12
  "type": "module",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
@@ -26,13 +26,13 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "^4.4.3",
29
- "@substrat-run/contracts": "^0.13.0",
30
- "@substrat-run/kernel": "^0.13.0"
29
+ "@substrat-run/kernel": "^0.16.0",
30
+ "@substrat-run/contracts": "^0.16.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "^7.0.0",
34
34
  "vitest": "^3.0.0",
35
- "@substrat-run/engine-test-kit": "^0.0.11"
35
+ "@substrat-run/engine-test-kit": "^0.0.14"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsc -p tsconfig.json",