@abyss-project/tools 2.18.0 → 3.1.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/README.md CHANGED
@@ -29,4 +29,4 @@ Voir la [documentation produit](https://docs.abyss-project.fr/tools) pour les gu
29
29
 
30
30
  ## Support
31
31
 
32
- Pour toute demande, ouvrir un ticket depuis [l'application Abyss](https://app.abyss-project.fr/dashboard/my-account/ticket/create).
32
+ Pour toute demande, ouvrir un ticket depuis [l'application Abyss](https://app.abyss-project.fr/dashboard/account/tickets/create).
@@ -9,7 +9,7 @@ export interface ISyncOrganizationAbyssAdminBody {
9
9
  export interface ISyncProjectAbyssAdminBody {
10
10
  id: string;
11
11
  name: string;
12
- createdByUserId: string;
12
+ createdByUserId: string | null;
13
13
  organizationId: string;
14
14
  }
15
15
  export type IGetProjectContentSummaryAdminParams = {
@@ -7,7 +7,7 @@ import { IUser } from './user.dto';
7
7
  export interface IProject {
8
8
  id?: string;
9
9
  name: string;
10
- createdByUserId: string;
10
+ createdByUserId: string | null;
11
11
  organizationId: string;
12
12
  updatedAt?: Date;
13
13
  createdAt?: Date;
@@ -10,6 +10,7 @@ export interface IUser {
10
10
  isAdmin: boolean;
11
11
  personalApiKeyLookupHash?: string | null;
12
12
  personalApiKeyRevokedAt?: Date | null;
13
+ accountDeletedAt?: 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": "2.18.0",
3
+ "version": "3.1.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",
@@ -11,7 +11,8 @@ export interface ISyncOrganizationAbyssAdminBody {
11
11
  export interface ISyncProjectAbyssAdminBody {
12
12
  id: string;
13
13
  name: string;
14
- createdByUserId: string;
14
+ /** null when the author's account was deleted: the project outlives it (#199). */
15
+ createdByUserId: string | null;
15
16
  organizationId: string;
16
17
  }
17
18
 
@@ -8,7 +8,8 @@ import { IUser } from './user.dto';
8
8
  export interface IProject {
9
9
  id?: string;
10
10
  name: string;
11
- createdByUserId: string; // Historical creator of the project. NOT used for access control.
11
+ // Historical creator of the project, null once their account is deleted. NOT used for access control.
12
+ createdByUserId: string | null;
12
13
  organizationId: string;
13
14
  updatedAt?: Date;
14
15
  createdAt?: Date;
@@ -14,6 +14,9 @@ export interface IUser {
14
14
  // a mirrored key that must no longer authenticate.
15
15
  personalApiKeyLookupHash?: string | null;
16
16
  personalApiKeyRevokedAt?: Date | null;
17
+ // Set when the account was deleted in abyss-main (USER_DELETED, #199): the row stays, marked,
18
+ // and a session token signed before the deletion no longer authenticates.
19
+ accountDeletedAt?: Date | null;
17
20
  updatedAt?: Date;
18
21
  createdAt?: Date;
19
22