@breign/db-schemas 0.1.90 → 0.1.91

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.
@@ -37,7 +37,10 @@ export type ProjectSettings = {
37
37
  export type Project = {
38
38
  id: string;
39
39
  organizationId: string;
40
- /** Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation. */
40
+ /**
41
+ * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation, sauf `PERSO`
42
+ * que partagent tous les espaces personnels.
43
+ */
41
44
  key: string;
42
45
  name: string;
43
46
  description: string | null;
@@ -47,6 +50,11 @@ export type Project = {
47
50
  /** Dernier numéro de ticket attribué ; incrémenté à chaque création. */
48
51
  ticketSeq: number;
49
52
  archivedAt: string | null;
53
+ /**
54
+ * Espace de travail personnel : l'utilisateur à qui il appartient, seul humain à le voir. Un par
55
+ * utilisateur et par organisation, clé `PERSO`. Absent ou null pour un espace partagé.
56
+ */
57
+ personalUserId?: string | null;
50
58
  createdBy: ActorRef;
51
59
  createdAt: string;
52
60
  updatedAt: string;
@@ -6,7 +6,7 @@ export type Ticket = {
6
6
  organizationId: string;
7
7
  projectId: string;
8
8
  number: number;
9
- /** Clé du projet suivie du numéro (BRN-142), unique dans l'organisation. */
9
+ /** Clé du projet suivie du numéro (BRN-142), unique dans l'organisation hors espaces personnels (PERSO-3). */
10
10
  key: string;
11
11
  title: string;
12
12
  description: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/db-schemas",
3
- "version": "0.1.90",
3
+ "version": "0.1.91",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -45,7 +45,10 @@ export type ProjectSettings = {
45
45
  export type Project = {
46
46
  id: string;
47
47
  organizationId: string;
48
- /** Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation. */
48
+ /**
49
+ * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation, sauf `PERSO`
50
+ * que partagent tous les espaces personnels.
51
+ */
49
52
  key: string;
50
53
  name: string;
51
54
  description: string | null;
@@ -55,6 +58,11 @@ export type Project = {
55
58
  /** Dernier numéro de ticket attribué ; incrémenté à chaque création. */
56
59
  ticketSeq: number;
57
60
  archivedAt: string | null;
61
+ /**
62
+ * Espace de travail personnel : l'utilisateur à qui il appartient, seul humain à le voir. Un par
63
+ * utilisateur et par organisation, clé `PERSO`. Absent ou null pour un espace partagé.
64
+ */
65
+ personalUserId?: string | null;
58
66
  createdBy: ActorRef;
59
67
  createdAt: string;
60
68
  updatedAt: string;
@@ -15,7 +15,7 @@ export type Ticket = {
15
15
  organizationId: string;
16
16
  projectId: string;
17
17
  number: number;
18
- /** Clé du projet suivie du numéro (BRN-142), unique dans l'organisation. */
18
+ /** Clé du projet suivie du numéro (BRN-142), unique dans l'organisation hors espaces personnels (PERSO-3). */
19
19
  key: string;
20
20
  title: string;
21
21
  description: string | null;