@happyvertical/smrt-profiles 0.60.17 → 0.61.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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-profiles",
5
- "packageVersion": "0.60.17",
5
+ "packageVersion": "0.61.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-profiles:ApiKeyCollection": {
8
8
  "name": "apikeycollection",
@@ -10231,6 +10231,35 @@
10231
10231
  "Needs a server because its package does not build for a browser: node:crypto in root; core migrations (node:os); and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626)."
10232
10232
  ]
10233
10233
  }
10234
+ },
10235
+ {
10236
+ "id": "profiles.identity",
10237
+ "className": "ProfileIdentityRecipe",
10238
+ "label": "People and organizations",
10239
+ "summary": "Name and classify the people and organizations you work with.",
10240
+ "synonyms": [],
10241
+ "models": [
10242
+ "@happyvertical/smrt-profiles:Profile",
10243
+ "@happyvertical/smrt-profiles:ProfileType"
10244
+ ],
10245
+ "nav": [],
10246
+ "requires": [],
10247
+ "section": {
10248
+ "id": "people",
10249
+ "label": "People",
10250
+ "icon": "users",
10251
+ "description": "The people and organizations your business works with."
10252
+ },
10253
+ "help": {
10254
+ "markdown": "## People and organizations\nKeep the names and contact details used by customers and other business records.\nChoose an existing person when linking a record, or create a Profile first.\nEach Profile can have a ProfileType such as person or organization. Types classify\nidentities; they do not own the people assigned to them.\n\n## Shared identity\nBusiness recipes require this recipe so their name pickers and linked records\nuse the same Profile and ProfileType models. Changing a name here updates what\nlinked records display. Access still follows the application's tenant and\npermission rules.\n",
10255
+ "fieldRefs": []
10256
+ },
10257
+ "demo": {
10258
+ "mode": "server",
10259
+ "reasons": [
10260
+ "Needs a server because its package does not build for a browser: node:crypto in root; core migrations (node:os); and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626)."
10261
+ ]
10262
+ }
10234
10263
  }
10235
10264
  ],
10236
10265
  "smrtDependencies": [
package/dist/recipes.d.ts CHANGED
@@ -1,5 +1,22 @@
1
1
  import { SmrtRecipe } from '@happyvertical/smrt-core';
2
2
  import { AuditLog } from './models/AuditLog.js';
3
+ import { Profile } from './models/Profile.js';
4
+ import { ProfileType } from './models/ProfileType.js';
5
+ /** Identity prerequisites for recipes that create people or organizations. */
6
+ export declare class ProfileIdentityRecipe extends SmrtRecipe {
7
+ static id: string;
8
+ static label: string;
9
+ static summary: string;
10
+ static help: string;
11
+ static section: {
12
+ id: string;
13
+ label: string;
14
+ icon: string;
15
+ description: string;
16
+ };
17
+ static models: (typeof Profile | typeof ProfileType)[];
18
+ static nav: never[];
19
+ }
3
20
  /** Authorized record history in the application activity feed. */
4
21
  export declare class AuditLogRecipe extends SmrtRecipe {
5
22
  static id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/recipes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,kEAAkE;AAClE,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,EAAE,SAAwB;IACjC,MAAM,CAAC,KAAK,SAAkB;IAC9B,MAAM,CAAC,OAAO,SAA2C;IACzD,MAAM,CAAC,QAAQ,WAAiD;IAChE,MAAM,CAAC,KAAK;;;;MAIV;IACF,MAAM,CAAC,OAAO;;;;;MAKZ;IACF,MAAM,CAAC,MAAM,sBAAc;IAC3B,MAAM,CAAC,OAAO,EAAG,MAAM,CAAU;IACjC,MAAM,CAAC,QAAQ;;;;;OAOJ;IACX,MAAM,CAAC,SAAS;;;;;QAOd;IACF,MAAM,CAAC,QAAQ;;;;;;;;;;MAYb;IAEF,MAAM,CAAC,GAAG,UAAM;IAChB,MAAM,CAAC,IAAI,SAAyB;CACrC"}
1
+ {"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/recipes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,8EAA8E;AAC9E,qBAAa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,EAAE,SAAuB;IAChC,MAAM,CAAC,KAAK,SAA8B;IAC1C,MAAM,CAAC,OAAO,SACoD;IAClE,MAAM,CAAC,IAAI,SAAwB;IACnC,MAAM,CAAC,OAAO;;;;;MAKZ;IACF,MAAM,CAAC,MAAM,0CAA0B;IACvC,MAAM,CAAC,GAAG,UAAM;CACjB;AAED,kEAAkE;AAClE,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,EAAE,SAAwB;IACjC,MAAM,CAAC,KAAK,SAAkB;IAC9B,MAAM,CAAC,OAAO,SAA2C;IACzD,MAAM,CAAC,QAAQ,WAAiD;IAChE,MAAM,CAAC,KAAK;;;;MAIV;IACF,MAAM,CAAC,OAAO;;;;;MAKZ;IACF,MAAM,CAAC,MAAM,sBAAc;IAC3B,MAAM,CAAC,OAAO,EAAG,MAAM,CAAU;IACjC,MAAM,CAAC,QAAQ;;;;;OAOJ;IACX,MAAM,CAAC,SAAS;;;;;QAOd;IACF,MAAM,CAAC,QAAQ;;;;;;;;;;MAYb;IAEF,MAAM,CAAC,GAAG,UAAM;IAChB,MAAM,CAAC,IAAI,SAAyB;CACrC"}
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-profiles",
6
- "packageVersion": "0.60.17",
6
+ "packageVersion": "0.61.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "8eb6fbf10ad5af2a56334c6ef301e2bfd6a289364efd95edbb297c10db3f9ba7",
11
- "packageJson": "fd69db85a23ae71f7206631d9da427f79d72205d36bee5d6aa51c2c55ea386be",
10
+ "manifest": "6100fdd7dc028443208ef4fd69bba69c8c97a7db820a69ed295deecf6d716e46",
11
+ "packageJson": "cab8d8c03db8ce13c79a24197da5943ff9d064206aac0588cb12385d3506d90f",
12
12
  "agents": "d92d03c2765795f1a984b02f9cd51dff3ded3a7b68e41b9cb133cf6df2c5c83b"
13
13
  },
14
14
  "exports": [
@@ -10441,6 +10441,35 @@
10441
10441
  "Needs a server because its package does not build for a browser: node:crypto in root; core migrations (node:os); and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626)."
10442
10442
  ]
10443
10443
  }
10444
+ },
10445
+ {
10446
+ "id": "profiles.identity",
10447
+ "className": "ProfileIdentityRecipe",
10448
+ "label": "People and organizations",
10449
+ "summary": "Name and classify the people and organizations you work with.",
10450
+ "synonyms": [],
10451
+ "models": [
10452
+ "@happyvertical/smrt-profiles:Profile",
10453
+ "@happyvertical/smrt-profiles:ProfileType"
10454
+ ],
10455
+ "nav": [],
10456
+ "requires": [],
10457
+ "section": {
10458
+ "id": "people",
10459
+ "label": "People",
10460
+ "icon": "users",
10461
+ "description": "The people and organizations your business works with."
10462
+ },
10463
+ "help": {
10464
+ "markdown": "## People and organizations\nKeep the names and contact details used by customers and other business records.\nChoose an existing person when linking a record, or create a Profile first.\nEach Profile can have a ProfileType such as person or organization. Types classify\nidentities; they do not own the people assigned to them.\n\n## Shared identity\nBusiness recipes require this recipe so their name pickers and linked records\nuse the same Profile and ProfileType models. Changing a name here updates what\nlinked records display. Access still follows the application's tenant and\npermission rules.\n",
10465
+ "fieldRefs": []
10466
+ },
10467
+ "demo": {
10468
+ "mode": "server",
10469
+ "reasons": [
10470
+ "Needs a server because its package does not build for a browser: node:crypto in root; core migrations (node:os); and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626)."
10471
+ ]
10472
+ }
10444
10473
  }
10445
10474
  ],
10446
10475
  "browser": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-profiles",
3
- "version": "0.60.17",
3
+ "version": "0.61.0",
4
4
  "description": "Profile management system with relationships, metadata, and reciprocal associations for SMRT framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,21 +27,21 @@
27
27
  "./manifest.json": "./dist/manifest.json"
28
28
  },
29
29
  "dependencies": {
30
- "@happyvertical/ai": "^0.112.2",
31
- "@happyvertical/files": "^0.112.2",
32
- "@happyvertical/logger": "^0.112.2",
33
- "@happyvertical/smrt-assets": "0.60.17",
34
- "@happyvertical/smrt-core": "0.60.17",
35
- "@happyvertical/smrt-prompts": "0.60.17",
36
- "@happyvertical/smrt-tenancy": "0.60.17",
37
- "@happyvertical/sql": "^0.112.2",
38
- "@happyvertical/utils": "^0.112.2",
30
+ "@happyvertical/ai": "^0.112.3",
31
+ "@happyvertical/files": "^0.112.3",
32
+ "@happyvertical/logger": "^0.112.3",
33
+ "@happyvertical/smrt-assets": "0.61.0",
34
+ "@happyvertical/smrt-core": "0.61.0",
35
+ "@happyvertical/smrt-prompts": "0.61.0",
36
+ "@happyvertical/smrt-tenancy": "0.61.0",
37
+ "@happyvertical/sql": "^0.112.3",
38
+ "@happyvertical/utils": "^0.112.3",
39
39
  "@noble/curves": "^2.4.0",
40
40
  "bech32": "^2.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@faker-js/faker": "^10.6.0",
44
- "@happyvertical/smrt-vitest": "0.60.17",
44
+ "@happyvertical/smrt-vitest": "0.61.0",
45
45
  "@types/node": "24.13.6",
46
46
  "typescript": "6.0.3",
47
47
  "vite": "8.1.6",