@ofidj/contracts 3.7.2 → 3.8.0
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 +9 -0
- package/bpInfo.js +1 -1
- package/fidj-api/identity.d.ts +2 -2
- package/fidj-api/index.d.ts +1 -1
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.7.3] - 2026-09-14
|
|
4
|
+
|
|
5
|
+
- Release on the shared @ofidj version: contracts, SDK, generator, API and
|
|
6
|
+
console now carry one number, which generated apps display as
|
|
7
|
+
`fidj@<version>`.
|
|
8
|
+
- Keep `bpInfo` and `package.json` on that number. They had drifted two patches
|
|
9
|
+
apart, unnoticed because nothing read them together; `npm run version:sync`
|
|
10
|
+
rewrites the constant and `npm test` now fails when it is stale.
|
|
11
|
+
|
|
3
12
|
## [3.7.2] - 2026-09-13
|
|
4
13
|
|
|
5
14
|
- Describe `signin` on the status response: which screen collects a credential,
|
package/bpInfo.js
CHANGED
package/fidj-api/identity.d.ts
CHANGED
|
@@ -51,12 +51,12 @@ export interface FidjApiExternalProvider {
|
|
|
51
51
|
}
|
|
52
52
|
export interface FidjApiOrganizationInvitationRequest {
|
|
53
53
|
email: string;
|
|
54
|
-
role:
|
|
54
|
+
role: 'Editor' | 'Viewer';
|
|
55
55
|
}
|
|
56
56
|
export interface FidjApiOrganizationInvitationResponse {
|
|
57
57
|
invitationUrl: string;
|
|
58
58
|
expiresInDays: number;
|
|
59
59
|
}
|
|
60
60
|
export interface FidjApiDeleteAccountRequest {
|
|
61
|
-
confirm:
|
|
61
|
+
confirm: 'delete-account';
|
|
62
62
|
}
|
package/fidj-api/index.d.ts
CHANGED
|
@@ -27,5 +27,5 @@ export * from './FidjApiPrivacyResponse';
|
|
|
27
27
|
export * from './FidjApiAccountRecovery';
|
|
28
28
|
export * from './FidjApiGroups';
|
|
29
29
|
export * from './FidjApiPurposes';
|
|
30
|
-
export * from
|
|
30
|
+
export * from './identity';
|
|
31
31
|
export * from './FidjApiAccountSelfService';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ofidj/contracts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"author": "contact@fidj.ovh",
|
|
5
5
|
"description": "TypeScript API contracts for Fidj services - request/response interfaces for REST endpoints",
|
|
6
6
|
"keywords": [
|
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"bp:_clean": "rm -rf package-lock.json node_modules .gen .logs .nyc_output .logs .output.txt .coverage .angular dist disti www && npm i",
|
|
30
30
|
"bp:bump": "OLD_VERSION=\"v$(node -e \"console.log(require('./package.json').version)\")\" && VERSION=\"$(npm version patch --no-git-tag-version)\" && echo \"export const bpInfo = {version: '$VERSION'};\" > ./src/bpInfo.ts && git tag $OLD_VERSION && git checkout -b $VERSION && git push origin refs/heads/$VERSION:$VERSION --tags && git push --set-upstream origin $VERSION",
|
|
31
|
+
"version:sync": "node ./scripts/bp/sync-version.cjs",
|
|
31
32
|
"bp:update-changelog-dates": "node ./scripts/bp/update-changelog-date.cjs",
|
|
32
33
|
"bp:style:fix": "eslint 'src/**/*.ts' 'specs/**/*.ts' --fix --no-error-on-unmatched-pattern && eslint 'src/**/*.js' 'specs/**/*.js' --fix --no-error-on-unmatched-pattern && prettier --write \"src/**/*.ts\" --no-error-on-unmatched-pattern && prettier --write \"src/**/*.js\" --no-error-on-unmatched-pattern",
|
|
34
|
+
"bp:dead-code": "knip",
|
|
33
35
|
"bp:branch:push": "BRANCH=$(git rev-parse --abbrev-ref HEAD) && git add . && (git diff-index --quiet HEAD && echo 'No changes to commit' || (git commit -m \"$BRANCH pushed\" && git push))",
|
|
34
36
|
"bp:branch:squash": "node ./scripts/bp/squash-commits.cjs",
|
|
35
37
|
"bp:branch:check-before-release": "npm run bp:use-remote-deps && node ./scripts/bp/check-before-release.cjs",
|
|
@@ -37,9 +39,8 @@
|
|
|
37
39
|
"bp:main:package": "git checkout package && git merge main -m \"$(git log -1 --pretty=%B main)\" && git push --set-upstream origin package && git checkout main",
|
|
38
40
|
"build": "npm run build:dist",
|
|
39
41
|
"build:dist": "rm -rf dist/ && npx tsc && cp package.json dist/ && cp *.md dist/",
|
|
40
|
-
"test": "
|
|
42
|
+
"test": "node --test test/*.test.mjs"
|
|
41
43
|
},
|
|
42
|
-
"dependencies": {},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@eslint/eslintrc": "~3.3.1",
|
|
45
46
|
"@eslint/js": "~9.39.1",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
"eslint-config-prettier": "~10.1.5",
|
|
51
52
|
"eslint-plugin-import": "~2.32.0",
|
|
52
53
|
"eslint-plugin-prettier": "~5.5.4",
|
|
54
|
+
"knip": "^6.35.1",
|
|
53
55
|
"prettier": "~3.7.0",
|
|
54
56
|
"typescript": "~5.9.3"
|
|
55
57
|
}
|