@memberjunction/server 2.47.0 → 2.48.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/dist/auth/newUsers.d.ts.map +1 -1
- package/dist/auth/newUsers.js +2 -13
- package/dist/auth/newUsers.js.map +1 -1
- package/dist/generated/generated.d.ts +6 -6
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +21 -21
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +24 -24
- package/src/auth/newUsers.ts +0 -1
- package/src/generated/generated.ts +19 -19
- package/src/index.ts +1 -0
|
@@ -3135,7 +3135,7 @@ __decorate([
|
|
|
3135
3135
|
__metadata("design:type", Number)
|
|
3136
3136
|
], AIAgent_.prototype, "ContextCompressionMessageRetentionCount", void 0);
|
|
3137
3137
|
__decorate([
|
|
3138
|
-
Field({ description: `Reference to the AIAgentType that defines the category and system-level behavior for this agent. Cannot be null.` }),
|
|
3138
|
+
Field({ nullable: true, description: `Reference to the AIAgentType that defines the category and system-level behavior for this agent. Cannot be null.` }),
|
|
3139
3139
|
MaxLength(16),
|
|
3140
3140
|
__metadata("design:type", String)
|
|
3141
3141
|
], AIAgent_.prototype, "TypeID", void 0);
|
|
@@ -3150,7 +3150,7 @@ __decorate([
|
|
|
3150
3150
|
__metadata("design:type", String)
|
|
3151
3151
|
], AIAgent_.prototype, "ContextCompressionPrompt", void 0);
|
|
3152
3152
|
__decorate([
|
|
3153
|
-
Field(),
|
|
3153
|
+
Field({ nullable: true }),
|
|
3154
3154
|
MaxLength(200),
|
|
3155
3155
|
__metadata("design:type", String)
|
|
3156
3156
|
], AIAgent_.prototype, "Type", void 0);
|
|
@@ -12645,9 +12645,9 @@ let User_ = class User_ {
|
|
|
12645
12645
|
UserNotifications_UserIDArray;
|
|
12646
12646
|
Templates_UserIDArray;
|
|
12647
12647
|
UserFavorites_UserIDArray;
|
|
12648
|
-
ResourceLinks_UserIDArray;
|
|
12649
12648
|
ListCategories_UserIDArray;
|
|
12650
12649
|
ScheduledActions_CreatedByUserIDArray;
|
|
12650
|
+
ResourceLinks_UserIDArray;
|
|
12651
12651
|
AIAgentRequests_ResponseByUserIDArray;
|
|
12652
12652
|
MJ_DashboardUserPreferences_UserIDArray;
|
|
12653
12653
|
MJ_ReportUserStates_UserIDArray;
|
|
@@ -12877,10 +12877,6 @@ __decorate([
|
|
|
12877
12877
|
Field(() => [UserFavorite_]),
|
|
12878
12878
|
__metadata("design:type", Array)
|
|
12879
12879
|
], User_.prototype, "UserFavorites_UserIDArray", void 0);
|
|
12880
|
-
__decorate([
|
|
12881
|
-
Field(() => [ResourceLink_]),
|
|
12882
|
-
__metadata("design:type", Array)
|
|
12883
|
-
], User_.prototype, "ResourceLinks_UserIDArray", void 0);
|
|
12884
12880
|
__decorate([
|
|
12885
12881
|
Field(() => [ListCategory_]),
|
|
12886
12882
|
__metadata("design:type", Array)
|
|
@@ -12889,6 +12885,10 @@ __decorate([
|
|
|
12889
12885
|
Field(() => [ScheduledAction_]),
|
|
12890
12886
|
__metadata("design:type", Array)
|
|
12891
12887
|
], User_.prototype, "ScheduledActions_CreatedByUserIDArray", void 0);
|
|
12888
|
+
__decorate([
|
|
12889
|
+
Field(() => [ResourceLink_]),
|
|
12890
|
+
__metadata("design:type", Array)
|
|
12891
|
+
], User_.prototype, "ResourceLinks_UserIDArray", void 0);
|
|
12892
12892
|
__decorate([
|
|
12893
12893
|
Field(() => [AIAgentRequest_]),
|
|
12894
12894
|
__metadata("design:type", Array)
|
|
@@ -13340,13 +13340,6 @@ let UserResolverBase = class UserResolverBase extends ResolverBase {
|
|
|
13340
13340
|
const result = this.ArrayMapFieldNamesToCodeNames('User Favorites', await dataSource.query(sSQL));
|
|
13341
13341
|
return result;
|
|
13342
13342
|
}
|
|
13343
|
-
async ResourceLinks_UserIDArray(user_, { dataSources, userPayload }, pubSub) {
|
|
13344
|
-
this.CheckUserReadPermissions('Resource Links', userPayload);
|
|
13345
|
-
const dataSource = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
13346
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwResourceLinks] WHERE [UserID]='${user_.ID}' ` + this.getRowLevelSecurityWhereClause('Resource Links', userPayload, EntityPermissionType.Read, 'AND');
|
|
13347
|
-
const result = this.ArrayMapFieldNamesToCodeNames('Resource Links', await dataSource.query(sSQL));
|
|
13348
|
-
return result;
|
|
13349
|
-
}
|
|
13350
13343
|
async ListCategories_UserIDArray(user_, { dataSources, userPayload }, pubSub) {
|
|
13351
13344
|
this.CheckUserReadPermissions('List Categories', userPayload);
|
|
13352
13345
|
const dataSource = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
@@ -13361,6 +13354,13 @@ let UserResolverBase = class UserResolverBase extends ResolverBase {
|
|
|
13361
13354
|
const result = this.ArrayMapFieldNamesToCodeNames('Scheduled Actions', await dataSource.query(sSQL));
|
|
13362
13355
|
return result;
|
|
13363
13356
|
}
|
|
13357
|
+
async ResourceLinks_UserIDArray(user_, { dataSources, userPayload }, pubSub) {
|
|
13358
|
+
this.CheckUserReadPermissions('Resource Links', userPayload);
|
|
13359
|
+
const dataSource = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
13360
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwResourceLinks] WHERE [UserID]='${user_.ID}' ` + this.getRowLevelSecurityWhereClause('Resource Links', userPayload, EntityPermissionType.Read, 'AND');
|
|
13361
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Resource Links', await dataSource.query(sSQL));
|
|
13362
|
+
return result;
|
|
13363
|
+
}
|
|
13364
13364
|
async AIAgentRequests_ResponseByUserIDArray(user_, { dataSources, userPayload }, pubSub) {
|
|
13365
13365
|
this.CheckUserReadPermissions('AI Agent Requests', userPayload);
|
|
13366
13366
|
const dataSource = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
@@ -13753,32 +13753,32 @@ __decorate([
|
|
|
13753
13753
|
__metadata("design:returntype", Promise)
|
|
13754
13754
|
], UserResolverBase.prototype, "UserFavorites_UserIDArray", null);
|
|
13755
13755
|
__decorate([
|
|
13756
|
-
FieldResolver(() => [
|
|
13756
|
+
FieldResolver(() => [ListCategory_]),
|
|
13757
13757
|
__param(0, Root()),
|
|
13758
13758
|
__param(1, Ctx()),
|
|
13759
13759
|
__param(2, PubSub()),
|
|
13760
13760
|
__metadata("design:type", Function),
|
|
13761
13761
|
__metadata("design:paramtypes", [User_, Object, PubSubEngine]),
|
|
13762
13762
|
__metadata("design:returntype", Promise)
|
|
13763
|
-
], UserResolverBase.prototype, "
|
|
13763
|
+
], UserResolverBase.prototype, "ListCategories_UserIDArray", null);
|
|
13764
13764
|
__decorate([
|
|
13765
|
-
FieldResolver(() => [
|
|
13765
|
+
FieldResolver(() => [ScheduledAction_]),
|
|
13766
13766
|
__param(0, Root()),
|
|
13767
13767
|
__param(1, Ctx()),
|
|
13768
13768
|
__param(2, PubSub()),
|
|
13769
13769
|
__metadata("design:type", Function),
|
|
13770
13770
|
__metadata("design:paramtypes", [User_, Object, PubSubEngine]),
|
|
13771
13771
|
__metadata("design:returntype", Promise)
|
|
13772
|
-
], UserResolverBase.prototype, "
|
|
13772
|
+
], UserResolverBase.prototype, "ScheduledActions_CreatedByUserIDArray", null);
|
|
13773
13773
|
__decorate([
|
|
13774
|
-
FieldResolver(() => [
|
|
13774
|
+
FieldResolver(() => [ResourceLink_]),
|
|
13775
13775
|
__param(0, Root()),
|
|
13776
13776
|
__param(1, Ctx()),
|
|
13777
13777
|
__param(2, PubSub()),
|
|
13778
13778
|
__metadata("design:type", Function),
|
|
13779
13779
|
__metadata("design:paramtypes", [User_, Object, PubSubEngine]),
|
|
13780
13780
|
__metadata("design:returntype", Promise)
|
|
13781
|
-
], UserResolverBase.prototype, "
|
|
13781
|
+
], UserResolverBase.prototype, "ResourceLinks_UserIDArray", null);
|
|
13782
13782
|
__decorate([
|
|
13783
13783
|
FieldResolver(() => [AIAgentRequest_]),
|
|
13784
13784
|
__param(0, Root()),
|
|
@@ -25012,7 +25012,7 @@ __decorate([
|
|
|
25012
25012
|
__metadata("design:type", Date)
|
|
25013
25013
|
], Dashboard_.prototype, "_mj__UpdatedAt", void 0);
|
|
25014
25014
|
__decorate([
|
|
25015
|
-
Field({ description: `
|
|
25015
|
+
Field({ description: `Dashboard type supporting Config (metadata-driven), Code (compiled TypeScript), and Dynamic Code (Skip-generated runtime JavaScript/React) options` }),
|
|
25016
25016
|
MaxLength(40),
|
|
25017
25017
|
__metadata("design:type", String)
|
|
25018
25018
|
], Dashboard_.prototype, "Type", void 0);
|