@htilabs/platform-common-models 0.59.0 → 0.60.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 +18 -1
- package/dist/index.cjs +10 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/org-directory/index.cjs +5 -4
- package/dist/org-directory/index.cjs.map +1 -1
- package/dist/org-directory/index.d.cts +15 -7
- package/dist/org-directory/index.d.ts +15 -7
- package/dist/org-directory/index.js +5 -4
- package/dist/org-directory/index.js.map +1 -1
- package/dist/points-of-contact/index.cjs +4 -3
- package/dist/points-of-contact/index.cjs.map +1 -1
- package/dist/points-of-contact/index.js +4 -3
- package/dist/points-of-contact/index.js.map +1 -1
- package/dist/schemas/index.cjs +10 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +8 -4
- package/dist/schemas/index.d.ts +8 -4
- package/dist/schemas/index.js +10 -6
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/src/orgDirectory/__tests__/orgRecord.test.ts +6 -3
- package/src/orgDirectory/orgRecord.ts +14 -6
- package/src/orgDirectory/rules.ts +3 -2
- package/src/schemas/organization.ts +7 -4
package/dist/index.js
CHANGED
|
@@ -17779,12 +17779,13 @@ var ORG_RECORD_FIELD_NAMES = Object.freeze([
|
|
|
17779
17779
|
"vspPrivateNonprofit",
|
|
17780
17780
|
"reviewStatus",
|
|
17781
17781
|
"addedInApp",
|
|
17782
|
-
"
|
|
17783
|
-
"addedInSession"
|
|
17782
|
+
"addedBy"
|
|
17784
17783
|
]);
|
|
17785
17784
|
var ORG_AS_BUILT_FIELD_NAMES = Object.freeze([
|
|
17786
17785
|
"requiresROI",
|
|
17787
17786
|
"isCustom",
|
|
17787
|
+
"addedByUserId",
|
|
17788
|
+
"addedInSession",
|
|
17788
17789
|
"division",
|
|
17789
17790
|
"typeOverride",
|
|
17790
17791
|
"typeKey"
|
|
@@ -17876,13 +17877,15 @@ var orgRecordSchemaDefinition = {
|
|
|
17876
17877
|
/** The app it was added in (`thread`, `pave`, `leads`, `platform`). */
|
|
17877
17878
|
addedInApp: { type: String },
|
|
17878
17879
|
/** The adding user's platform `users._id`. */
|
|
17879
|
-
|
|
17880
|
-
addedInSession: { type: String }
|
|
17880
|
+
addedBy: { type: String }
|
|
17881
17881
|
};
|
|
17882
17882
|
var orgAsBuiltSchemaDefinition = {
|
|
17883
17883
|
/** Informational only: the release check reads the sender's `vsp` (GDR § 5.17 clause 2). */
|
|
17884
17884
|
requiresROI: { type: Boolean },
|
|
17885
17885
|
isCustom: { type: Boolean },
|
|
17886
|
+
/** The pre-0.60 spelling of `addedBy`; PAVE 2.0 rows carry it. */
|
|
17887
|
+
addedByUserId: { type: String },
|
|
17888
|
+
addedInSession: { type: String },
|
|
17886
17889
|
division: { type: String },
|
|
17887
17890
|
typeOverride: { type: String },
|
|
17888
17891
|
/** The CVC-48 key PAVE writes beside a numeric `type`; retires with the type migration. */
|
|
@@ -17907,10 +17910,11 @@ var EXPECTED_INSTANCE = {
|
|
|
17907
17910
|
vspPrivateNonprofit: "Boolean",
|
|
17908
17911
|
reviewStatus: "String",
|
|
17909
17912
|
addedInApp: "String",
|
|
17910
|
-
|
|
17911
|
-
addedInSession: "String",
|
|
17913
|
+
addedBy: "String",
|
|
17912
17914
|
requiresROI: "Boolean",
|
|
17913
17915
|
isCustom: "Boolean",
|
|
17916
|
+
addedByUserId: "String",
|
|
17917
|
+
addedInSession: "String",
|
|
17914
17918
|
division: "String",
|
|
17915
17919
|
typeOverride: "String",
|
|
17916
17920
|
typeKey: "String"
|