@abyss-project/tools 1.4.0 → 2.0.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.
@@ -8,8 +8,9 @@ import { IRetrospective } from './retrospective.dto';
8
8
  import { IShortLink } from './short-link.dto';
9
9
  export interface IUser {
10
10
  id?: string;
11
- apiKey: string;
12
11
  isAdmin: boolean;
12
+ personalApiKeyLookupHash?: string | null;
13
+ personalApiKeyRevokedAt?: Date | null;
13
14
  updatedAt?: Date;
14
15
  createdAt?: Date;
15
16
  projects?: IProject[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/tools",
3
- "version": "1.4.0",
3
+ "version": "2.0.0",
4
4
  "description": "Core package to interact with Abyss-Project Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,8 +9,12 @@ import { IShortLink } from './short-link.dto';
9
9
 
10
10
  export interface IUser {
11
11
  id?: string;
12
- apiKey: string;
13
12
  isAdmin: boolean;
13
+ // Personal API key mirror from abyss-main (ADR-0037). The lookup hash is the
14
+ // non-reversible sha256 fingerprint used for local validation; revokedAt marks
15
+ // a mirrored key that must no longer authenticate.
16
+ personalApiKeyLookupHash?: string | null;
17
+ personalApiKeyRevokedAt?: Date | null;
14
18
  updatedAt?: Date;
15
19
  createdAt?: Date;
16
20