@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.
@@ -500,10 +500,7 @@ declare const orgRecordSchemaDefinition: {
500
500
  type: StringConstructor;
501
501
  };
502
502
  /** The adding user's platform `users._id`. */
503
- addedByUserId: {
504
- type: StringConstructor;
505
- };
506
- addedInSession: {
503
+ addedBy: {
507
504
  type: StringConstructor;
508
505
  };
509
506
  };
@@ -519,6 +516,13 @@ declare const orgAsBuiltSchemaDefinition: {
519
516
  isCustom: {
520
517
  type: BooleanConstructor;
521
518
  };
519
+ /** The pre-0.60 spelling of `addedBy`; PAVE 2.0 rows carry it. */
520
+ addedByUserId: {
521
+ type: StringConstructor;
522
+ };
523
+ addedInSession: {
524
+ type: StringConstructor;
525
+ };
522
526
  division: {
523
527
  type: StringConstructor;
524
528
  };
@@ -500,10 +500,7 @@ declare const orgRecordSchemaDefinition: {
500
500
  type: StringConstructor;
501
501
  };
502
502
  /** The adding user's platform `users._id`. */
503
- addedByUserId: {
504
- type: StringConstructor;
505
- };
506
- addedInSession: {
503
+ addedBy: {
507
504
  type: StringConstructor;
508
505
  };
509
506
  };
@@ -519,6 +516,13 @@ declare const orgAsBuiltSchemaDefinition: {
519
516
  isCustom: {
520
517
  type: BooleanConstructor;
521
518
  };
519
+ /** The pre-0.60 spelling of `addedBy`; PAVE 2.0 rows carry it. */
520
+ addedByUserId: {
521
+ type: StringConstructor;
522
+ };
523
+ addedInSession: {
524
+ type: StringConstructor;
525
+ };
522
526
  division: {
523
527
  type: StringConstructor;
524
528
  };
@@ -5856,12 +5856,13 @@ var ORG_RECORD_FIELD_NAMES = Object.freeze([
5856
5856
  "vspPrivateNonprofit",
5857
5857
  "reviewStatus",
5858
5858
  "addedInApp",
5859
- "addedByUserId",
5860
- "addedInSession"
5859
+ "addedBy"
5861
5860
  ]);
5862
5861
  var ORG_AS_BUILT_FIELD_NAMES = Object.freeze([
5863
5862
  "requiresROI",
5864
5863
  "isCustom",
5864
+ "addedByUserId",
5865
+ "addedInSession",
5865
5866
  "division",
5866
5867
  "typeOverride",
5867
5868
  "typeKey"
@@ -5953,13 +5954,15 @@ var orgRecordSchemaDefinition = {
5953
5954
  /** The app it was added in (`thread`, `pave`, `leads`, `platform`). */
5954
5955
  addedInApp: { type: String },
5955
5956
  /** The adding user's platform `users._id`. */
5956
- addedByUserId: { type: String },
5957
- addedInSession: { type: String }
5957
+ addedBy: { type: String }
5958
5958
  };
5959
5959
  var orgAsBuiltSchemaDefinition = {
5960
5960
  /** Informational only: the release check reads the sender's `vsp` (GDR § 5.17 clause 2). */
5961
5961
  requiresROI: { type: Boolean },
5962
5962
  isCustom: { type: Boolean },
5963
+ /** The pre-0.60 spelling of `addedBy`; PAVE 2.0 rows carry it. */
5964
+ addedByUserId: { type: String },
5965
+ addedInSession: { type: String },
5963
5966
  division: { type: String },
5964
5967
  typeOverride: { type: String },
5965
5968
  /** The CVC-48 key PAVE writes beside a numeric `type`; retires with the type migration. */
@@ -5984,10 +5987,11 @@ var EXPECTED_INSTANCE = {
5984
5987
  vspPrivateNonprofit: "Boolean",
5985
5988
  reviewStatus: "String",
5986
5989
  addedInApp: "String",
5987
- addedByUserId: "String",
5988
- addedInSession: "String",
5990
+ addedBy: "String",
5989
5991
  requiresROI: "Boolean",
5990
5992
  isCustom: "Boolean",
5993
+ addedByUserId: "String",
5994
+ addedInSession: "String",
5991
5995
  division: "String",
5992
5996
  typeOverride: "String",
5993
5997
  typeKey: "String"