@ofidj/contracts 3.7.3 → 3.9.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/bpInfo.js +1 -1
- package/fidj-api/FidjApiRateLimitsResponse.d.ts +13 -0
- package/fidj-api/FidjApiRateLimitsResponse.js +3 -0
- package/fidj-api/FidjApiRateLimitsResponse.js.map +1 -0
- package/fidj-api/FidjApiStatusResponse.d.ts +1 -0
- package/fidj-api/FidjApiUsersMeDetailsResponse.d.ts +1 -0
- package/fidj-api/identity.d.ts +2 -2
- package/fidj-api/index.d.ts +2 -1
- package/fidj-api/index.js +1 -0
- package/fidj-api/index.js.map +1 -1
- package/package.json +3 -2
package/bpInfo.js
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface FidjApiRateLimitRow {
|
|
2
|
+
appId?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
count: number;
|
|
5
|
+
lastAt?: string;
|
|
6
|
+
sources: number;
|
|
7
|
+
limiters: Record<string, number>;
|
|
8
|
+
}
|
|
9
|
+
export interface FidjApiRateLimitsResponse {
|
|
10
|
+
since: string;
|
|
11
|
+
apps: FidjApiRateLimitRow[];
|
|
12
|
+
unattributed: FidjApiRateLimitRow;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FidjApiRateLimitsResponse.js","sourceRoot":"","sources":["../../src/fidj-api/FidjApiRateLimitsResponse.ts"],"names":[],"mappings":""}
|
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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './FidjApiRateLimitsResponse';
|
|
1
2
|
export * from './FidjApiStatusResponse';
|
|
2
3
|
export * from './FidjApiErrorResponse';
|
|
3
4
|
export * from './FidjApiOAuthTokenRequest';
|
|
@@ -27,5 +28,5 @@ export * from './FidjApiPrivacyResponse';
|
|
|
27
28
|
export * from './FidjApiAccountRecovery';
|
|
28
29
|
export * from './FidjApiGroups';
|
|
29
30
|
export * from './FidjApiPurposes';
|
|
30
|
-
export * from
|
|
31
|
+
export * from './identity';
|
|
31
32
|
export * from './FidjApiAccountSelfService';
|
package/fidj-api/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Common
|
|
18
|
+
__exportStar(require("./FidjApiRateLimitsResponse"), exports);
|
|
18
19
|
__exportStar(require("./FidjApiStatusResponse"), exports);
|
|
19
20
|
__exportStar(require("./FidjApiErrorResponse"), exports);
|
|
20
21
|
// Auth
|
package/fidj-api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fidj-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,0DAAwC;AACxC,yDAAuC;AAEvC,OAAO;AACP,6DAA2C;AAC3C,8DAA4C;AAE5C,QAAQ;AACR,8DAA4C;AAC5C,+DAA6C;AAC7C,2DAAyC;AACzC,kEAAgD;AAChD,gEAA8C;AAC9C,8DAA4C;AAE5C,kBAAkB;AAClB,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD;AAEjD,OAAO;AACP,6DAA2C;AAC3C,8DAA4C;AAC5C,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,6DAA2C;AAC3C,iEAA+C;AAE/C,YAAY;AACZ,iEAA+C;AAC/C,kEAAgD;AAChD,kEAAgD;AAEhD,SAAS;AACT,+DAA6C;AAC7C,gEAA8C;AAE9C,2DAAyC;AAEzC,2DAAyC;AAEzC,kDAAgC;AAChC,oDAAkC;AAElC,6CAA2B;AAC3B,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fidj-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,8DAA4C;AAC5C,0DAAwC;AACxC,yDAAuC;AAEvC,OAAO;AACP,6DAA2C;AAC3C,8DAA4C;AAE5C,QAAQ;AACR,8DAA4C;AAC5C,+DAA6C;AAC7C,2DAAyC;AACzC,kEAAgD;AAChD,gEAA8C;AAC9C,8DAA4C;AAE5C,kBAAkB;AAClB,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD;AAEjD,OAAO;AACP,6DAA2C;AAC3C,8DAA4C;AAC5C,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,6DAA2C;AAC3C,iEAA+C;AAE/C,YAAY;AACZ,iEAA+C;AAC/C,kEAAgD;AAChD,kEAAgD;AAEhD,SAAS;AACT,+DAA6C;AAC7C,gEAA8C;AAE9C,2DAAyC;AAEzC,2DAAyC;AAEzC,kDAAgC;AAChC,oDAAkC;AAElC,6CAA2B;AAC3B,8DAA4C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ofidj/contracts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.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": [
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"version:sync": "node ./scripts/bp/sync-version.cjs",
|
|
32
32
|
"bp:update-changelog-dates": "node ./scripts/bp/update-changelog-date.cjs",
|
|
33
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",
|
|
34
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))",
|
|
35
36
|
"bp:branch:squash": "node ./scripts/bp/squash-commits.cjs",
|
|
36
37
|
"bp:branch:check-before-release": "npm run bp:use-remote-deps && node ./scripts/bp/check-before-release.cjs",
|
|
@@ -40,7 +41,6 @@
|
|
|
40
41
|
"build:dist": "rm -rf dist/ && npx tsc && cp package.json dist/ && cp *.md dist/",
|
|
41
42
|
"test": "node --test test/*.test.mjs"
|
|
42
43
|
},
|
|
43
|
-
"dependencies": {},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@eslint/eslintrc": "~3.3.1",
|
|
46
46
|
"@eslint/js": "~9.39.1",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"eslint-config-prettier": "~10.1.5",
|
|
52
52
|
"eslint-plugin-import": "~2.32.0",
|
|
53
53
|
"eslint-plugin-prettier": "~5.5.4",
|
|
54
|
+
"knip": "^6.35.1",
|
|
54
55
|
"prettier": "~3.7.0",
|
|
55
56
|
"typescript": "~5.9.3"
|
|
56
57
|
}
|