@rytass/bpm-core-client 0.1.8 → 0.1.9
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/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
8
8
|
Releases are managed by [`nx release`](https://nx.dev/recipes/nx-release) with
|
|
9
9
|
Conventional Commits — see `nx.json` for the release config.
|
|
10
10
|
|
|
11
|
+
## 0.1.9 — 2026-05-28
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`OrgUnitType` and `ManagerResolutionScopeType` are now re-exports
|
|
16
|
+
from `@rytass/bpm-core-shared`.** Previous versions shipped two
|
|
17
|
+
divergent local definitions: the shared package declared
|
|
18
|
+
`'COMPANY' | 'DIVISION' | 'DEPARTMENT' | 'TEAM'` (UPPERCASE only,
|
|
19
|
+
matching the GraphQL wire) while this package declared the union of
|
|
20
|
+
both cases. Consumers importing the type from different subpaths
|
|
21
|
+
received different unions — silent at compile time, surprising at
|
|
22
|
+
review time. Both subpaths now refer to the single source of truth.
|
|
23
|
+
|
|
24
|
+
### Why a patch
|
|
25
|
+
|
|
26
|
+
Type-level realignment, no runtime behavior change. Consumers using
|
|
27
|
+
the UPPERCASE literals (the working path) see no difference; consumers
|
|
28
|
+
relying on lowercase (the broken path that failed at GraphQL anyway)
|
|
29
|
+
were already getting runtime errors and need to migrate.
|
|
30
|
+
|
|
11
31
|
## 0.1.8 — 2026-05-28
|
|
12
32
|
|
|
13
33
|
### Documentation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rytass/bpm-core-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Framework-agnostic TypeScript client for the Rytass BPM approval workflow GraphQL surface: fetch-based GraphQL transport, REST auth client, pre-baked typed operations for organization, member, form, template, and workflow.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bpm",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@rytass/bpm-core-shared": "^0.1.
|
|
76
|
+
"@rytass/bpm-core-shared": "^0.1.9"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"tslib": "^2.3.0"
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { OrgUnitType, ManagerResolutionScopeType } from '@rytass/bpm-core-shared';
|
|
2
|
+
/**
|
|
3
|
+
* Re-exported from `@rytass/bpm-core-shared` for consumer convenience —
|
|
4
|
+
* the single source of truth lives there. Both import paths produce
|
|
5
|
+
* the same TypeScript type, so consumers may pick whichever subpath
|
|
6
|
+
* they already import from elsewhere.
|
|
7
|
+
*/
|
|
8
|
+
export type { OrgUnitType, ManagerResolutionScopeType };
|
|
3
9
|
export interface OrgUnitRecord {
|
|
4
10
|
readonly code: string;
|
|
5
11
|
readonly createdAt: string;
|
|
@@ -165,4 +171,3 @@ export declare function updateManagerResolution(input: {
|
|
|
165
171
|
readonly scopeType: ManagerResolutionScopeType | null;
|
|
166
172
|
}): Promise<ManagerResolutionRecord>;
|
|
167
173
|
export declare function deleteManagerResolution(id: string): Promise<boolean>;
|
|
168
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-api.js","sourceRoot":"","sources":["../../../../../../libs/bpm-core-client/src/lib/organization/organization-api.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"organization-api.js","sourceRoot":"","sources":["../../../../../../libs/bpm-core-client/src/lib/organization/organization-api.ts"],"names":[],"mappings":";;AAoJA,8DAkMC;AAED,0CAmCC;AAED,wDAkCC;AAED,kDAcC;AAED,sCAyBC;AAED,sCA0BC;AAED,sCASC;AAED,wDA2BC;AAED,wCAqBC;AAED,wC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