@opencxh/domain 1.150.0 → 1.151.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.
@@ -36,6 +36,19 @@ export interface MessageTemplateFolder {
36
36
  id: string;
37
37
  name: string;
38
38
  parentFolderId?: string;
39
+ /**
40
+ * Who this folder is for — the same three cases as the templates inside it.
41
+ *
42
+ * A folder used to be org-wide by construction, which made it a label and
43
+ * nothing more: a personal template sat in a folder everyone could see, and
44
+ * the folder itself announced its existence to the whole tenant. Scoping the
45
+ * folder is what lets the rail hide a category that is not yours.
46
+ *
47
+ * Optional on the type because rows written before this field may still
48
+ * exist. An absent scope reads as company-wide — the same answer a migration
49
+ * would have written, without the migration.
50
+ */
51
+ ownerScope?: OwnerScope;
39
52
  organizationId: string;
40
53
  createdBy: string;
41
54
  createdAt?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.150.0",
3
+ "version": "1.151.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",