@memberjunction/graphql-dataprovider 2.111.0 → 2.112.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 +13 -13
- package/dist/index.cjs +517 -534
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +494 -511
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GraphQLClient } from 'graphql-request';
|
|
2
2
|
export { gql } from 'graphql-request';
|
|
3
|
-
import { ProviderConfigDataBase, ProviderBase, IEntityDataProvider, IMetadataProvider, IRunViewProvider, IRunReportProvider, IRunQueryProvider, EntityInfo, UserInfo, RunReportParams, RunReportResult, RunQueryParams, RunQueryResult, RunViewParams, RunViewResult, ProviderType, CompositeKey, RecordChange, RecordDependency, KeyValuePair, PotentialDuplicateRequest, PotentialDuplicateResponse, RecordMergeRequest, EntityMergeOptions, RecordMergeResult, BaseEntity, EntitySaveOptions, EntityDeleteOptions, DatasetItemFilterType, DatasetResultType, DatasetStatusResultType, TransactionGroupBase, EntityRecordNameInput, EntityRecordNameResult, ILocalStorageProvider, TransactionResult } from '@memberjunction/
|
|
3
|
+
import { ProviderConfigDataBase, ProviderBase, IEntityDataProvider, IMetadataProvider, IRunViewProvider, IRunReportProvider, IRunQueryProvider, EntityInfo, UserInfo, RunReportParams, RunReportResult, RunQueryParams, RunQueryResult, RunViewParams, RunViewResult, ProviderType, CompositeKey, RecordChange, RecordDependency, KeyValuePair, PotentialDuplicateRequest, PotentialDuplicateResponse, RecordMergeRequest, EntityMergeOptions, RecordMergeResult, BaseEntity, EntitySaveOptions, EntityDeleteOptions, DatasetItemFilterType, DatasetResultType, DatasetStatusResultType, TransactionGroupBase, EntityRecordNameInput, EntityRecordNameResult, ILocalStorageProvider, TransactionResult } from '@memberjunction/global';
|
|
4
4
|
import { UserViewEntityExtended } from '@memberjunction/core-entities';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { ExecuteAgentParams, ExecuteAgentResult } from '@memberjunction/ai-core-plus';
|
|
@@ -431,7 +431,7 @@ interface RunAIPromptResult {
|
|
|
431
431
|
* with the server.
|
|
432
432
|
* In practice - this FILE will NOT exist in the entities library, we need to move to its own separate project
|
|
433
433
|
* so it is only included by the consumer of the entities library if they want to use it.
|
|
434
|
-
**************************************************************************************************************/
|
|
434
|
+
**************************************************************************************************************/
|
|
435
435
|
|
|
436
436
|
type RefreshTokenFunction = () => Promise<string>;
|
|
437
437
|
/**
|
|
@@ -492,7 +492,7 @@ declare class GraphQLDataProvider extends ProviderBase implements IEntityDataPro
|
|
|
492
492
|
get ConfigData(): GraphQLProviderConfigData;
|
|
493
493
|
/**
|
|
494
494
|
* The core schema name constant. This should match the mjCoreSchema config value.
|
|
495
|
-
* TODO: Move this to @memberjunction/
|
|
495
|
+
* TODO: Move this to @memberjunction/global once npm registration issues are resolved
|
|
496
496
|
* @see https://github.com/MemberJunction/MJ/issues/1452
|
|
497
497
|
*/
|
|
498
498
|
protected static readonly MJ_CORE_SCHEMA = "__mj";
|
|
@@ -500,7 +500,7 @@ declare class GraphQLDataProvider extends ProviderBase implements IEntityDataPro
|
|
|
500
500
|
* Sanitizes a string to be a valid GraphQL name component, preserving original capitalization.
|
|
501
501
|
* GraphQL names must match the pattern [_A-Za-z][_0-9A-Za-z]* and cannot start with double underscore
|
|
502
502
|
*
|
|
503
|
-
* TODO: Move this to @memberjunction/
|
|
503
|
+
* TODO: Move this to @memberjunction/global once npm registration issues are resolved
|
|
504
504
|
* @see https://github.com/MemberJunction/MJ/issues/1452
|
|
505
505
|
*
|
|
506
506
|
* Copied from @memberjunction/codegen-lib GraphQLServerGeneratorBase.sanitizeGraphQLName()
|
|
@@ -511,7 +511,7 @@ declare class GraphQLDataProvider extends ProviderBase implements IEntityDataPro
|
|
|
511
511
|
* Preserves original capitalization. Special case: MJ core schema uses "MJ" prefix.
|
|
512
512
|
* This ensures unique type names across different schemas.
|
|
513
513
|
*
|
|
514
|
-
* TODO: Move this to @memberjunction/
|
|
514
|
+
* TODO: Move this to @memberjunction/global once npm registration issues are resolved
|
|
515
515
|
* @see https://github.com/MemberJunction/MJ/issues/1452
|
|
516
516
|
*
|
|
517
517
|
* Copied from @memberjunction/codegen-lib GraphQLServerGeneratorBase.getServerGraphQLTypeNameBase()
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GraphQLClient } from 'graphql-request';
|
|
2
2
|
export { gql } from 'graphql-request';
|
|
3
|
-
import { ProviderConfigDataBase, ProviderBase, IEntityDataProvider, IMetadataProvider, IRunViewProvider, IRunReportProvider, IRunQueryProvider, EntityInfo, UserInfo, RunReportParams, RunReportResult, RunQueryParams, RunQueryResult, RunViewParams, RunViewResult, ProviderType, CompositeKey, RecordChange, RecordDependency, KeyValuePair, PotentialDuplicateRequest, PotentialDuplicateResponse, RecordMergeRequest, EntityMergeOptions, RecordMergeResult, BaseEntity, EntitySaveOptions, EntityDeleteOptions, DatasetItemFilterType, DatasetResultType, DatasetStatusResultType, TransactionGroupBase, EntityRecordNameInput, EntityRecordNameResult, ILocalStorageProvider, TransactionResult } from '@memberjunction/
|
|
3
|
+
import { ProviderConfigDataBase, ProviderBase, IEntityDataProvider, IMetadataProvider, IRunViewProvider, IRunReportProvider, IRunQueryProvider, EntityInfo, UserInfo, RunReportParams, RunReportResult, RunQueryParams, RunQueryResult, RunViewParams, RunViewResult, ProviderType, CompositeKey, RecordChange, RecordDependency, KeyValuePair, PotentialDuplicateRequest, PotentialDuplicateResponse, RecordMergeRequest, EntityMergeOptions, RecordMergeResult, BaseEntity, EntitySaveOptions, EntityDeleteOptions, DatasetItemFilterType, DatasetResultType, DatasetStatusResultType, TransactionGroupBase, EntityRecordNameInput, EntityRecordNameResult, ILocalStorageProvider, TransactionResult } from '@memberjunction/global';
|
|
4
4
|
import { UserViewEntityExtended } from '@memberjunction/core-entities';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { ExecuteAgentParams, ExecuteAgentResult } from '@memberjunction/ai-core-plus';
|
|
@@ -431,7 +431,7 @@ interface RunAIPromptResult {
|
|
|
431
431
|
* with the server.
|
|
432
432
|
* In practice - this FILE will NOT exist in the entities library, we need to move to its own separate project
|
|
433
433
|
* so it is only included by the consumer of the entities library if they want to use it.
|
|
434
|
-
**************************************************************************************************************/
|
|
434
|
+
**************************************************************************************************************/
|
|
435
435
|
|
|
436
436
|
type RefreshTokenFunction = () => Promise<string>;
|
|
437
437
|
/**
|
|
@@ -492,7 +492,7 @@ declare class GraphQLDataProvider extends ProviderBase implements IEntityDataPro
|
|
|
492
492
|
get ConfigData(): GraphQLProviderConfigData;
|
|
493
493
|
/**
|
|
494
494
|
* The core schema name constant. This should match the mjCoreSchema config value.
|
|
495
|
-
* TODO: Move this to @memberjunction/
|
|
495
|
+
* TODO: Move this to @memberjunction/global once npm registration issues are resolved
|
|
496
496
|
* @see https://github.com/MemberJunction/MJ/issues/1452
|
|
497
497
|
*/
|
|
498
498
|
protected static readonly MJ_CORE_SCHEMA = "__mj";
|
|
@@ -500,7 +500,7 @@ declare class GraphQLDataProvider extends ProviderBase implements IEntityDataPro
|
|
|
500
500
|
* Sanitizes a string to be a valid GraphQL name component, preserving original capitalization.
|
|
501
501
|
* GraphQL names must match the pattern [_A-Za-z][_0-9A-Za-z]* and cannot start with double underscore
|
|
502
502
|
*
|
|
503
|
-
* TODO: Move this to @memberjunction/
|
|
503
|
+
* TODO: Move this to @memberjunction/global once npm registration issues are resolved
|
|
504
504
|
* @see https://github.com/MemberJunction/MJ/issues/1452
|
|
505
505
|
*
|
|
506
506
|
* Copied from @memberjunction/codegen-lib GraphQLServerGeneratorBase.sanitizeGraphQLName()
|
|
@@ -511,7 +511,7 @@ declare class GraphQLDataProvider extends ProviderBase implements IEntityDataPro
|
|
|
511
511
|
* Preserves original capitalization. Special case: MJ core schema uses "MJ" prefix.
|
|
512
512
|
* This ensures unique type names across different schemas.
|
|
513
513
|
*
|
|
514
|
-
* TODO: Move this to @memberjunction/
|
|
514
|
+
* TODO: Move this to @memberjunction/global once npm registration issues are resolved
|
|
515
515
|
* @see https://github.com/MemberJunction/MJ/issues/1452
|
|
516
516
|
*
|
|
517
517
|
* Copied from @memberjunction/codegen-lib GraphQLServerGeneratorBase.getServerGraphQLTypeNameBase()
|