@memberjunction/graphql-dataprovider 0.9.170 → 0.9.172

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.
@@ -76,12 +76,12 @@ export declare class GraphQLDataProvider extends ProviderBase implements IEntity
76
76
  get ProviderType(): ProviderType;
77
77
  GetRecordChanges(entityName: string, primaryKeyValues: PrimaryKeyValue[]): Promise<RecordChange[]>;
78
78
  /**
79
- * Returns a list of dependencies - records that are linked to the specified Entity/RecordID combination. A dependency is as defined by the relationships in the database. The MemberJunction metadata that is used
79
+ * Returns a list of dependencies - records that are linked to the specified Entity/primaryKeyValues combination. A dependency is as defined by the relationships in the database. The MemberJunction metadata that is used
80
80
  * for this simply reflects the foreign key relationships that exist in the database. The CodeGen tool is what detects all of the relationships and generates the metadata that is used by MemberJunction. The metadata in question
81
81
  * is within the EntityField table and specifically the RelatedEntity and RelatedEntityField columns. In turn, this method uses that metadata and queries the database to determine the dependencies. To get the list of entity dependencies
82
82
  * you can use the utility method GetEntityDependencies(), which doesn't check for dependencies on a specific record, but rather gets the metadata in one shot that can be used for dependency checking.
83
83
  * @param entityName the name of the entity to check
84
- * @param recordId the recordId to check
84
+ * @param primaryKeyValues the primaryKeyValues of the record to check
85
85
  */
86
86
  GetRecordDependencies(entityName: string, primaryKeyValues: PrimaryKeyValue[]): Promise<RecordDependency[]>;
87
87
  MergeRecords(request: RecordMergeRequest): Promise<RecordMergeResult>;
@@ -414,12 +414,12 @@ class GraphQLDataProvider extends core_1.ProviderBase {
414
414
  }
415
415
  }
416
416
  /**
417
- * Returns a list of dependencies - records that are linked to the specified Entity/RecordID combination. A dependency is as defined by the relationships in the database. The MemberJunction metadata that is used
417
+ * Returns a list of dependencies - records that are linked to the specified Entity/primaryKeyValues combination. A dependency is as defined by the relationships in the database. The MemberJunction metadata that is used
418
418
  * for this simply reflects the foreign key relationships that exist in the database. The CodeGen tool is what detects all of the relationships and generates the metadata that is used by MemberJunction. The metadata in question
419
419
  * is within the EntityField table and specifically the RelatedEntity and RelatedEntityField columns. In turn, this method uses that metadata and queries the database to determine the dependencies. To get the list of entity dependencies
420
420
  * you can use the utility method GetEntityDependencies(), which doesn't check for dependencies on a specific record, but rather gets the metadata in one shot that can be used for dependency checking.
421
421
  * @param entityName the name of the entity to check
422
- * @param recordId the recordId to check
422
+ * @param primaryKeyValues the primaryKeyValues of the record to check
423
423
  */
424
424
  async GetRecordDependencies(entityName, primaryKeyValues) {
425
425
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/graphql-dataprovider",
3
- "version": "0.9.170",
3
+ "version": "0.9.172",
4
4
  "description": "MemberJunction: GraphQL Client Data Provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@memberjunction/core": "^0.9.168",
28
- "@memberjunction/core-entities": "^0.9.151",
28
+ "@memberjunction/core-entities": "^0.9.153",
29
29
  "@memberjunction/global": "^0.9.148",
30
30
  "graphql": "^16.6.0",
31
31
  "graphql-request": "^5.2.0",