@memberjunction/server 5.3.1 → 5.4.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 +111 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +631 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts +2 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.js +15 -2
- package/dist/resolvers/RunAIAgentResolver.js.map +1 -1
- package/dist/resolvers/RunTestResolver.d.ts +49 -5
- package/dist/resolvers/RunTestResolver.d.ts.map +1 -1
- package/dist/resolvers/RunTestResolver.js +249 -141
- package/dist/resolvers/RunTestResolver.js.map +1 -1
- package/dist/rest/setupRESTEndpoints.d.ts.map +1 -1
- package/dist/rest/setupRESTEndpoints.js +3 -2
- package/dist/rest/setupRESTEndpoints.js.map +1 -1
- package/package.json +53 -53
- package/src/generated/generated.ts +433 -1
- package/src/index.ts +3 -0
- package/src/resolvers/RunAIAgentResolver.ts +23 -1
- package/src/resolvers/RunTestResolver.ts +369 -174
- package/src/rest/setupRESTEndpoints.ts +3 -2
|
@@ -85914,6 +85914,615 @@ MJTestRunFeedbackResolver = __decorate([
|
|
|
85914
85914
|
], MJTestRunFeedbackResolver);
|
|
85915
85915
|
export { MJTestRunFeedbackResolver };
|
|
85916
85916
|
//****************************************************************************
|
|
85917
|
+
// ENTITY CLASS for MJ: Test Run Output Types
|
|
85918
|
+
//****************************************************************************
|
|
85919
|
+
let MJTestRunOutputType_ = class MJTestRunOutputType_ {
|
|
85920
|
+
};
|
|
85921
|
+
__decorate([
|
|
85922
|
+
Field(),
|
|
85923
|
+
MaxLength(16),
|
|
85924
|
+
__metadata("design:type", String)
|
|
85925
|
+
], MJTestRunOutputType_.prototype, "ID", void 0);
|
|
85926
|
+
__decorate([
|
|
85927
|
+
Field({ description: `Unique name identifying this output type (e.g., Screenshot, Log, Data, Video)` }),
|
|
85928
|
+
MaxLength(200),
|
|
85929
|
+
__metadata("design:type", String)
|
|
85930
|
+
], MJTestRunOutputType_.prototype, "Name", void 0);
|
|
85931
|
+
__decorate([
|
|
85932
|
+
Field({ nullable: true, description: `Description of what this output type represents and when it is used` }),
|
|
85933
|
+
__metadata("design:type", String)
|
|
85934
|
+
], MJTestRunOutputType_.prototype, "Description", void 0);
|
|
85935
|
+
__decorate([
|
|
85936
|
+
Field(),
|
|
85937
|
+
MaxLength(10),
|
|
85938
|
+
__metadata("design:type", Date)
|
|
85939
|
+
], MJTestRunOutputType_.prototype, "_mj__CreatedAt", void 0);
|
|
85940
|
+
__decorate([
|
|
85941
|
+
Field(),
|
|
85942
|
+
MaxLength(10),
|
|
85943
|
+
__metadata("design:type", Date)
|
|
85944
|
+
], MJTestRunOutputType_.prototype, "_mj__UpdatedAt", void 0);
|
|
85945
|
+
__decorate([
|
|
85946
|
+
Field(() => [MJTestRunOutput_]),
|
|
85947
|
+
__metadata("design:type", Array)
|
|
85948
|
+
], MJTestRunOutputType_.prototype, "MJTestRunOutputs_OutputTypeIDArray", void 0);
|
|
85949
|
+
MJTestRunOutputType_ = __decorate([
|
|
85950
|
+
ObjectType()
|
|
85951
|
+
], MJTestRunOutputType_);
|
|
85952
|
+
export { MJTestRunOutputType_ };
|
|
85953
|
+
//****************************************************************************
|
|
85954
|
+
// INPUT TYPE for MJ: Test Run Output Types
|
|
85955
|
+
//****************************************************************************
|
|
85956
|
+
let CreateMJTestRunOutputTypeInput = class CreateMJTestRunOutputTypeInput {
|
|
85957
|
+
};
|
|
85958
|
+
__decorate([
|
|
85959
|
+
Field({ nullable: true }),
|
|
85960
|
+
__metadata("design:type", String)
|
|
85961
|
+
], CreateMJTestRunOutputTypeInput.prototype, "ID", void 0);
|
|
85962
|
+
__decorate([
|
|
85963
|
+
Field({ nullable: true }),
|
|
85964
|
+
__metadata("design:type", String)
|
|
85965
|
+
], CreateMJTestRunOutputTypeInput.prototype, "Name", void 0);
|
|
85966
|
+
__decorate([
|
|
85967
|
+
Field({ nullable: true }),
|
|
85968
|
+
__metadata("design:type", String)
|
|
85969
|
+
], CreateMJTestRunOutputTypeInput.prototype, "Description", void 0);
|
|
85970
|
+
CreateMJTestRunOutputTypeInput = __decorate([
|
|
85971
|
+
InputType()
|
|
85972
|
+
], CreateMJTestRunOutputTypeInput);
|
|
85973
|
+
export { CreateMJTestRunOutputTypeInput };
|
|
85974
|
+
//****************************************************************************
|
|
85975
|
+
// INPUT TYPE for MJ: Test Run Output Types
|
|
85976
|
+
//****************************************************************************
|
|
85977
|
+
let UpdateMJTestRunOutputTypeInput = class UpdateMJTestRunOutputTypeInput {
|
|
85978
|
+
};
|
|
85979
|
+
__decorate([
|
|
85980
|
+
Field(),
|
|
85981
|
+
__metadata("design:type", String)
|
|
85982
|
+
], UpdateMJTestRunOutputTypeInput.prototype, "ID", void 0);
|
|
85983
|
+
__decorate([
|
|
85984
|
+
Field({ nullable: true }),
|
|
85985
|
+
__metadata("design:type", String)
|
|
85986
|
+
], UpdateMJTestRunOutputTypeInput.prototype, "Name", void 0);
|
|
85987
|
+
__decorate([
|
|
85988
|
+
Field({ nullable: true }),
|
|
85989
|
+
__metadata("design:type", String)
|
|
85990
|
+
], UpdateMJTestRunOutputTypeInput.prototype, "Description", void 0);
|
|
85991
|
+
__decorate([
|
|
85992
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
85993
|
+
__metadata("design:type", Array)
|
|
85994
|
+
], UpdateMJTestRunOutputTypeInput.prototype, "OldValues___", void 0);
|
|
85995
|
+
UpdateMJTestRunOutputTypeInput = __decorate([
|
|
85996
|
+
InputType()
|
|
85997
|
+
], UpdateMJTestRunOutputTypeInput);
|
|
85998
|
+
export { UpdateMJTestRunOutputTypeInput };
|
|
85999
|
+
//****************************************************************************
|
|
86000
|
+
// RESOLVER for MJ: Test Run Output Types
|
|
86001
|
+
//****************************************************************************
|
|
86002
|
+
let RunMJTestRunOutputTypeViewResult = class RunMJTestRunOutputTypeViewResult {
|
|
86003
|
+
};
|
|
86004
|
+
__decorate([
|
|
86005
|
+
Field(() => [MJTestRunOutputType_]),
|
|
86006
|
+
__metadata("design:type", Array)
|
|
86007
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "Results", void 0);
|
|
86008
|
+
__decorate([
|
|
86009
|
+
Field(() => String, { nullable: true }),
|
|
86010
|
+
__metadata("design:type", String)
|
|
86011
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "UserViewRunID", void 0);
|
|
86012
|
+
__decorate([
|
|
86013
|
+
Field(() => Int, { nullable: true }),
|
|
86014
|
+
__metadata("design:type", Number)
|
|
86015
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "RowCount", void 0);
|
|
86016
|
+
__decorate([
|
|
86017
|
+
Field(() => Int, { nullable: true }),
|
|
86018
|
+
__metadata("design:type", Number)
|
|
86019
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "TotalRowCount", void 0);
|
|
86020
|
+
__decorate([
|
|
86021
|
+
Field(() => Int, { nullable: true }),
|
|
86022
|
+
__metadata("design:type", Number)
|
|
86023
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "ExecutionTime", void 0);
|
|
86024
|
+
__decorate([
|
|
86025
|
+
Field({ nullable: true }),
|
|
86026
|
+
__metadata("design:type", String)
|
|
86027
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "ErrorMessage", void 0);
|
|
86028
|
+
__decorate([
|
|
86029
|
+
Field(() => Boolean, { nullable: false }),
|
|
86030
|
+
__metadata("design:type", Boolean)
|
|
86031
|
+
], RunMJTestRunOutputTypeViewResult.prototype, "Success", void 0);
|
|
86032
|
+
RunMJTestRunOutputTypeViewResult = __decorate([
|
|
86033
|
+
ObjectType()
|
|
86034
|
+
], RunMJTestRunOutputTypeViewResult);
|
|
86035
|
+
export { RunMJTestRunOutputTypeViewResult };
|
|
86036
|
+
let MJTestRunOutputTypeResolver = class MJTestRunOutputTypeResolver extends ResolverBase {
|
|
86037
|
+
async RunMJTestRunOutputTypeViewByID(input, { providers, userPayload }, pubSub) {
|
|
86038
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86039
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
86040
|
+
}
|
|
86041
|
+
async RunMJTestRunOutputTypeViewByName(input, { providers, userPayload }, pubSub) {
|
|
86042
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86043
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
86044
|
+
}
|
|
86045
|
+
async RunMJTestRunOutputTypeDynamicView(input, { providers, userPayload }, pubSub) {
|
|
86046
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86047
|
+
input.EntityName = 'MJ: Test Run Output Types';
|
|
86048
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
86049
|
+
}
|
|
86050
|
+
async MJTestRunOutputType(ID, { dataSources, userPayload, providers }, pubSub) {
|
|
86051
|
+
this.CheckUserReadPermissions('MJ: Test Run Output Types', userPayload);
|
|
86052
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86053
|
+
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
86054
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwTestRunOutputTypes] WHERE [ID]='${ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Test Run Output Types', userPayload, EntityPermissionType.Read, 'AND');
|
|
86055
|
+
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
86056
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Test Run Output Types', rows && rows.length > 0 ? rows[0] : {}, this.GetUserFromPayload(userPayload));
|
|
86057
|
+
return result;
|
|
86058
|
+
}
|
|
86059
|
+
async MJTestRunOutputs_OutputTypeIDArray(mjtestrunoutputtype_, { dataSources, userPayload, providers }, pubSub) {
|
|
86060
|
+
this.CheckUserReadPermissions('MJ: Test Run Outputs', userPayload);
|
|
86061
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86062
|
+
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
86063
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwTestRunOutputs] WHERE [OutputTypeID]='${mjtestrunoutputtype_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Test Run Outputs', userPayload, EntityPermissionType.Read, 'AND');
|
|
86064
|
+
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
86065
|
+
const result = await this.ArrayMapFieldNamesToCodeNames('MJ: Test Run Outputs', rows, this.GetUserFromPayload(userPayload));
|
|
86066
|
+
return result;
|
|
86067
|
+
}
|
|
86068
|
+
async CreateMJTestRunOutputType(input, { providers, userPayload }, pubSub) {
|
|
86069
|
+
const provider = GetReadWriteProvider(providers);
|
|
86070
|
+
return this.CreateRecord('MJ: Test Run Output Types', input, provider, userPayload, pubSub);
|
|
86071
|
+
}
|
|
86072
|
+
async UpdateMJTestRunOutputType(input, { providers, userPayload }, pubSub) {
|
|
86073
|
+
const provider = GetReadWriteProvider(providers);
|
|
86074
|
+
return this.UpdateRecord('MJ: Test Run Output Types', input, provider, userPayload, pubSub);
|
|
86075
|
+
}
|
|
86076
|
+
async DeleteMJTestRunOutputType(ID, options, { providers, userPayload }, pubSub) {
|
|
86077
|
+
const provider = GetReadWriteProvider(providers);
|
|
86078
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
86079
|
+
return this.DeleteRecord('MJ: Test Run Output Types', key, options, provider, userPayload, pubSub);
|
|
86080
|
+
}
|
|
86081
|
+
};
|
|
86082
|
+
__decorate([
|
|
86083
|
+
Query(() => RunMJTestRunOutputTypeViewResult),
|
|
86084
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
86085
|
+
__param(1, Ctx()),
|
|
86086
|
+
__param(2, PubSub()),
|
|
86087
|
+
__metadata("design:type", Function),
|
|
86088
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
86089
|
+
__metadata("design:returntype", Promise)
|
|
86090
|
+
], MJTestRunOutputTypeResolver.prototype, "RunMJTestRunOutputTypeViewByID", null);
|
|
86091
|
+
__decorate([
|
|
86092
|
+
Query(() => RunMJTestRunOutputTypeViewResult),
|
|
86093
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
86094
|
+
__param(1, Ctx()),
|
|
86095
|
+
__param(2, PubSub()),
|
|
86096
|
+
__metadata("design:type", Function),
|
|
86097
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
86098
|
+
__metadata("design:returntype", Promise)
|
|
86099
|
+
], MJTestRunOutputTypeResolver.prototype, "RunMJTestRunOutputTypeViewByName", null);
|
|
86100
|
+
__decorate([
|
|
86101
|
+
Query(() => RunMJTestRunOutputTypeViewResult),
|
|
86102
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
86103
|
+
__param(1, Ctx()),
|
|
86104
|
+
__param(2, PubSub()),
|
|
86105
|
+
__metadata("design:type", Function),
|
|
86106
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
86107
|
+
__metadata("design:returntype", Promise)
|
|
86108
|
+
], MJTestRunOutputTypeResolver.prototype, "RunMJTestRunOutputTypeDynamicView", null);
|
|
86109
|
+
__decorate([
|
|
86110
|
+
Query(() => MJTestRunOutputType_, { nullable: true }),
|
|
86111
|
+
__param(0, Arg('ID', () => String)),
|
|
86112
|
+
__param(1, Ctx()),
|
|
86113
|
+
__param(2, PubSub()),
|
|
86114
|
+
__metadata("design:type", Function),
|
|
86115
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
86116
|
+
__metadata("design:returntype", Promise)
|
|
86117
|
+
], MJTestRunOutputTypeResolver.prototype, "MJTestRunOutputType", null);
|
|
86118
|
+
__decorate([
|
|
86119
|
+
FieldResolver(() => [MJTestRunOutput_]),
|
|
86120
|
+
__param(0, Root()),
|
|
86121
|
+
__param(1, Ctx()),
|
|
86122
|
+
__param(2, PubSub()),
|
|
86123
|
+
__metadata("design:type", Function),
|
|
86124
|
+
__metadata("design:paramtypes", [MJTestRunOutputType_, Object, PubSubEngine]),
|
|
86125
|
+
__metadata("design:returntype", Promise)
|
|
86126
|
+
], MJTestRunOutputTypeResolver.prototype, "MJTestRunOutputs_OutputTypeIDArray", null);
|
|
86127
|
+
__decorate([
|
|
86128
|
+
Mutation(() => MJTestRunOutputType_),
|
|
86129
|
+
__param(0, Arg('input', () => CreateMJTestRunOutputTypeInput)),
|
|
86130
|
+
__param(1, Ctx()),
|
|
86131
|
+
__param(2, PubSub()),
|
|
86132
|
+
__metadata("design:type", Function),
|
|
86133
|
+
__metadata("design:paramtypes", [CreateMJTestRunOutputTypeInput, Object, PubSubEngine]),
|
|
86134
|
+
__metadata("design:returntype", Promise)
|
|
86135
|
+
], MJTestRunOutputTypeResolver.prototype, "CreateMJTestRunOutputType", null);
|
|
86136
|
+
__decorate([
|
|
86137
|
+
Mutation(() => MJTestRunOutputType_),
|
|
86138
|
+
__param(0, Arg('input', () => UpdateMJTestRunOutputTypeInput)),
|
|
86139
|
+
__param(1, Ctx()),
|
|
86140
|
+
__param(2, PubSub()),
|
|
86141
|
+
__metadata("design:type", Function),
|
|
86142
|
+
__metadata("design:paramtypes", [UpdateMJTestRunOutputTypeInput, Object, PubSubEngine]),
|
|
86143
|
+
__metadata("design:returntype", Promise)
|
|
86144
|
+
], MJTestRunOutputTypeResolver.prototype, "UpdateMJTestRunOutputType", null);
|
|
86145
|
+
__decorate([
|
|
86146
|
+
Mutation(() => MJTestRunOutputType_),
|
|
86147
|
+
__param(0, Arg('ID', () => String)),
|
|
86148
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
86149
|
+
__param(2, Ctx()),
|
|
86150
|
+
__param(3, PubSub()),
|
|
86151
|
+
__metadata("design:type", Function),
|
|
86152
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
86153
|
+
__metadata("design:returntype", Promise)
|
|
86154
|
+
], MJTestRunOutputTypeResolver.prototype, "DeleteMJTestRunOutputType", null);
|
|
86155
|
+
MJTestRunOutputTypeResolver = __decorate([
|
|
86156
|
+
Resolver(MJTestRunOutputType_)
|
|
86157
|
+
], MJTestRunOutputTypeResolver);
|
|
86158
|
+
export { MJTestRunOutputTypeResolver };
|
|
86159
|
+
//****************************************************************************
|
|
86160
|
+
// ENTITY CLASS for MJ: Test Run Outputs
|
|
86161
|
+
//****************************************************************************
|
|
86162
|
+
let MJTestRunOutput_ = class MJTestRunOutput_ {
|
|
86163
|
+
};
|
|
86164
|
+
__decorate([
|
|
86165
|
+
Field(),
|
|
86166
|
+
MaxLength(16),
|
|
86167
|
+
__metadata("design:type", String)
|
|
86168
|
+
], MJTestRunOutput_.prototype, "ID", void 0);
|
|
86169
|
+
__decorate([
|
|
86170
|
+
Field({ description: `Foreign key to the parent test run that produced this output` }),
|
|
86171
|
+
MaxLength(16),
|
|
86172
|
+
__metadata("design:type", String)
|
|
86173
|
+
], MJTestRunOutput_.prototype, "TestRunID", void 0);
|
|
86174
|
+
__decorate([
|
|
86175
|
+
Field({ description: `Foreign key to the output type category (Screenshot, Log, Video, etc.)` }),
|
|
86176
|
+
MaxLength(16),
|
|
86177
|
+
__metadata("design:type", String)
|
|
86178
|
+
], MJTestRunOutput_.prototype, "OutputTypeID", void 0);
|
|
86179
|
+
__decorate([
|
|
86180
|
+
Field(() => Int, { description: `Chronological ordering for storyboarding outputs across steps` }),
|
|
86181
|
+
__metadata("design:type", Number)
|
|
86182
|
+
], MJTestRunOutput_.prototype, "Sequence", void 0);
|
|
86183
|
+
__decorate([
|
|
86184
|
+
Field(() => Int, { nullable: true, description: `Which step produced this output, for step-based tests like Computer Use` }),
|
|
86185
|
+
__metadata("design:type", Number)
|
|
86186
|
+
], MJTestRunOutput_.prototype, "StepNumber", void 0);
|
|
86187
|
+
__decorate([
|
|
86188
|
+
Field({ nullable: true, description: `Human-readable label for this output (e.g., Step 3 Screenshot)` }),
|
|
86189
|
+
MaxLength(510),
|
|
86190
|
+
__metadata("design:type", String)
|
|
86191
|
+
], MJTestRunOutput_.prototype, "Name", void 0);
|
|
86192
|
+
__decorate([
|
|
86193
|
+
Field({ nullable: true, description: `Additional context about this output` }),
|
|
86194
|
+
__metadata("design:type", String)
|
|
86195
|
+
], MJTestRunOutput_.prototype, "Description", void 0);
|
|
86196
|
+
__decorate([
|
|
86197
|
+
Field({ nullable: true, description: `MIME type of the output data (e.g., image/png, text/plain, application/json, video/mp4)` }),
|
|
86198
|
+
MaxLength(200),
|
|
86199
|
+
__metadata("design:type", String)
|
|
86200
|
+
], MJTestRunOutput_.prototype, "MimeType", void 0);
|
|
86201
|
+
__decorate([
|
|
86202
|
+
Field({ nullable: true, description: `Base64-encoded binary data (images, audio, video) or text content (logs, JSON, HTML)` }),
|
|
86203
|
+
__metadata("design:type", String)
|
|
86204
|
+
], MJTestRunOutput_.prototype, "InlineData", void 0);
|
|
86205
|
+
__decorate([
|
|
86206
|
+
Field(() => Int, { nullable: true, description: `Size of the output data in bytes` }),
|
|
86207
|
+
__metadata("design:type", Number)
|
|
86208
|
+
], MJTestRunOutput_.prototype, "FileSizeBytes", void 0);
|
|
86209
|
+
__decorate([
|
|
86210
|
+
Field(() => Int, { nullable: true, description: `Width in pixels for image or video outputs` }),
|
|
86211
|
+
__metadata("design:type", Number)
|
|
86212
|
+
], MJTestRunOutput_.prototype, "Width", void 0);
|
|
86213
|
+
__decorate([
|
|
86214
|
+
Field(() => Int, { nullable: true, description: `Height in pixels for image or video outputs` }),
|
|
86215
|
+
__metadata("design:type", Number)
|
|
86216
|
+
], MJTestRunOutput_.prototype, "Height", void 0);
|
|
86217
|
+
__decorate([
|
|
86218
|
+
Field(() => Float, { nullable: true, description: `Duration in seconds for audio or video outputs` }),
|
|
86219
|
+
__metadata("design:type", Number)
|
|
86220
|
+
], MJTestRunOutput_.prototype, "DurationSeconds", void 0);
|
|
86221
|
+
__decorate([
|
|
86222
|
+
Field({ nullable: true, description: `JSON object with additional metadata about this output (e.g., URL at time of capture, tool calls, error info)` }),
|
|
86223
|
+
__metadata("design:type", String)
|
|
86224
|
+
], MJTestRunOutput_.prototype, "Metadata", void 0);
|
|
86225
|
+
__decorate([
|
|
86226
|
+
Field(),
|
|
86227
|
+
MaxLength(10),
|
|
86228
|
+
__metadata("design:type", Date)
|
|
86229
|
+
], MJTestRunOutput_.prototype, "_mj__CreatedAt", void 0);
|
|
86230
|
+
__decorate([
|
|
86231
|
+
Field(),
|
|
86232
|
+
MaxLength(10),
|
|
86233
|
+
__metadata("design:type", Date)
|
|
86234
|
+
], MJTestRunOutput_.prototype, "_mj__UpdatedAt", void 0);
|
|
86235
|
+
__decorate([
|
|
86236
|
+
Field(),
|
|
86237
|
+
MaxLength(510),
|
|
86238
|
+
__metadata("design:type", String)
|
|
86239
|
+
], MJTestRunOutput_.prototype, "TestRun", void 0);
|
|
86240
|
+
__decorate([
|
|
86241
|
+
Field(),
|
|
86242
|
+
MaxLength(200),
|
|
86243
|
+
__metadata("design:type", String)
|
|
86244
|
+
], MJTestRunOutput_.prototype, "OutputType", void 0);
|
|
86245
|
+
MJTestRunOutput_ = __decorate([
|
|
86246
|
+
ObjectType()
|
|
86247
|
+
], MJTestRunOutput_);
|
|
86248
|
+
export { MJTestRunOutput_ };
|
|
86249
|
+
//****************************************************************************
|
|
86250
|
+
// INPUT TYPE for MJ: Test Run Outputs
|
|
86251
|
+
//****************************************************************************
|
|
86252
|
+
let CreateMJTestRunOutputInput = class CreateMJTestRunOutputInput {
|
|
86253
|
+
};
|
|
86254
|
+
__decorate([
|
|
86255
|
+
Field({ nullable: true }),
|
|
86256
|
+
__metadata("design:type", String)
|
|
86257
|
+
], CreateMJTestRunOutputInput.prototype, "ID", void 0);
|
|
86258
|
+
__decorate([
|
|
86259
|
+
Field({ nullable: true }),
|
|
86260
|
+
__metadata("design:type", String)
|
|
86261
|
+
], CreateMJTestRunOutputInput.prototype, "TestRunID", void 0);
|
|
86262
|
+
__decorate([
|
|
86263
|
+
Field({ nullable: true }),
|
|
86264
|
+
__metadata("design:type", String)
|
|
86265
|
+
], CreateMJTestRunOutputInput.prototype, "OutputTypeID", void 0);
|
|
86266
|
+
__decorate([
|
|
86267
|
+
Field(() => Int, { nullable: true }),
|
|
86268
|
+
__metadata("design:type", Number)
|
|
86269
|
+
], CreateMJTestRunOutputInput.prototype, "Sequence", void 0);
|
|
86270
|
+
__decorate([
|
|
86271
|
+
Field(() => Int, { nullable: true }),
|
|
86272
|
+
__metadata("design:type", Number)
|
|
86273
|
+
], CreateMJTestRunOutputInput.prototype, "StepNumber", void 0);
|
|
86274
|
+
__decorate([
|
|
86275
|
+
Field({ nullable: true }),
|
|
86276
|
+
__metadata("design:type", String)
|
|
86277
|
+
], CreateMJTestRunOutputInput.prototype, "Name", void 0);
|
|
86278
|
+
__decorate([
|
|
86279
|
+
Field({ nullable: true }),
|
|
86280
|
+
__metadata("design:type", String)
|
|
86281
|
+
], CreateMJTestRunOutputInput.prototype, "Description", void 0);
|
|
86282
|
+
__decorate([
|
|
86283
|
+
Field({ nullable: true }),
|
|
86284
|
+
__metadata("design:type", String)
|
|
86285
|
+
], CreateMJTestRunOutputInput.prototype, "MimeType", void 0);
|
|
86286
|
+
__decorate([
|
|
86287
|
+
Field({ nullable: true }),
|
|
86288
|
+
__metadata("design:type", String)
|
|
86289
|
+
], CreateMJTestRunOutputInput.prototype, "InlineData", void 0);
|
|
86290
|
+
__decorate([
|
|
86291
|
+
Field(() => Int, { nullable: true }),
|
|
86292
|
+
__metadata("design:type", Number)
|
|
86293
|
+
], CreateMJTestRunOutputInput.prototype, "FileSizeBytes", void 0);
|
|
86294
|
+
__decorate([
|
|
86295
|
+
Field(() => Int, { nullable: true }),
|
|
86296
|
+
__metadata("design:type", Number)
|
|
86297
|
+
], CreateMJTestRunOutputInput.prototype, "Width", void 0);
|
|
86298
|
+
__decorate([
|
|
86299
|
+
Field(() => Int, { nullable: true }),
|
|
86300
|
+
__metadata("design:type", Number)
|
|
86301
|
+
], CreateMJTestRunOutputInput.prototype, "Height", void 0);
|
|
86302
|
+
__decorate([
|
|
86303
|
+
Field(() => Float, { nullable: true }),
|
|
86304
|
+
__metadata("design:type", Number)
|
|
86305
|
+
], CreateMJTestRunOutputInput.prototype, "DurationSeconds", void 0);
|
|
86306
|
+
__decorate([
|
|
86307
|
+
Field({ nullable: true }),
|
|
86308
|
+
__metadata("design:type", String)
|
|
86309
|
+
], CreateMJTestRunOutputInput.prototype, "Metadata", void 0);
|
|
86310
|
+
CreateMJTestRunOutputInput = __decorate([
|
|
86311
|
+
InputType()
|
|
86312
|
+
], CreateMJTestRunOutputInput);
|
|
86313
|
+
export { CreateMJTestRunOutputInput };
|
|
86314
|
+
//****************************************************************************
|
|
86315
|
+
// INPUT TYPE for MJ: Test Run Outputs
|
|
86316
|
+
//****************************************************************************
|
|
86317
|
+
let UpdateMJTestRunOutputInput = class UpdateMJTestRunOutputInput {
|
|
86318
|
+
};
|
|
86319
|
+
__decorate([
|
|
86320
|
+
Field(),
|
|
86321
|
+
__metadata("design:type", String)
|
|
86322
|
+
], UpdateMJTestRunOutputInput.prototype, "ID", void 0);
|
|
86323
|
+
__decorate([
|
|
86324
|
+
Field({ nullable: true }),
|
|
86325
|
+
__metadata("design:type", String)
|
|
86326
|
+
], UpdateMJTestRunOutputInput.prototype, "TestRunID", void 0);
|
|
86327
|
+
__decorate([
|
|
86328
|
+
Field({ nullable: true }),
|
|
86329
|
+
__metadata("design:type", String)
|
|
86330
|
+
], UpdateMJTestRunOutputInput.prototype, "OutputTypeID", void 0);
|
|
86331
|
+
__decorate([
|
|
86332
|
+
Field(() => Int, { nullable: true }),
|
|
86333
|
+
__metadata("design:type", Number)
|
|
86334
|
+
], UpdateMJTestRunOutputInput.prototype, "Sequence", void 0);
|
|
86335
|
+
__decorate([
|
|
86336
|
+
Field(() => Int, { nullable: true }),
|
|
86337
|
+
__metadata("design:type", Number)
|
|
86338
|
+
], UpdateMJTestRunOutputInput.prototype, "StepNumber", void 0);
|
|
86339
|
+
__decorate([
|
|
86340
|
+
Field({ nullable: true }),
|
|
86341
|
+
__metadata("design:type", String)
|
|
86342
|
+
], UpdateMJTestRunOutputInput.prototype, "Name", void 0);
|
|
86343
|
+
__decorate([
|
|
86344
|
+
Field({ nullable: true }),
|
|
86345
|
+
__metadata("design:type", String)
|
|
86346
|
+
], UpdateMJTestRunOutputInput.prototype, "Description", void 0);
|
|
86347
|
+
__decorate([
|
|
86348
|
+
Field({ nullable: true }),
|
|
86349
|
+
__metadata("design:type", String)
|
|
86350
|
+
], UpdateMJTestRunOutputInput.prototype, "MimeType", void 0);
|
|
86351
|
+
__decorate([
|
|
86352
|
+
Field({ nullable: true }),
|
|
86353
|
+
__metadata("design:type", String)
|
|
86354
|
+
], UpdateMJTestRunOutputInput.prototype, "InlineData", void 0);
|
|
86355
|
+
__decorate([
|
|
86356
|
+
Field(() => Int, { nullable: true }),
|
|
86357
|
+
__metadata("design:type", Number)
|
|
86358
|
+
], UpdateMJTestRunOutputInput.prototype, "FileSizeBytes", void 0);
|
|
86359
|
+
__decorate([
|
|
86360
|
+
Field(() => Int, { nullable: true }),
|
|
86361
|
+
__metadata("design:type", Number)
|
|
86362
|
+
], UpdateMJTestRunOutputInput.prototype, "Width", void 0);
|
|
86363
|
+
__decorate([
|
|
86364
|
+
Field(() => Int, { nullable: true }),
|
|
86365
|
+
__metadata("design:type", Number)
|
|
86366
|
+
], UpdateMJTestRunOutputInput.prototype, "Height", void 0);
|
|
86367
|
+
__decorate([
|
|
86368
|
+
Field(() => Float, { nullable: true }),
|
|
86369
|
+
__metadata("design:type", Number)
|
|
86370
|
+
], UpdateMJTestRunOutputInput.prototype, "DurationSeconds", void 0);
|
|
86371
|
+
__decorate([
|
|
86372
|
+
Field({ nullable: true }),
|
|
86373
|
+
__metadata("design:type", String)
|
|
86374
|
+
], UpdateMJTestRunOutputInput.prototype, "Metadata", void 0);
|
|
86375
|
+
__decorate([
|
|
86376
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
86377
|
+
__metadata("design:type", Array)
|
|
86378
|
+
], UpdateMJTestRunOutputInput.prototype, "OldValues___", void 0);
|
|
86379
|
+
UpdateMJTestRunOutputInput = __decorate([
|
|
86380
|
+
InputType()
|
|
86381
|
+
], UpdateMJTestRunOutputInput);
|
|
86382
|
+
export { UpdateMJTestRunOutputInput };
|
|
86383
|
+
//****************************************************************************
|
|
86384
|
+
// RESOLVER for MJ: Test Run Outputs
|
|
86385
|
+
//****************************************************************************
|
|
86386
|
+
let RunMJTestRunOutputViewResult = class RunMJTestRunOutputViewResult {
|
|
86387
|
+
};
|
|
86388
|
+
__decorate([
|
|
86389
|
+
Field(() => [MJTestRunOutput_]),
|
|
86390
|
+
__metadata("design:type", Array)
|
|
86391
|
+
], RunMJTestRunOutputViewResult.prototype, "Results", void 0);
|
|
86392
|
+
__decorate([
|
|
86393
|
+
Field(() => String, { nullable: true }),
|
|
86394
|
+
__metadata("design:type", String)
|
|
86395
|
+
], RunMJTestRunOutputViewResult.prototype, "UserViewRunID", void 0);
|
|
86396
|
+
__decorate([
|
|
86397
|
+
Field(() => Int, { nullable: true }),
|
|
86398
|
+
__metadata("design:type", Number)
|
|
86399
|
+
], RunMJTestRunOutputViewResult.prototype, "RowCount", void 0);
|
|
86400
|
+
__decorate([
|
|
86401
|
+
Field(() => Int, { nullable: true }),
|
|
86402
|
+
__metadata("design:type", Number)
|
|
86403
|
+
], RunMJTestRunOutputViewResult.prototype, "TotalRowCount", void 0);
|
|
86404
|
+
__decorate([
|
|
86405
|
+
Field(() => Int, { nullable: true }),
|
|
86406
|
+
__metadata("design:type", Number)
|
|
86407
|
+
], RunMJTestRunOutputViewResult.prototype, "ExecutionTime", void 0);
|
|
86408
|
+
__decorate([
|
|
86409
|
+
Field({ nullable: true }),
|
|
86410
|
+
__metadata("design:type", String)
|
|
86411
|
+
], RunMJTestRunOutputViewResult.prototype, "ErrorMessage", void 0);
|
|
86412
|
+
__decorate([
|
|
86413
|
+
Field(() => Boolean, { nullable: false }),
|
|
86414
|
+
__metadata("design:type", Boolean)
|
|
86415
|
+
], RunMJTestRunOutputViewResult.prototype, "Success", void 0);
|
|
86416
|
+
RunMJTestRunOutputViewResult = __decorate([
|
|
86417
|
+
ObjectType()
|
|
86418
|
+
], RunMJTestRunOutputViewResult);
|
|
86419
|
+
export { RunMJTestRunOutputViewResult };
|
|
86420
|
+
let MJTestRunOutputResolver = class MJTestRunOutputResolver extends ResolverBase {
|
|
86421
|
+
async RunMJTestRunOutputViewByID(input, { providers, userPayload }, pubSub) {
|
|
86422
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86423
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
86424
|
+
}
|
|
86425
|
+
async RunMJTestRunOutputViewByName(input, { providers, userPayload }, pubSub) {
|
|
86426
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86427
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
86428
|
+
}
|
|
86429
|
+
async RunMJTestRunOutputDynamicView(input, { providers, userPayload }, pubSub) {
|
|
86430
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86431
|
+
input.EntityName = 'MJ: Test Run Outputs';
|
|
86432
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
86433
|
+
}
|
|
86434
|
+
async MJTestRunOutput(ID, { dataSources, userPayload, providers }, pubSub) {
|
|
86435
|
+
this.CheckUserReadPermissions('MJ: Test Run Outputs', userPayload);
|
|
86436
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
86437
|
+
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
86438
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwTestRunOutputs] WHERE [ID]='${ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Test Run Outputs', userPayload, EntityPermissionType.Read, 'AND');
|
|
86439
|
+
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
86440
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Test Run Outputs', rows && rows.length > 0 ? rows[0] : {}, this.GetUserFromPayload(userPayload));
|
|
86441
|
+
return result;
|
|
86442
|
+
}
|
|
86443
|
+
async CreateMJTestRunOutput(input, { providers, userPayload }, pubSub) {
|
|
86444
|
+
const provider = GetReadWriteProvider(providers);
|
|
86445
|
+
return this.CreateRecord('MJ: Test Run Outputs', input, provider, userPayload, pubSub);
|
|
86446
|
+
}
|
|
86447
|
+
async UpdateMJTestRunOutput(input, { providers, userPayload }, pubSub) {
|
|
86448
|
+
const provider = GetReadWriteProvider(providers);
|
|
86449
|
+
return this.UpdateRecord('MJ: Test Run Outputs', input, provider, userPayload, pubSub);
|
|
86450
|
+
}
|
|
86451
|
+
async DeleteMJTestRunOutput(ID, options, { providers, userPayload }, pubSub) {
|
|
86452
|
+
const provider = GetReadWriteProvider(providers);
|
|
86453
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
86454
|
+
return this.DeleteRecord('MJ: Test Run Outputs', key, options, provider, userPayload, pubSub);
|
|
86455
|
+
}
|
|
86456
|
+
};
|
|
86457
|
+
__decorate([
|
|
86458
|
+
Query(() => RunMJTestRunOutputViewResult),
|
|
86459
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
86460
|
+
__param(1, Ctx()),
|
|
86461
|
+
__param(2, PubSub()),
|
|
86462
|
+
__metadata("design:type", Function),
|
|
86463
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
86464
|
+
__metadata("design:returntype", Promise)
|
|
86465
|
+
], MJTestRunOutputResolver.prototype, "RunMJTestRunOutputViewByID", null);
|
|
86466
|
+
__decorate([
|
|
86467
|
+
Query(() => RunMJTestRunOutputViewResult),
|
|
86468
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
86469
|
+
__param(1, Ctx()),
|
|
86470
|
+
__param(2, PubSub()),
|
|
86471
|
+
__metadata("design:type", Function),
|
|
86472
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
86473
|
+
__metadata("design:returntype", Promise)
|
|
86474
|
+
], MJTestRunOutputResolver.prototype, "RunMJTestRunOutputViewByName", null);
|
|
86475
|
+
__decorate([
|
|
86476
|
+
Query(() => RunMJTestRunOutputViewResult),
|
|
86477
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
86478
|
+
__param(1, Ctx()),
|
|
86479
|
+
__param(2, PubSub()),
|
|
86480
|
+
__metadata("design:type", Function),
|
|
86481
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
86482
|
+
__metadata("design:returntype", Promise)
|
|
86483
|
+
], MJTestRunOutputResolver.prototype, "RunMJTestRunOutputDynamicView", null);
|
|
86484
|
+
__decorate([
|
|
86485
|
+
Query(() => MJTestRunOutput_, { nullable: true }),
|
|
86486
|
+
__param(0, Arg('ID', () => String)),
|
|
86487
|
+
__param(1, Ctx()),
|
|
86488
|
+
__param(2, PubSub()),
|
|
86489
|
+
__metadata("design:type", Function),
|
|
86490
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
86491
|
+
__metadata("design:returntype", Promise)
|
|
86492
|
+
], MJTestRunOutputResolver.prototype, "MJTestRunOutput", null);
|
|
86493
|
+
__decorate([
|
|
86494
|
+
Mutation(() => MJTestRunOutput_),
|
|
86495
|
+
__param(0, Arg('input', () => CreateMJTestRunOutputInput)),
|
|
86496
|
+
__param(1, Ctx()),
|
|
86497
|
+
__param(2, PubSub()),
|
|
86498
|
+
__metadata("design:type", Function),
|
|
86499
|
+
__metadata("design:paramtypes", [CreateMJTestRunOutputInput, Object, PubSubEngine]),
|
|
86500
|
+
__metadata("design:returntype", Promise)
|
|
86501
|
+
], MJTestRunOutputResolver.prototype, "CreateMJTestRunOutput", null);
|
|
86502
|
+
__decorate([
|
|
86503
|
+
Mutation(() => MJTestRunOutput_),
|
|
86504
|
+
__param(0, Arg('input', () => UpdateMJTestRunOutputInput)),
|
|
86505
|
+
__param(1, Ctx()),
|
|
86506
|
+
__param(2, PubSub()),
|
|
86507
|
+
__metadata("design:type", Function),
|
|
86508
|
+
__metadata("design:paramtypes", [UpdateMJTestRunOutputInput, Object, PubSubEngine]),
|
|
86509
|
+
__metadata("design:returntype", Promise)
|
|
86510
|
+
], MJTestRunOutputResolver.prototype, "UpdateMJTestRunOutput", null);
|
|
86511
|
+
__decorate([
|
|
86512
|
+
Mutation(() => MJTestRunOutput_),
|
|
86513
|
+
__param(0, Arg('ID', () => String)),
|
|
86514
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
86515
|
+
__param(2, Ctx()),
|
|
86516
|
+
__param(3, PubSub()),
|
|
86517
|
+
__metadata("design:type", Function),
|
|
86518
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
86519
|
+
__metadata("design:returntype", Promise)
|
|
86520
|
+
], MJTestRunOutputResolver.prototype, "DeleteMJTestRunOutput", null);
|
|
86521
|
+
MJTestRunOutputResolver = __decorate([
|
|
86522
|
+
Resolver(MJTestRunOutput_)
|
|
86523
|
+
], MJTestRunOutputResolver);
|
|
86524
|
+
export { MJTestRunOutputResolver };
|
|
86525
|
+
//****************************************************************************
|
|
85917
86526
|
// ENTITY CLASS for MJ: Test Runs
|
|
85918
86527
|
//****************************************************************************
|
|
85919
86528
|
let MJTestRun_ = class MJTestRun_ {
|
|
@@ -86082,6 +86691,10 @@ __decorate([
|
|
|
86082
86691
|
MaxLength(510),
|
|
86083
86692
|
__metadata("design:type", String)
|
|
86084
86693
|
], MJTestRun_.prototype, "TargetLogEntity", void 0);
|
|
86694
|
+
__decorate([
|
|
86695
|
+
Field(() => [MJTestRunOutput_]),
|
|
86696
|
+
__metadata("design:type", Array)
|
|
86697
|
+
], MJTestRun_.prototype, "MJTestRunOutputs_TestRunIDArray", void 0);
|
|
86085
86698
|
__decorate([
|
|
86086
86699
|
Field(() => [MJTestRunFeedback_]),
|
|
86087
86700
|
__metadata("design:type", Array)
|
|
@@ -86428,6 +87041,15 @@ let MJTestRunResolver = class MJTestRunResolver extends ResolverBase {
|
|
|
86428
87041
|
const result = await this.MapFieldNamesToCodeNames('MJ: Test Runs', rows && rows.length > 0 ? rows[0] : {}, this.GetUserFromPayload(userPayload));
|
|
86429
87042
|
return result;
|
|
86430
87043
|
}
|
|
87044
|
+
async MJTestRunOutputs_TestRunIDArray(mjtestrun_, { dataSources, userPayload, providers }, pubSub) {
|
|
87045
|
+
this.CheckUserReadPermissions('MJ: Test Run Outputs', userPayload);
|
|
87046
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
87047
|
+
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
87048
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwTestRunOutputs] WHERE [TestRunID]='${mjtestrun_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Test Run Outputs', userPayload, EntityPermissionType.Read, 'AND');
|
|
87049
|
+
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
87050
|
+
const result = await this.ArrayMapFieldNamesToCodeNames('MJ: Test Run Outputs', rows, this.GetUserFromPayload(userPayload));
|
|
87051
|
+
return result;
|
|
87052
|
+
}
|
|
86431
87053
|
async MJTestRunFeedbacks_TestRunIDArray(mjtestrun_, { dataSources, userPayload, providers }, pubSub) {
|
|
86432
87054
|
this.CheckUserReadPermissions('MJ: Test Run Feedbacks', userPayload);
|
|
86433
87055
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
@@ -86523,6 +87145,15 @@ __decorate([
|
|
|
86523
87145
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
86524
87146
|
__metadata("design:returntype", Promise)
|
|
86525
87147
|
], MJTestRunResolver.prototype, "MJTestRun", null);
|
|
87148
|
+
__decorate([
|
|
87149
|
+
FieldResolver(() => [MJTestRunOutput_]),
|
|
87150
|
+
__param(0, Root()),
|
|
87151
|
+
__param(1, Ctx()),
|
|
87152
|
+
__param(2, PubSub()),
|
|
87153
|
+
__metadata("design:type", Function),
|
|
87154
|
+
__metadata("design:paramtypes", [MJTestRun_, Object, PubSubEngine]),
|
|
87155
|
+
__metadata("design:returntype", Promise)
|
|
87156
|
+
], MJTestRunResolver.prototype, "MJTestRunOutputs_TestRunIDArray", null);
|
|
86526
87157
|
__decorate([
|
|
86527
87158
|
FieldResolver(() => [MJTestRunFeedback_]),
|
|
86528
87159
|
__param(0, Root()),
|