@mj-biz-apps/common-core-entities-server 5.54.0 → 5.55.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.
@@ -14,18 +14,14 @@ import { mjBizAppsCommonPersonEntity } from '@mj-biz-apps/common-entities';
14
14
  * (job applicants, CRM contacts, message senders) must not implicitly gain
15
15
  * platform access. See https://github.com/MemberJunction/bizapps-common/issues/36.
16
16
  *
17
- * As of v5.33.0, saving or deleting a Person has **no MJ User side effects**.
18
- * Platform layers that bind people to MJ Users (e.g., BCSaaS) do so through
19
- * their own IS-A subtype of this entity (BCSaaS `BC: People`), where
20
- * all provisioning/sync lifecycle behavior now lives. `Person.LinkedUserID`
21
- * is deprecated (EntityField Status='Deprecated') and no longer read or
22
- * written by bizapps-common.
23
- *
24
- * @deprecated This class is retained only so existing downstream subclasses
25
- * (e.g., BCSaaS ≤1.7 `BCSaaSPersonEntityServer`) continue to load against
26
- * BAC 5.33.x. It adds no behavior over the generated entity and will be
27
- * removed in the next major release — extend `mjBizAppsCommonPersonEntity`
28
- * directly instead.
17
+ * As of v5.33.0, saving or deleting a Person has **no automatic MJ User provisioning
18
+ * or lifecycle side effects**. However, `Person.LinkedUserID` remains an **active,
19
+ * supported optional 1:1 foreign key** (`UQ_Person_LinkedUserID` where not null)
20
+ * linking a `Person` record to an authenticated `MJ: Users` security principal.
21
+ * Downstream applications (Tasks, Issues) and user-scoped agents (such as Chief of Staff)
22
+ * use `LinkedUserID` to resolve a platform user's organizational `Person` identity,
23
+ * while platform layers that need custom user-provisioning rules (e.g., BCSaaS `BC: People`)
24
+ * can implement them in an IS-A subtype or explicit administrative workflow.
29
25
  */
30
26
  export declare class PersonEntityServer extends mjBizAppsCommonPersonEntity {
31
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"PersonEntityServer.d.ts","sourceRoot":"","sources":["../src/PersonEntityServer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAG3E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBACa,kBAAmB,SAAQ,2BAA2B;IAE/D;;;OAGG;IACH,SAAS,CAAC,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS;IAOpE;;;OAGG;IACH,SAAS,CAAC,aAAa,IAAI,MAAM;IAOjC;;;;OAIG;IACH,SAAS,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CAIlD"}
1
+ {"version":3,"file":"PersonEntityServer.d.ts","sourceRoot":"","sources":["../src/PersonEntityServer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAG3E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBACa,kBAAmB,SAAQ,2BAA2B;IAE/D;;;OAGG;IACH,SAAS,CAAC,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS;IAOpE;;;OAGG;IACH,SAAS,CAAC,aAAa,IAAI,MAAM;IAOjC;;;;OAIG;IACH,SAAS,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CAIlD"}
@@ -22,18 +22,14 @@ import { UserCache } from '@memberjunction/generic-database-provider';
22
22
  * (job applicants, CRM contacts, message senders) must not implicitly gain
23
23
  * platform access. See https://github.com/MemberJunction/bizapps-common/issues/36.
24
24
  *
25
- * As of v5.33.0, saving or deleting a Person has **no MJ User side effects**.
26
- * Platform layers that bind people to MJ Users (e.g., BCSaaS) do so through
27
- * their own IS-A subtype of this entity (BCSaaS `BC: People`), where
28
- * all provisioning/sync lifecycle behavior now lives. `Person.LinkedUserID`
29
- * is deprecated (EntityField Status='Deprecated') and no longer read or
30
- * written by bizapps-common.
31
- *
32
- * @deprecated This class is retained only so existing downstream subclasses
33
- * (e.g., BCSaaS ≤1.7 `BCSaaSPersonEntityServer`) continue to load against
34
- * BAC 5.33.x. It adds no behavior over the generated entity and will be
35
- * removed in the next major release — extend `mjBizAppsCommonPersonEntity`
36
- * directly instead.
25
+ * As of v5.33.0, saving or deleting a Person has **no automatic MJ User provisioning
26
+ * or lifecycle side effects**. However, `Person.LinkedUserID` remains an **active,
27
+ * supported optional 1:1 foreign key** (`UQ_Person_LinkedUserID` where not null)
28
+ * linking a `Person` record to an authenticated `MJ: Users` security principal.
29
+ * Downstream applications (Tasks, Issues) and user-scoped agents (such as Chief of Staff)
30
+ * use `LinkedUserID` to resolve a platform user's organizational `Person` identity,
31
+ * while platform layers that need custom user-provisioning rules (e.g., BCSaaS `BC: People`)
32
+ * can implement them in an IS-A subtype or explicit administrative workflow.
37
33
  */
38
34
  let PersonEntityServer = class PersonEntityServer extends mjBizAppsCommonPersonEntity {
39
35
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"PersonEntityServer.js","sourceRoot":"","sources":["../src/PersonEntityServer.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAY,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,2BAA2B;IAE/D;;;OAGG;IACO,qBAAqB,CAAC,KAAa;QACzC,MAAM,eAAe,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;QAC5C,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CACvB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,eAAe,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KAAK,CAAC,IAAI,CACvB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,eAAe,CACjD,CAAC;IACN,CAAC;IAED;;;OAGG;IACO,aAAa;QACnB,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,IAAI,IAAI,CAAC,SAAS;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/C,IAAI,IAAI,CAAC,QAAQ;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC7C,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,SAAS,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACO,YAAY,CAAC,MAAc;QACjC,MAAM,YAAY,GAAG,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC;QACvD,OAAO,UAAU,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAjCY,kBAAkB;IAD9B,aAAa,CAAC,UAAU,EAAE,2BAA2B,CAAC;GAC1C,kBAAkB,CAiC9B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mj-biz-apps/common-core-entities-server",
3
3
  "type": "module",
4
- "version": "5.54.0",
4
+ "version": "5.55.0",
5
5
  "description": "Server-side entity subclasses for BizApps Common — lifecycle hooks for People, Organizations, etc.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -14,20 +14,20 @@
14
14
  "author": "MemberJunction.com",
15
15
  "license": "BUSL-1.1",
16
16
  "devDependencies": {
17
- "@memberjunction/core": "^6.1.5",
18
- "@memberjunction/core-entities": "^6.1.5",
19
- "@memberjunction/generic-database-provider": "^6.1.5",
20
- "@memberjunction/global": "^6.1.5",
17
+ "@memberjunction/core": "^6.1.6",
18
+ "@memberjunction/core-entities": "^6.1.6",
19
+ "@memberjunction/generic-database-provider": "^6.1.6",
20
+ "@memberjunction/global": "^6.1.6",
21
21
  "typescript": "^5.9.3"
22
22
  },
23
23
  "dependencies": {
24
- "@mj-biz-apps/common-entities": "^5.54.0"
24
+ "@mj-biz-apps/common-entities": "^5.55.0"
25
25
  },
26
26
  "peerDependencies": {
27
- "@memberjunction/core": "^6.1.5",
28
- "@memberjunction/core-entities": "^6.1.5",
29
- "@memberjunction/generic-database-provider": "^6.1.5",
30
- "@memberjunction/global": "^6.1.5"
27
+ "@memberjunction/core": "^6.1.6",
28
+ "@memberjunction/core-entities": "^6.1.6",
29
+ "@memberjunction/generic-database-provider": "^6.1.6",
30
+ "@memberjunction/global": "^6.1.6"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",