@memberjunction/server 2.93.0 → 2.94.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/generated/generated.d.ts +9 -6
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +69 -54
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/RunViewResolver.d.ts +24 -0
- package/dist/generic/RunViewResolver.d.ts.map +1 -1
- package/dist/generic/RunViewResolver.js +67 -11
- package/dist/generic/RunViewResolver.js.map +1 -1
- package/package.json +39 -39
- package/src/generated/generated.ts +49 -40
- package/src/generic/RunViewResolver.ts +67 -8
|
@@ -2493,8 +2493,8 @@ let AIAgentRun_ = class AIAgentRun_ {
|
|
|
2493
2493
|
Configuration;
|
|
2494
2494
|
OverrideModel;
|
|
2495
2495
|
OverrideVendor;
|
|
2496
|
-
MJ_AIAgentRuns_ParentRunIDArray;
|
|
2497
2496
|
MJ_AIAgentRunSteps_AgentRunIDArray;
|
|
2497
|
+
MJ_AIAgentRuns_ParentRunIDArray;
|
|
2498
2498
|
MJ_AIPromptRuns_AgentRunIDArray;
|
|
2499
2499
|
};
|
|
2500
2500
|
__decorate([
|
|
@@ -2702,14 +2702,14 @@ __decorate([
|
|
|
2702
2702
|
MaxLength(100),
|
|
2703
2703
|
__metadata("design:type", String)
|
|
2704
2704
|
], AIAgentRun_.prototype, "OverrideVendor", void 0);
|
|
2705
|
-
__decorate([
|
|
2706
|
-
Field(() => [AIAgentRun_]),
|
|
2707
|
-
__metadata("design:type", Array)
|
|
2708
|
-
], AIAgentRun_.prototype, "MJ_AIAgentRuns_ParentRunIDArray", void 0);
|
|
2709
2705
|
__decorate([
|
|
2710
2706
|
Field(() => [AIAgentRunStep_]),
|
|
2711
2707
|
__metadata("design:type", Array)
|
|
2712
2708
|
], AIAgentRun_.prototype, "MJ_AIAgentRunSteps_AgentRunIDArray", void 0);
|
|
2709
|
+
__decorate([
|
|
2710
|
+
Field(() => [AIAgentRun_]),
|
|
2711
|
+
__metadata("design:type", Array)
|
|
2712
|
+
], AIAgentRun_.prototype, "MJ_AIAgentRuns_ParentRunIDArray", void 0);
|
|
2713
2713
|
__decorate([
|
|
2714
2714
|
Field(() => [AIPromptRun_]),
|
|
2715
2715
|
__metadata("design:type", Array)
|
|
@@ -3169,22 +3169,22 @@ let AIAgentRunResolver = class AIAgentRunResolver extends ResolverBase {
|
|
|
3169
3169
|
const result = this.MapFieldNamesToCodeNames('MJ: AI Agent Runs', rows && rows.length > 0 ? rows[0] : {});
|
|
3170
3170
|
return result;
|
|
3171
3171
|
}
|
|
3172
|
-
async
|
|
3173
|
-
this.CheckUserReadPermissions('MJ: AI Agent
|
|
3172
|
+
async MJ_AIAgentRunSteps_AgentRunIDArray(aiagentrun_, { dataSources, userPayload, providers }, pubSub) {
|
|
3173
|
+
this.CheckUserReadPermissions('MJ: AI Agent Run Steps', userPayload);
|
|
3174
3174
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
3175
3175
|
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
3176
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
3176
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIAgentRunSteps] WHERE [AgentRunID]='${aiagentrun_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: AI Agent Run Steps', userPayload, EntityPermissionType.Read, 'AND');
|
|
3177
3177
|
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
3178
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent
|
|
3178
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent Run Steps', rows);
|
|
3179
3179
|
return result;
|
|
3180
3180
|
}
|
|
3181
|
-
async
|
|
3182
|
-
this.CheckUserReadPermissions('MJ: AI Agent
|
|
3181
|
+
async MJ_AIAgentRuns_ParentRunIDArray(aiagentrun_, { dataSources, userPayload, providers }, pubSub) {
|
|
3182
|
+
this.CheckUserReadPermissions('MJ: AI Agent Runs', userPayload);
|
|
3183
3183
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
3184
3184
|
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
3185
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
3185
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIAgentRuns] WHERE [ParentRunID]='${aiagentrun_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: AI Agent Runs', userPayload, EntityPermissionType.Read, 'AND');
|
|
3186
3186
|
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
3187
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent
|
|
3187
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent Runs', rows);
|
|
3188
3188
|
return result;
|
|
3189
3189
|
}
|
|
3190
3190
|
async MJ_AIPromptRuns_AgentRunIDArray(aiagentrun_, { dataSources, userPayload, providers }, pubSub) {
|
|
@@ -3247,23 +3247,23 @@ __decorate([
|
|
|
3247
3247
|
__metadata("design:returntype", Promise)
|
|
3248
3248
|
], AIAgentRunResolver.prototype, "AIAgentRun", null);
|
|
3249
3249
|
__decorate([
|
|
3250
|
-
FieldResolver(() => [
|
|
3250
|
+
FieldResolver(() => [AIAgentRunStep_]),
|
|
3251
3251
|
__param(0, Root()),
|
|
3252
3252
|
__param(1, Ctx()),
|
|
3253
3253
|
__param(2, PubSub()),
|
|
3254
3254
|
__metadata("design:type", Function),
|
|
3255
3255
|
__metadata("design:paramtypes", [AIAgentRun_, Object, PubSubEngine]),
|
|
3256
3256
|
__metadata("design:returntype", Promise)
|
|
3257
|
-
], AIAgentRunResolver.prototype, "
|
|
3257
|
+
], AIAgentRunResolver.prototype, "MJ_AIAgentRunSteps_AgentRunIDArray", null);
|
|
3258
3258
|
__decorate([
|
|
3259
|
-
FieldResolver(() => [
|
|
3259
|
+
FieldResolver(() => [AIAgentRun_]),
|
|
3260
3260
|
__param(0, Root()),
|
|
3261
3261
|
__param(1, Ctx()),
|
|
3262
3262
|
__param(2, PubSub()),
|
|
3263
3263
|
__metadata("design:type", Function),
|
|
3264
3264
|
__metadata("design:paramtypes", [AIAgentRun_, Object, PubSubEngine]),
|
|
3265
3265
|
__metadata("design:returntype", Promise)
|
|
3266
|
-
], AIAgentRunResolver.prototype, "
|
|
3266
|
+
], AIAgentRunResolver.prototype, "MJ_AIAgentRuns_ParentRunIDArray", null);
|
|
3267
3267
|
__decorate([
|
|
3268
3268
|
FieldResolver(() => [AIPromptRun_]),
|
|
3269
3269
|
__param(0, Root()),
|
|
@@ -3708,9 +3708,9 @@ let AIConfiguration_ = class AIConfiguration_ {
|
|
|
3708
3708
|
DefaultPromptForContextSummarization;
|
|
3709
3709
|
MJ_AIConfigurationParams_ConfigurationIDArray;
|
|
3710
3710
|
MJ_AIAgentPrompts_ConfigurationIDArray;
|
|
3711
|
-
MJ_AIPromptRuns_ConfigurationIDArray;
|
|
3712
3711
|
MJ_AIPromptModels_ConfigurationIDArray;
|
|
3713
3712
|
AIResultCache_ConfigurationIDArray;
|
|
3713
|
+
MJ_AIPromptRuns_ConfigurationIDArray;
|
|
3714
3714
|
MJ_AIAgentRuns_ConfigurationIDArray;
|
|
3715
3715
|
};
|
|
3716
3716
|
__decorate([
|
|
@@ -3774,10 +3774,6 @@ __decorate([
|
|
|
3774
3774
|
Field(() => [AIAgentPrompt_]),
|
|
3775
3775
|
__metadata("design:type", Array)
|
|
3776
3776
|
], AIConfiguration_.prototype, "MJ_AIAgentPrompts_ConfigurationIDArray", void 0);
|
|
3777
|
-
__decorate([
|
|
3778
|
-
Field(() => [AIPromptRun_]),
|
|
3779
|
-
__metadata("design:type", Array)
|
|
3780
|
-
], AIConfiguration_.prototype, "MJ_AIPromptRuns_ConfigurationIDArray", void 0);
|
|
3781
3777
|
__decorate([
|
|
3782
3778
|
Field(() => [AIPromptModel_]),
|
|
3783
3779
|
__metadata("design:type", Array)
|
|
@@ -3786,6 +3782,10 @@ __decorate([
|
|
|
3786
3782
|
Field(() => [AIResultCache_]),
|
|
3787
3783
|
__metadata("design:type", Array)
|
|
3788
3784
|
], AIConfiguration_.prototype, "AIResultCache_ConfigurationIDArray", void 0);
|
|
3785
|
+
__decorate([
|
|
3786
|
+
Field(() => [AIPromptRun_]),
|
|
3787
|
+
__metadata("design:type", Array)
|
|
3788
|
+
], AIConfiguration_.prototype, "MJ_AIPromptRuns_ConfigurationIDArray", void 0);
|
|
3789
3789
|
__decorate([
|
|
3790
3790
|
Field(() => [AIAgentRun_]),
|
|
3791
3791
|
__metadata("design:type", Array)
|
|
@@ -3963,15 +3963,6 @@ let AIConfigurationResolver = class AIConfigurationResolver extends ResolverBase
|
|
|
3963
3963
|
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent Prompts', rows);
|
|
3964
3964
|
return result;
|
|
3965
3965
|
}
|
|
3966
|
-
async MJ_AIPromptRuns_ConfigurationIDArray(aiconfiguration_, { dataSources, userPayload, providers }, pubSub) {
|
|
3967
|
-
this.CheckUserReadPermissions('MJ: AI Prompt Runs', userPayload);
|
|
3968
|
-
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
3969
|
-
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
3970
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPromptRuns] WHERE [ConfigurationID]='${aiconfiguration_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: AI Prompt Runs', userPayload, EntityPermissionType.Read, 'AND');
|
|
3971
|
-
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
3972
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Prompt Runs', rows);
|
|
3973
|
-
return result;
|
|
3974
|
-
}
|
|
3975
3966
|
async MJ_AIPromptModels_ConfigurationIDArray(aiconfiguration_, { dataSources, userPayload, providers }, pubSub) {
|
|
3976
3967
|
this.CheckUserReadPermissions('MJ: AI Prompt Models', userPayload);
|
|
3977
3968
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
@@ -3990,6 +3981,15 @@ let AIConfigurationResolver = class AIConfigurationResolver extends ResolverBase
|
|
|
3990
3981
|
const result = this.ArrayMapFieldNamesToCodeNames('AI Result Cache', rows);
|
|
3991
3982
|
return result;
|
|
3992
3983
|
}
|
|
3984
|
+
async MJ_AIPromptRuns_ConfigurationIDArray(aiconfiguration_, { dataSources, userPayload, providers }, pubSub) {
|
|
3985
|
+
this.CheckUserReadPermissions('MJ: AI Prompt Runs', userPayload);
|
|
3986
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
3987
|
+
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
3988
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPromptRuns] WHERE [ConfigurationID]='${aiconfiguration_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: AI Prompt Runs', userPayload, EntityPermissionType.Read, 'AND');
|
|
3989
|
+
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
3990
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Prompt Runs', rows);
|
|
3991
|
+
return result;
|
|
3992
|
+
}
|
|
3993
3993
|
async MJ_AIAgentRuns_ConfigurationIDArray(aiconfiguration_, { dataSources, userPayload, providers }, pubSub) {
|
|
3994
3994
|
this.CheckUserReadPermissions('MJ: AI Agent Runs', userPayload);
|
|
3995
3995
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
@@ -4068,32 +4068,32 @@ __decorate([
|
|
|
4068
4068
|
__metadata("design:returntype", Promise)
|
|
4069
4069
|
], AIConfigurationResolver.prototype, "MJ_AIAgentPrompts_ConfigurationIDArray", null);
|
|
4070
4070
|
__decorate([
|
|
4071
|
-
FieldResolver(() => [
|
|
4071
|
+
FieldResolver(() => [AIPromptModel_]),
|
|
4072
4072
|
__param(0, Root()),
|
|
4073
4073
|
__param(1, Ctx()),
|
|
4074
4074
|
__param(2, PubSub()),
|
|
4075
4075
|
__metadata("design:type", Function),
|
|
4076
4076
|
__metadata("design:paramtypes", [AIConfiguration_, Object, PubSubEngine]),
|
|
4077
4077
|
__metadata("design:returntype", Promise)
|
|
4078
|
-
], AIConfigurationResolver.prototype, "
|
|
4078
|
+
], AIConfigurationResolver.prototype, "MJ_AIPromptModels_ConfigurationIDArray", null);
|
|
4079
4079
|
__decorate([
|
|
4080
|
-
FieldResolver(() => [
|
|
4080
|
+
FieldResolver(() => [AIResultCache_]),
|
|
4081
4081
|
__param(0, Root()),
|
|
4082
4082
|
__param(1, Ctx()),
|
|
4083
4083
|
__param(2, PubSub()),
|
|
4084
4084
|
__metadata("design:type", Function),
|
|
4085
4085
|
__metadata("design:paramtypes", [AIConfiguration_, Object, PubSubEngine]),
|
|
4086
4086
|
__metadata("design:returntype", Promise)
|
|
4087
|
-
], AIConfigurationResolver.prototype, "
|
|
4087
|
+
], AIConfigurationResolver.prototype, "AIResultCache_ConfigurationIDArray", null);
|
|
4088
4088
|
__decorate([
|
|
4089
|
-
FieldResolver(() => [
|
|
4089
|
+
FieldResolver(() => [AIPromptRun_]),
|
|
4090
4090
|
__param(0, Root()),
|
|
4091
4091
|
__param(1, Ctx()),
|
|
4092
4092
|
__param(2, PubSub()),
|
|
4093
4093
|
__metadata("design:type", Function),
|
|
4094
4094
|
__metadata("design:paramtypes", [AIConfiguration_, Object, PubSubEngine]),
|
|
4095
4095
|
__metadata("design:returntype", Promise)
|
|
4096
|
-
], AIConfigurationResolver.prototype, "
|
|
4096
|
+
], AIConfigurationResolver.prototype, "MJ_AIPromptRuns_ConfigurationIDArray", null);
|
|
4097
4097
|
__decorate([
|
|
4098
4098
|
FieldResolver(() => [AIAgentRun_]),
|
|
4099
4099
|
__param(0, Root()),
|
|
@@ -7795,8 +7795,8 @@ let AIPrompt_ = class AIPrompt_ {
|
|
|
7795
7795
|
MJ_AIAgentTypes_SystemPromptIDArray;
|
|
7796
7796
|
MJ_AIConfigurations_DefaultPromptForContextSummarizationIDArray;
|
|
7797
7797
|
AIPrompts_ResultSelectorPromptIDArray;
|
|
7798
|
-
MJ_AIAgentPrompts_PromptIDArray;
|
|
7799
7798
|
MJ_AIPromptModels_PromptIDArray;
|
|
7799
|
+
MJ_AIAgentPrompts_PromptIDArray;
|
|
7800
7800
|
MJ_AIAgentSteps_PromptIDArray;
|
|
7801
7801
|
MJ_AIPromptRuns_PromptIDArray;
|
|
7802
7802
|
AIAgents_ContextCompressionPromptIDArray;
|
|
@@ -8075,14 +8075,14 @@ __decorate([
|
|
|
8075
8075
|
Field(() => [AIPrompt_]),
|
|
8076
8076
|
__metadata("design:type", Array)
|
|
8077
8077
|
], AIPrompt_.prototype, "AIPrompts_ResultSelectorPromptIDArray", void 0);
|
|
8078
|
-
__decorate([
|
|
8079
|
-
Field(() => [AIAgentPrompt_]),
|
|
8080
|
-
__metadata("design:type", Array)
|
|
8081
|
-
], AIPrompt_.prototype, "MJ_AIAgentPrompts_PromptIDArray", void 0);
|
|
8082
8078
|
__decorate([
|
|
8083
8079
|
Field(() => [AIPromptModel_]),
|
|
8084
8080
|
__metadata("design:type", Array)
|
|
8085
8081
|
], AIPrompt_.prototype, "MJ_AIPromptModels_PromptIDArray", void 0);
|
|
8082
|
+
__decorate([
|
|
8083
|
+
Field(() => [AIAgentPrompt_]),
|
|
8084
|
+
__metadata("design:type", Array)
|
|
8085
|
+
], AIPrompt_.prototype, "MJ_AIAgentPrompts_PromptIDArray", void 0);
|
|
8086
8086
|
__decorate([
|
|
8087
8087
|
Field(() => [AIAgentStep_]),
|
|
8088
8088
|
__metadata("design:type", Array)
|
|
@@ -8715,22 +8715,22 @@ let AIPromptResolver = class AIPromptResolver extends ResolverBase {
|
|
|
8715
8715
|
const result = this.ArrayMapFieldNamesToCodeNames('AI Prompts', rows);
|
|
8716
8716
|
return result;
|
|
8717
8717
|
}
|
|
8718
|
-
async
|
|
8719
|
-
this.CheckUserReadPermissions('MJ: AI
|
|
8718
|
+
async MJ_AIPromptModels_PromptIDArray(aiprompt_, { dataSources, userPayload, providers }, pubSub) {
|
|
8719
|
+
this.CheckUserReadPermissions('MJ: AI Prompt Models', userPayload);
|
|
8720
8720
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
8721
8721
|
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
8722
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
8722
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPromptModels] WHERE [PromptID]='${aiprompt_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: AI Prompt Models', userPayload, EntityPermissionType.Read, 'AND');
|
|
8723
8723
|
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
8724
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI
|
|
8724
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Prompt Models', rows);
|
|
8725
8725
|
return result;
|
|
8726
8726
|
}
|
|
8727
|
-
async
|
|
8728
|
-
this.CheckUserReadPermissions('MJ: AI
|
|
8727
|
+
async MJ_AIAgentPrompts_PromptIDArray(aiprompt_, { dataSources, userPayload, providers }, pubSub) {
|
|
8728
|
+
this.CheckUserReadPermissions('MJ: AI Agent Prompts', userPayload);
|
|
8729
8729
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
8730
8730
|
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
8731
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
8731
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIAgentPrompts] WHERE [PromptID]='${aiprompt_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: AI Agent Prompts', userPayload, EntityPermissionType.Read, 'AND');
|
|
8732
8732
|
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
8733
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI
|
|
8733
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent Prompts', rows);
|
|
8734
8734
|
return result;
|
|
8735
8735
|
}
|
|
8736
8736
|
async MJ_AIAgentSteps_PromptIDArray(aiprompt_, { dataSources, userPayload, providers }, pubSub) {
|
|
@@ -8856,23 +8856,23 @@ __decorate([
|
|
|
8856
8856
|
__metadata("design:returntype", Promise)
|
|
8857
8857
|
], AIPromptResolver.prototype, "AIPrompts_ResultSelectorPromptIDArray", null);
|
|
8858
8858
|
__decorate([
|
|
8859
|
-
FieldResolver(() => [
|
|
8859
|
+
FieldResolver(() => [AIPromptModel_]),
|
|
8860
8860
|
__param(0, Root()),
|
|
8861
8861
|
__param(1, Ctx()),
|
|
8862
8862
|
__param(2, PubSub()),
|
|
8863
8863
|
__metadata("design:type", Function),
|
|
8864
8864
|
__metadata("design:paramtypes", [AIPrompt_, Object, PubSubEngine]),
|
|
8865
8865
|
__metadata("design:returntype", Promise)
|
|
8866
|
-
], AIPromptResolver.prototype, "
|
|
8866
|
+
], AIPromptResolver.prototype, "MJ_AIPromptModels_PromptIDArray", null);
|
|
8867
8867
|
__decorate([
|
|
8868
|
-
FieldResolver(() => [
|
|
8868
|
+
FieldResolver(() => [AIAgentPrompt_]),
|
|
8869
8869
|
__param(0, Root()),
|
|
8870
8870
|
__param(1, Ctx()),
|
|
8871
8871
|
__param(2, PubSub()),
|
|
8872
8872
|
__metadata("design:type", Function),
|
|
8873
8873
|
__metadata("design:paramtypes", [AIPrompt_, Object, PubSubEngine]),
|
|
8874
8874
|
__metadata("design:returntype", Promise)
|
|
8875
|
-
], AIPromptResolver.prototype, "
|
|
8875
|
+
], AIPromptResolver.prototype, "MJ_AIAgentPrompts_PromptIDArray", null);
|
|
8876
8876
|
__decorate([
|
|
8877
8877
|
FieldResolver(() => [AIAgentStep_]),
|
|
8878
8878
|
__param(0, Root()),
|
|
@@ -61577,6 +61577,7 @@ let ComponentLibrary_ = class ComponentLibrary_ {
|
|
|
61577
61577
|
_mj__UpdatedAt;
|
|
61578
61578
|
Status;
|
|
61579
61579
|
LintRules;
|
|
61580
|
+
Dependencies;
|
|
61580
61581
|
MJ_ComponentLibraryLinks_LibraryIDArray;
|
|
61581
61582
|
};
|
|
61582
61583
|
__decorate([
|
|
@@ -61642,6 +61643,10 @@ __decorate([
|
|
|
61642
61643
|
Field({ nullable: true, description: `JSON configuration for library-specific lint rules that are applied during component validation. This field contains structured rules that define how components using this library should be validated, including DOM element requirements, initialization patterns, lifecycle methods, and common error patterns. Example structure: {"initialization": {"constructorName": "Chart", "elementType": "canvas"}, "lifecycle": {"requiredMethods": ["render"], "cleanupMethods": ["destroy"]}}. The linter dynamically applies these rules based on the libraries referenced in a component spec, enabling extensible validation without hardcoding library-specific logic.` }),
|
|
61643
61644
|
__metadata("design:type", String)
|
|
61644
61645
|
], ComponentLibrary_.prototype, "LintRules", void 0);
|
|
61646
|
+
__decorate([
|
|
61647
|
+
Field({ nullable: true, description: `JSON object defining dependencies for this component library. Format: { "libraryName": "versionSpec", ... }. Version specifications follow NPM-style syntax (e.g., "~1.0.0", "^1.2.3", "2.3.4"). Dependencies are loaded before this library to ensure proper execution context.` }),
|
|
61648
|
+
__metadata("design:type", String)
|
|
61649
|
+
], ComponentLibrary_.prototype, "Dependencies", void 0);
|
|
61645
61650
|
__decorate([
|
|
61646
61651
|
Field(() => [ComponentLibraryLink_]),
|
|
61647
61652
|
__metadata("design:type", Array)
|
|
@@ -61662,6 +61667,7 @@ let CreateComponentLibraryInput = class CreateComponentLibraryInput {
|
|
|
61662
61667
|
Description;
|
|
61663
61668
|
Status;
|
|
61664
61669
|
LintRules;
|
|
61670
|
+
Dependencies;
|
|
61665
61671
|
};
|
|
61666
61672
|
__decorate([
|
|
61667
61673
|
Field({ nullable: true }),
|
|
@@ -61707,6 +61713,10 @@ __decorate([
|
|
|
61707
61713
|
Field({ nullable: true }),
|
|
61708
61714
|
__metadata("design:type", String)
|
|
61709
61715
|
], CreateComponentLibraryInput.prototype, "LintRules", void 0);
|
|
61716
|
+
__decorate([
|
|
61717
|
+
Field({ nullable: true }),
|
|
61718
|
+
__metadata("design:type", String)
|
|
61719
|
+
], CreateComponentLibraryInput.prototype, "Dependencies", void 0);
|
|
61710
61720
|
CreateComponentLibraryInput = __decorate([
|
|
61711
61721
|
InputType()
|
|
61712
61722
|
], CreateComponentLibraryInput);
|
|
@@ -61723,6 +61733,7 @@ let UpdateComponentLibraryInput = class UpdateComponentLibraryInput {
|
|
|
61723
61733
|
Description;
|
|
61724
61734
|
Status;
|
|
61725
61735
|
LintRules;
|
|
61736
|
+
Dependencies;
|
|
61726
61737
|
OldValues___;
|
|
61727
61738
|
};
|
|
61728
61739
|
__decorate([
|
|
@@ -61769,6 +61780,10 @@ __decorate([
|
|
|
61769
61780
|
Field({ nullable: true }),
|
|
61770
61781
|
__metadata("design:type", String)
|
|
61771
61782
|
], UpdateComponentLibraryInput.prototype, "LintRules", void 0);
|
|
61783
|
+
__decorate([
|
|
61784
|
+
Field({ nullable: true }),
|
|
61785
|
+
__metadata("design:type", String)
|
|
61786
|
+
], UpdateComponentLibraryInput.prototype, "Dependencies", void 0);
|
|
61772
61787
|
__decorate([
|
|
61773
61788
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
61774
61789
|
__metadata("design:type", Array)
|