@ofidj/contracts 1.0.0 → 3.6.22
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 +14 -1
- package/bpInfo.js +1 -1
- package/bpInfo.js.map +1 -1
- package/fidj-api/FidjApiStatusResponse.d.ts +6 -2
- package/fidj-api/FidjApiUsersCreateRequest.d.ts +1 -0
- package/fidj-api/FidjApiUsersCreateResponse.d.ts +1 -0
- package/fidj-api/FidjApiUsersMeDetailsResponse.d.ts +1 -0
- package/fidj-api/FidjApiUsersMeResponse.d.ts +1 -0
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [
|
|
10
|
+
## [3.6.22] - 2026-05-28
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Semver realigned with fidj-api.** Jumped 1.0.1 → 3.6.22 so the contracts package version mirrors the HTTP protocol + feature/patch number of the server it describes (fidj-api 3.6.22). Same convention fidj-api adopted in its own 3.x reset: `3.x.y` = `/v3` protocol, feature `x`, patch `y`. Strictly cosmetic — the interface surface is unchanged from 1.0.1.
|
|
15
|
+
- Inherited widenings from the previous v1.0.1 work: `FidjApiStatusResponse` gained `version` / `env` / `built` / `isOk`; `FidjApiUsersCreateRequest` gained `autoSignup`; `FidjApiUsersCreateResponse` and `FidjApiUsersMeDetailsResponse` gained `emailVerified`; `FidjApiUsersMeResponse` gained `verified`.
|
|
16
|
+
|
|
17
|
+
## [1.0.1] - 2026-05-28
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Widened a handful of interfaces to match what fidj-api actually accepts/returns at runtime — see the 3.6.22 entry above for the field list. Optional fields only; strictly additive.
|
|
22
|
+
|
|
23
|
+
## [1.0.0] - 2026-05-28
|
|
11
24
|
|
|
12
25
|
### Changed
|
|
13
26
|
|
package/bpInfo.js
CHANGED
package/bpInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bpInfo.js","sourceRoot":"","sources":["../src/bpInfo.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG,EAAC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"bpInfo.js","sourceRoot":"","sources":["../src/bpInfo.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG,EAAC,OAAO,EAAE,SAAS,EAAC,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export interface FidjApiStatusResponse {
|
|
2
|
+
version?: string;
|
|
3
|
+
env?: string;
|
|
4
|
+
built?: string;
|
|
2
5
|
'version-web'?: string;
|
|
3
6
|
'version-api'?: string;
|
|
4
|
-
urls?: Record<string, string>;
|
|
7
|
+
urls?: string | Record<string, string>;
|
|
5
8
|
'principal-app'?: string;
|
|
6
|
-
'test-apps'?: string[];
|
|
9
|
+
'test-apps'?: string | string[];
|
|
7
10
|
docs?: string;
|
|
11
|
+
isOk?: boolean;
|
|
8
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ofidj/contracts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.6.22",
|
|
4
4
|
"author": "contact@fidj.ovh",
|
|
5
5
|
"description": "TypeScript API contracts for Fidj services - request/response interfaces for REST endpoints",
|
|
6
6
|
"keywords": [
|
|
@@ -29,13 +29,12 @@
|
|
|
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
31
|
"bp:update-changelog-dates": "node ./scripts/bp/update-changelog-date.cjs",
|
|
32
|
-
"bp:style:fix": "eslint 'src/**/*.ts' --fix --no-error-on-unmatched-pattern && prettier --write \"src/**/*.ts\" --no-error-on-unmatched-pattern",
|
|
33
|
-
"bp:use-local-deps": "node ./scripts/bp/switch-dependencies.cjs local && npm run bp:_clean",
|
|
34
|
-
"bp:use-remote-deps": "node ./scripts/bp/switch-dependencies.cjs remote && npm run bp:_clean",
|
|
32
|
+
"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",
|
|
35
33
|
"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))",
|
|
36
34
|
"bp:branch:squash": "node ./scripts/bp/squash-commits.cjs",
|
|
37
35
|
"bp:branch:check-before-release": "npm run bp:use-remote-deps && node ./scripts/bp/check-before-release.cjs",
|
|
38
36
|
"bp:branch:last-push:main": "npm run bp:branch:push && npm run bp:branch:squash && BRANCH=$(git rev-parse --abbrev-ref HEAD) && git checkout main && git merge $BRANCH && git push",
|
|
37
|
+
"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",
|
|
39
38
|
"build": "npm run build:dist",
|
|
40
39
|
"build:dist": "rm -rf dist/ && npx tsc && cp package.json dist/ && cp *.md dist/",
|
|
41
40
|
"test": "echo \"No tests defined yet\" && exit 0"
|