@entifix/service-shell 0.19.0 → 0.20.1

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.
@@ -1,11 +1,7 @@
1
- declare const NoActiveOrganization_base: import("effect/Schema").Class<NoActiveOrganization, import("effect/Schema").TaggedStruct<"NoActiveOrganization", Record<never, never>>, import("effect/Cause").YieldableError & import("@entifix/core").FailureFacts<"noActiveOrganization", "conflict">>;
2
1
  /**
3
2
  * A signed-in caller whose session names no organization, on a route that acts
4
- * for one. A member of several organizations hits it before choosing one; the
5
- * code is what a client renders as "select an organization" instead of
6
- * "forbidden".
3
+ * for one. Declared in `@entifix/core` so a browser decodes it too; re-exported
4
+ * here, where the guard that raises it lives.
7
5
  */
8
- export declare class NoActiveOrganization extends NoActiveOrganization_base {
9
- }
10
- export {};
6
+ export { NoActiveOrganization } from '@entifix/core';
11
7
  //# sourceMappingURL=failures.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"failures.d.ts","sourceRoot":"","sources":["../../src/auth/failures.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,qBAAa,oBAAqB,SAAQ,yBAGzC;CAAG"}
1
+ {"version":3,"file":"failures.d.ts","sourceRoot":"","sources":["../../src/auth/failures.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,10 +1,7 @@
1
- import { Failure } from '@entifix/core';
2
1
  /**
3
2
  * A signed-in caller whose session names no organization, on a route that acts
4
- * for one. A member of several organizations hits it before choosing one; the
5
- * code is what a client renders as "select an organization" instead of
6
- * "forbidden".
7
- */ export class NoActiveOrganization extends Failure.conflict()('NoActiveOrganization', 'noActiveOrganization') {
8
- }
3
+ * for one. Declared in `@entifix/core` so a browser decodes it too; re-exported
4
+ * here, where the guard that raises it lives.
5
+ */ export { NoActiveOrganization } from '@entifix/core';
9
6
 
10
7
  //# sourceMappingURL=failures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/auth/failures.ts"],"sourcesContent":["import { Failure } from '@entifix/core';\n\n/**\n * A signed-in caller whose session names no organization, on a route that acts\n * for one. A member of several organizations hits it before choosing one; the\n * code is what a client renders as \"select an organization\" instead of\n * \"forbidden\".\n */\nexport class NoActiveOrganization extends Failure.conflict<NoActiveOrganization>()(\n 'NoActiveOrganization',\n 'noActiveOrganization',\n) {}\n"],"names":["Failure","NoActiveOrganization","conflict"],"mappings":"AAAA,SAASA,OAAO,QAAQ,gBAAgB;AAExC;;;;;CAKC,GACD,OAAO,MAAMC,6BAA6BD,QAAQE,QAAQ,GACxD,wBACA;AACC"}
1
+ {"version":3,"sources":["../../src/auth/failures.ts"],"sourcesContent":["/**\n * A signed-in caller whose session names no organization, on a route that acts\n * for one. Declared in `@entifix/core` so a browser decodes it too; re-exported\n * here, where the guard that raises it lives.\n */\nexport { NoActiveOrganization } from '@entifix/core';\n"],"names":["NoActiveOrganization"],"mappings":"AAAA;;;;CAIC,GACD,SAASA,oBAAoB,QAAQ,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entifix/service-shell",
3
- "version": "0.19.0",
3
+ "version": "0.20.1",
4
4
  "description": "Effect HTTP service skeleton: server layer, health and metadata routes, permission guards, remote configuration and OpenTelemetry.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -76,10 +76,10 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "@swc/helpers": "0.5.23",
79
- "@entifix/business": "0.19.0",
80
- "@entifix/core": "0.19.0",
81
- "@entifix/authz": "0.19.0",
82
- "@entifix/tooling": "0.19.0"
79
+ "@entifix/authz": "0.20.1",
80
+ "@entifix/core": "0.20.1",
81
+ "@entifix/tooling": "0.20.1",
82
+ "@entifix/business": "0.20.1"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@effect/opentelemetry": "4.0.7",
@@ -91,8 +91,8 @@
91
91
  "@opentelemetry/sdk-metrics": "2.12.0",
92
92
  "@opentelemetry/sdk-trace-base": "2.12.0",
93
93
  "effect": "4.0.7",
94
- "@entifix/rest": "0.19.0",
95
- "@entifix/testing-unit": "0.19.0"
94
+ "@entifix/rest": "0.20.1",
95
+ "@entifix/testing-unit": "0.20.1"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@effect/opentelemetry": "^4.0.7",