@memberjunction/server 2.13.4 → 2.14.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.
@@ -1027,334 +1027,6 @@ ExplorerNavigationItemResolver = __decorate([
1027
1027
  Resolver(ExplorerNavigationItem_)
1028
1028
  ], ExplorerNavigationItemResolver);
1029
1029
  export { ExplorerNavigationItemResolver };
1030
- let flyway_schema_history_ = class flyway_schema_history_ {
1031
- installed_rank;
1032
- version;
1033
- description;
1034
- type;
1035
- script;
1036
- checksum;
1037
- installed_by;
1038
- installed_on;
1039
- execution_time;
1040
- success;
1041
- _mj__CreatedAt;
1042
- _mj__UpdatedAt;
1043
- };
1044
- __decorate([
1045
- Field(() => Int),
1046
- __metadata("design:type", Number)
1047
- ], flyway_schema_history_.prototype, "installed_rank", void 0);
1048
- __decorate([
1049
- Field({ nullable: true }),
1050
- MaxLength(100),
1051
- __metadata("design:type", String)
1052
- ], flyway_schema_history_.prototype, "version", void 0);
1053
- __decorate([
1054
- Field({ nullable: true }),
1055
- MaxLength(400),
1056
- __metadata("design:type", String)
1057
- ], flyway_schema_history_.prototype, "description", void 0);
1058
- __decorate([
1059
- Field(),
1060
- MaxLength(40),
1061
- __metadata("design:type", String)
1062
- ], flyway_schema_history_.prototype, "type", void 0);
1063
- __decorate([
1064
- Field(),
1065
- MaxLength(2000),
1066
- __metadata("design:type", String)
1067
- ], flyway_schema_history_.prototype, "script", void 0);
1068
- __decorate([
1069
- Field(() => Int, { nullable: true }),
1070
- __metadata("design:type", Number)
1071
- ], flyway_schema_history_.prototype, "checksum", void 0);
1072
- __decorate([
1073
- Field(),
1074
- MaxLength(200),
1075
- __metadata("design:type", String)
1076
- ], flyway_schema_history_.prototype, "installed_by", void 0);
1077
- __decorate([
1078
- Field(),
1079
- MaxLength(8),
1080
- __metadata("design:type", Date)
1081
- ], flyway_schema_history_.prototype, "installed_on", void 0);
1082
- __decorate([
1083
- Field(() => Int),
1084
- __metadata("design:type", Number)
1085
- ], flyway_schema_history_.prototype, "execution_time", void 0);
1086
- __decorate([
1087
- Field(() => Boolean),
1088
- __metadata("design:type", Boolean)
1089
- ], flyway_schema_history_.prototype, "success", void 0);
1090
- __decorate([
1091
- Field(),
1092
- MaxLength(10),
1093
- __metadata("design:type", Date)
1094
- ], flyway_schema_history_.prototype, "_mj__CreatedAt", void 0);
1095
- __decorate([
1096
- Field(),
1097
- MaxLength(10),
1098
- __metadata("design:type", Date)
1099
- ], flyway_schema_history_.prototype, "_mj__UpdatedAt", void 0);
1100
- flyway_schema_history_ = __decorate([
1101
- ObjectType()
1102
- ], flyway_schema_history_);
1103
- export { flyway_schema_history_ };
1104
- let Createflyway_schema_historyInput = class Createflyway_schema_historyInput {
1105
- installed_rank;
1106
- version;
1107
- description;
1108
- type;
1109
- script;
1110
- checksum;
1111
- installed_by;
1112
- installed_on;
1113
- execution_time;
1114
- success;
1115
- };
1116
- __decorate([
1117
- Field(() => Int),
1118
- __metadata("design:type", Number)
1119
- ], Createflyway_schema_historyInput.prototype, "installed_rank", void 0);
1120
- __decorate([
1121
- Field({ nullable: true }),
1122
- __metadata("design:type", String)
1123
- ], Createflyway_schema_historyInput.prototype, "version", void 0);
1124
- __decorate([
1125
- Field({ nullable: true }),
1126
- __metadata("design:type", String)
1127
- ], Createflyway_schema_historyInput.prototype, "description", void 0);
1128
- __decorate([
1129
- Field(),
1130
- __metadata("design:type", String)
1131
- ], Createflyway_schema_historyInput.prototype, "type", void 0);
1132
- __decorate([
1133
- Field(),
1134
- __metadata("design:type", String)
1135
- ], Createflyway_schema_historyInput.prototype, "script", void 0);
1136
- __decorate([
1137
- Field(() => Int, { nullable: true }),
1138
- __metadata("design:type", Number)
1139
- ], Createflyway_schema_historyInput.prototype, "checksum", void 0);
1140
- __decorate([
1141
- Field(),
1142
- __metadata("design:type", String)
1143
- ], Createflyway_schema_historyInput.prototype, "installed_by", void 0);
1144
- __decorate([
1145
- Field(),
1146
- __metadata("design:type", Date)
1147
- ], Createflyway_schema_historyInput.prototype, "installed_on", void 0);
1148
- __decorate([
1149
- Field(() => Int),
1150
- __metadata("design:type", Number)
1151
- ], Createflyway_schema_historyInput.prototype, "execution_time", void 0);
1152
- __decorate([
1153
- Field(() => Boolean),
1154
- __metadata("design:type", Boolean)
1155
- ], Createflyway_schema_historyInput.prototype, "success", void 0);
1156
- Createflyway_schema_historyInput = __decorate([
1157
- InputType()
1158
- ], Createflyway_schema_historyInput);
1159
- export { Createflyway_schema_historyInput };
1160
- let Updateflyway_schema_historyInput = class Updateflyway_schema_historyInput {
1161
- installed_rank;
1162
- version;
1163
- description;
1164
- type;
1165
- script;
1166
- checksum;
1167
- installed_by;
1168
- installed_on;
1169
- execution_time;
1170
- success;
1171
- OldValues___;
1172
- };
1173
- __decorate([
1174
- Field(() => Int),
1175
- __metadata("design:type", Number)
1176
- ], Updateflyway_schema_historyInput.prototype, "installed_rank", void 0);
1177
- __decorate([
1178
- Field({ nullable: true }),
1179
- __metadata("design:type", String)
1180
- ], Updateflyway_schema_historyInput.prototype, "version", void 0);
1181
- __decorate([
1182
- Field({ nullable: true }),
1183
- __metadata("design:type", String)
1184
- ], Updateflyway_schema_historyInput.prototype, "description", void 0);
1185
- __decorate([
1186
- Field(),
1187
- __metadata("design:type", String)
1188
- ], Updateflyway_schema_historyInput.prototype, "type", void 0);
1189
- __decorate([
1190
- Field(),
1191
- __metadata("design:type", String)
1192
- ], Updateflyway_schema_historyInput.prototype, "script", void 0);
1193
- __decorate([
1194
- Field(() => Int, { nullable: true }),
1195
- __metadata("design:type", Number)
1196
- ], Updateflyway_schema_historyInput.prototype, "checksum", void 0);
1197
- __decorate([
1198
- Field(),
1199
- __metadata("design:type", String)
1200
- ], Updateflyway_schema_historyInput.prototype, "installed_by", void 0);
1201
- __decorate([
1202
- Field(),
1203
- __metadata("design:type", Date)
1204
- ], Updateflyway_schema_historyInput.prototype, "installed_on", void 0);
1205
- __decorate([
1206
- Field(() => Int),
1207
- __metadata("design:type", Number)
1208
- ], Updateflyway_schema_historyInput.prototype, "execution_time", void 0);
1209
- __decorate([
1210
- Field(() => Boolean),
1211
- __metadata("design:type", Boolean)
1212
- ], Updateflyway_schema_historyInput.prototype, "success", void 0);
1213
- __decorate([
1214
- Field(() => [KeyValuePairInput], { nullable: true }),
1215
- __metadata("design:type", Array)
1216
- ], Updateflyway_schema_historyInput.prototype, "OldValues___", void 0);
1217
- Updateflyway_schema_historyInput = __decorate([
1218
- InputType()
1219
- ], Updateflyway_schema_historyInput);
1220
- export { Updateflyway_schema_historyInput };
1221
- let Runflyway_schema_historyViewResult = class Runflyway_schema_historyViewResult {
1222
- Results;
1223
- UserViewRunID;
1224
- RowCount;
1225
- TotalRowCount;
1226
- ExecutionTime;
1227
- ErrorMessage;
1228
- Success;
1229
- };
1230
- __decorate([
1231
- Field(() => [flyway_schema_history_]),
1232
- __metadata("design:type", Array)
1233
- ], Runflyway_schema_historyViewResult.prototype, "Results", void 0);
1234
- __decorate([
1235
- Field(() => String, { nullable: true }),
1236
- __metadata("design:type", String)
1237
- ], Runflyway_schema_historyViewResult.prototype, "UserViewRunID", void 0);
1238
- __decorate([
1239
- Field(() => Int, { nullable: true }),
1240
- __metadata("design:type", Number)
1241
- ], Runflyway_schema_historyViewResult.prototype, "RowCount", void 0);
1242
- __decorate([
1243
- Field(() => Int, { nullable: true }),
1244
- __metadata("design:type", Number)
1245
- ], Runflyway_schema_historyViewResult.prototype, "TotalRowCount", void 0);
1246
- __decorate([
1247
- Field(() => Int, { nullable: true }),
1248
- __metadata("design:type", Number)
1249
- ], Runflyway_schema_historyViewResult.prototype, "ExecutionTime", void 0);
1250
- __decorate([
1251
- Field({ nullable: true }),
1252
- __metadata("design:type", String)
1253
- ], Runflyway_schema_historyViewResult.prototype, "ErrorMessage", void 0);
1254
- __decorate([
1255
- Field(() => Boolean, { nullable: false }),
1256
- __metadata("design:type", Boolean)
1257
- ], Runflyway_schema_historyViewResult.prototype, "Success", void 0);
1258
- Runflyway_schema_historyViewResult = __decorate([
1259
- ObjectType()
1260
- ], Runflyway_schema_historyViewResult);
1261
- export { Runflyway_schema_historyViewResult };
1262
- let flyway_schema_historyResolver = class flyway_schema_historyResolver extends ResolverBase {
1263
- async Runflyway_schema_historyViewByID(input, { dataSource, userPayload }, pubSub) {
1264
- return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
1265
- }
1266
- async Runflyway_schema_historyViewByName(input, { dataSource, userPayload }, pubSub) {
1267
- return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
1268
- }
1269
- async Runflyway_schema_historyDynamicView(input, { dataSource, userPayload }, pubSub) {
1270
- input.EntityName = 'flyway _schema _histories';
1271
- return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
1272
- }
1273
- async flyway_schema_history(installed_rank, { dataSource, userPayload }, pubSub) {
1274
- this.CheckUserReadPermissions('flyway _schema _histories', userPayload);
1275
- const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwflyway_schema_histories] WHERE [installed_rank]=${installed_rank} ` + this.getRowLevelSecurityWhereClause('flyway _schema _histories', userPayload, EntityPermissionType.Read, 'AND');
1276
- const result = this.MapFieldNamesToCodeNames('flyway _schema _histories', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
1277
- return result;
1278
- }
1279
- async Createflyway_schema_history(input, { dataSource, userPayload }, pubSub) {
1280
- return this.CreateRecord('flyway _schema _histories', input, dataSource, userPayload, pubSub);
1281
- }
1282
- async Updateflyway_schema_history(input, { dataSource, userPayload }, pubSub) {
1283
- return this.UpdateRecord('flyway _schema _histories', input, dataSource, userPayload, pubSub);
1284
- }
1285
- async Deleteflyway_schema_history(installed_rank, options, { dataSource, userPayload }, pubSub) {
1286
- const key = new CompositeKey([{ FieldName: 'installed_rank', Value: installed_rank }]);
1287
- return this.DeleteRecord('flyway _schema _histories', key, options, dataSource, userPayload, pubSub);
1288
- }
1289
- };
1290
- __decorate([
1291
- Query(() => Runflyway_schema_historyViewResult),
1292
- __param(0, Arg('input', () => RunViewByIDInput)),
1293
- __param(1, Ctx()),
1294
- __param(2, PubSub()),
1295
- __metadata("design:type", Function),
1296
- __metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
1297
- __metadata("design:returntype", Promise)
1298
- ], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyViewByID", null);
1299
- __decorate([
1300
- Query(() => Runflyway_schema_historyViewResult),
1301
- __param(0, Arg('input', () => RunViewByNameInput)),
1302
- __param(1, Ctx()),
1303
- __param(2, PubSub()),
1304
- __metadata("design:type", Function),
1305
- __metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
1306
- __metadata("design:returntype", Promise)
1307
- ], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyViewByName", null);
1308
- __decorate([
1309
- Query(() => Runflyway_schema_historyViewResult),
1310
- __param(0, Arg('input', () => RunDynamicViewInput)),
1311
- __param(1, Ctx()),
1312
- __param(2, PubSub()),
1313
- __metadata("design:type", Function),
1314
- __metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
1315
- __metadata("design:returntype", Promise)
1316
- ], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyDynamicView", null);
1317
- __decorate([
1318
- Query(() => flyway_schema_history_, { nullable: true }),
1319
- __param(0, Arg('installed_rank', () => Int)),
1320
- __param(1, Ctx()),
1321
- __param(2, PubSub()),
1322
- __metadata("design:type", Function),
1323
- __metadata("design:paramtypes", [Number, Object, PubSubEngine]),
1324
- __metadata("design:returntype", Promise)
1325
- ], flyway_schema_historyResolver.prototype, "flyway_schema_history", null);
1326
- __decorate([
1327
- Mutation(() => flyway_schema_history_),
1328
- __param(0, Arg('input', () => Createflyway_schema_historyInput)),
1329
- __param(1, Ctx()),
1330
- __param(2, PubSub()),
1331
- __metadata("design:type", Function),
1332
- __metadata("design:paramtypes", [Createflyway_schema_historyInput, Object, PubSubEngine]),
1333
- __metadata("design:returntype", Promise)
1334
- ], flyway_schema_historyResolver.prototype, "Createflyway_schema_history", null);
1335
- __decorate([
1336
- Mutation(() => flyway_schema_history_),
1337
- __param(0, Arg('input', () => Updateflyway_schema_historyInput)),
1338
- __param(1, Ctx()),
1339
- __param(2, PubSub()),
1340
- __metadata("design:type", Function),
1341
- __metadata("design:paramtypes", [Updateflyway_schema_historyInput, Object, PubSubEngine]),
1342
- __metadata("design:returntype", Promise)
1343
- ], flyway_schema_historyResolver.prototype, "Updateflyway_schema_history", null);
1344
- __decorate([
1345
- Mutation(() => flyway_schema_history_),
1346
- __param(0, Arg('installed_rank', () => Int)),
1347
- __param(1, Arg('options___', () => DeleteOptionsInput)),
1348
- __param(2, Ctx()),
1349
- __param(3, PubSub()),
1350
- __metadata("design:type", Function),
1351
- __metadata("design:paramtypes", [Number, DeleteOptionsInput, Object, PubSubEngine]),
1352
- __metadata("design:returntype", Promise)
1353
- ], flyway_schema_historyResolver.prototype, "Deleteflyway_schema_history", null);
1354
- flyway_schema_historyResolver = __decorate([
1355
- Resolver(flyway_schema_history_)
1356
- ], flyway_schema_historyResolver);
1357
- export { flyway_schema_historyResolver };
1358
1030
  let AIPrompt_ = class AIPrompt_ {
1359
1031
  ID;
1360
1032
  Name;
@@ -2014,8 +1686,8 @@ let AIPromptCategory_ = class AIPromptCategory_ {
2014
1686
  _mj__CreatedAt;
2015
1687
  _mj__UpdatedAt;
2016
1688
  Parent;
2017
- AIPromptCategories_ParentIDArray;
2018
1689
  AIPrompts_CategoryIDArray;
1690
+ AIPromptCategories_ParentIDArray;
2019
1691
  };
2020
1692
  __decorate([
2021
1693
  Field(),
@@ -2051,14 +1723,14 @@ __decorate([
2051
1723
  MaxLength(510),
2052
1724
  __metadata("design:type", String)
2053
1725
  ], AIPromptCategory_.prototype, "Parent", void 0);
2054
- __decorate([
2055
- Field(() => [AIPromptCategory_]),
2056
- __metadata("design:type", Array)
2057
- ], AIPromptCategory_.prototype, "AIPromptCategories_ParentIDArray", void 0);
2058
1726
  __decorate([
2059
1727
  Field(() => [AIPrompt_]),
2060
1728
  __metadata("design:type", Array)
2061
1729
  ], AIPromptCategory_.prototype, "AIPrompts_CategoryIDArray", void 0);
1730
+ __decorate([
1731
+ Field(() => [AIPromptCategory_]),
1732
+ __metadata("design:type", Array)
1733
+ ], AIPromptCategory_.prototype, "AIPromptCategories_ParentIDArray", void 0);
2062
1734
  AIPromptCategory_ = __decorate([
2063
1735
  ObjectType({ description: 'Categories for organizing AI prompts in a hierarchical structure.' })
2064
1736
  ], AIPromptCategory_);
@@ -2173,18 +1845,18 @@ let AIPromptCategoryResolver = class AIPromptCategoryResolver extends ResolverBa
2173
1845
  const result = this.MapFieldNamesToCodeNames('AI Prompt Categories', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
2174
1846
  return result;
2175
1847
  }
2176
- async AIPromptCategories_ParentIDArray(aipromptcategory_, { dataSource, userPayload }, pubSub) {
2177
- this.CheckUserReadPermissions('AI Prompt Categories', userPayload);
2178
- const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPromptCategories] WHERE [ParentID]='${aipromptcategory_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Prompt Categories', userPayload, EntityPermissionType.Read, 'AND');
2179
- const result = this.ArrayMapFieldNamesToCodeNames('AI Prompt Categories', await dataSource.query(sSQL));
2180
- return result;
2181
- }
2182
1848
  async AIPrompts_CategoryIDArray(aipromptcategory_, { dataSource, userPayload }, pubSub) {
2183
1849
  this.CheckUserReadPermissions('AI Prompts', userPayload);
2184
1850
  const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPrompts] WHERE [CategoryID]='${aipromptcategory_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Prompts', userPayload, EntityPermissionType.Read, 'AND');
2185
1851
  const result = this.ArrayMapFieldNamesToCodeNames('AI Prompts', await dataSource.query(sSQL));
2186
1852
  return result;
2187
1853
  }
1854
+ async AIPromptCategories_ParentIDArray(aipromptcategory_, { dataSource, userPayload }, pubSub) {
1855
+ this.CheckUserReadPermissions('AI Prompt Categories', userPayload);
1856
+ const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPromptCategories] WHERE [ParentID]='${aipromptcategory_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Prompt Categories', userPayload, EntityPermissionType.Read, 'AND');
1857
+ const result = this.ArrayMapFieldNamesToCodeNames('AI Prompt Categories', await dataSource.query(sSQL));
1858
+ return result;
1859
+ }
2188
1860
  async CreateAIPromptCategory(input, { dataSource, userPayload }, pubSub) {
2189
1861
  return this.CreateRecord('AI Prompt Categories', input, dataSource, userPayload, pubSub);
2190
1862
  }
@@ -2233,23 +1905,23 @@ __decorate([
2233
1905
  __metadata("design:returntype", Promise)
2234
1906
  ], AIPromptCategoryResolver.prototype, "AIPromptCategory", null);
2235
1907
  __decorate([
2236
- FieldResolver(() => [AIPromptCategory_]),
1908
+ FieldResolver(() => [AIPrompt_]),
2237
1909
  __param(0, Root()),
2238
1910
  __param(1, Ctx()),
2239
1911
  __param(2, PubSub()),
2240
1912
  __metadata("design:type", Function),
2241
1913
  __metadata("design:paramtypes", [AIPromptCategory_, Object, PubSubEngine]),
2242
1914
  __metadata("design:returntype", Promise)
2243
- ], AIPromptCategoryResolver.prototype, "AIPromptCategories_ParentIDArray", null);
1915
+ ], AIPromptCategoryResolver.prototype, "AIPrompts_CategoryIDArray", null);
2244
1916
  __decorate([
2245
- FieldResolver(() => [AIPrompt_]),
1917
+ FieldResolver(() => [AIPromptCategory_]),
2246
1918
  __param(0, Root()),
2247
1919
  __param(1, Ctx()),
2248
1920
  __param(2, PubSub()),
2249
1921
  __metadata("design:type", Function),
2250
1922
  __metadata("design:paramtypes", [AIPromptCategory_, Object, PubSubEngine]),
2251
1923
  __metadata("design:returntype", Promise)
2252
- ], AIPromptCategoryResolver.prototype, "AIPrompts_CategoryIDArray", null);
1924
+ ], AIPromptCategoryResolver.prototype, "AIPromptCategories_ParentIDArray", null);
2253
1925
  __decorate([
2254
1926
  Mutation(() => AIPromptCategory_),
2255
1927
  __param(0, Arg('input', () => CreateAIPromptCategoryInput)),
@@ -16964,8 +16636,8 @@ let AIModel_ = class AIModel_ {
16964
16636
  AIModelActions_AIModelIDArray;
16965
16637
  VectorIndexes_EmbeddingModelIDArray;
16966
16638
  ContentTypes_AIModelIDArray;
16967
- EntityAIActions_AIModelIDArray;
16968
16639
  AIResultCache_AIModelIDArray;
16640
+ EntityAIActions_AIModelIDArray;
16969
16641
  };
16970
16642
  __decorate([
16971
16643
  Field(),
@@ -17065,14 +16737,14 @@ __decorate([
17065
16737
  Field(() => [ContentType_]),
17066
16738
  __metadata("design:type", Array)
17067
16739
  ], AIModel_.prototype, "ContentTypes_AIModelIDArray", void 0);
17068
- __decorate([
17069
- Field(() => [EntityAIAction_]),
17070
- __metadata("design:type", Array)
17071
- ], AIModel_.prototype, "EntityAIActions_AIModelIDArray", void 0);
17072
16740
  __decorate([
17073
16741
  Field(() => [AIResultCache_]),
17074
16742
  __metadata("design:type", Array)
17075
16743
  ], AIModel_.prototype, "AIResultCache_AIModelIDArray", void 0);
16744
+ __decorate([
16745
+ Field(() => [EntityAIAction_]),
16746
+ __metadata("design:type", Array)
16747
+ ], AIModel_.prototype, "EntityAIActions_AIModelIDArray", void 0);
17076
16748
  AIModel_ = __decorate([
17077
16749
  ObjectType({ description: 'Catalog of all AI Models configured in the system' })
17078
16750
  ], AIModel_);
@@ -17323,18 +16995,18 @@ let AIModelResolver = class AIModelResolver extends ResolverBase {
17323
16995
  const result = this.ArrayMapFieldNamesToCodeNames('Content Types', await dataSource.query(sSQL));
17324
16996
  return result;
17325
16997
  }
17326
- async EntityAIActions_AIModelIDArray(aimodel_, { dataSource, userPayload }, pubSub) {
17327
- this.CheckUserReadPermissions('Entity AI Actions', userPayload);
17328
- const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityAIActions] WHERE [AIModelID]='${aimodel_.ID}' ` + this.getRowLevelSecurityWhereClause('Entity AI Actions', userPayload, EntityPermissionType.Read, 'AND');
17329
- const result = this.ArrayMapFieldNamesToCodeNames('Entity AI Actions', await dataSource.query(sSQL));
17330
- return result;
17331
- }
17332
16998
  async AIResultCache_AIModelIDArray(aimodel_, { dataSource, userPayload }, pubSub) {
17333
16999
  this.CheckUserReadPermissions('AI Result Cache', userPayload);
17334
17000
  const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIResultCaches] WHERE [AIModelID]='${aimodel_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Result Cache', userPayload, EntityPermissionType.Read, 'AND');
17335
17001
  const result = this.ArrayMapFieldNamesToCodeNames('AI Result Cache', await dataSource.query(sSQL));
17336
17002
  return result;
17337
17003
  }
17004
+ async EntityAIActions_AIModelIDArray(aimodel_, { dataSource, userPayload }, pubSub) {
17005
+ this.CheckUserReadPermissions('Entity AI Actions', userPayload);
17006
+ const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityAIActions] WHERE [AIModelID]='${aimodel_.ID}' ` + this.getRowLevelSecurityWhereClause('Entity AI Actions', userPayload, EntityPermissionType.Read, 'AND');
17007
+ const result = this.ArrayMapFieldNamesToCodeNames('Entity AI Actions', await dataSource.query(sSQL));
17008
+ return result;
17009
+ }
17338
17010
  async CreateAIModel(input, { dataSource, userPayload }, pubSub) {
17339
17011
  return this.CreateRecord('AI Models', input, dataSource, userPayload, pubSub);
17340
17012
  }
@@ -17436,23 +17108,23 @@ __decorate([
17436
17108
  __metadata("design:returntype", Promise)
17437
17109
  ], AIModelResolver.prototype, "ContentTypes_AIModelIDArray", null);
17438
17110
  __decorate([
17439
- FieldResolver(() => [EntityAIAction_]),
17111
+ FieldResolver(() => [AIResultCache_]),
17440
17112
  __param(0, Root()),
17441
17113
  __param(1, Ctx()),
17442
17114
  __param(2, PubSub()),
17443
17115
  __metadata("design:type", Function),
17444
17116
  __metadata("design:paramtypes", [AIModel_, Object, PubSubEngine]),
17445
17117
  __metadata("design:returntype", Promise)
17446
- ], AIModelResolver.prototype, "EntityAIActions_AIModelIDArray", null);
17118
+ ], AIModelResolver.prototype, "AIResultCache_AIModelIDArray", null);
17447
17119
  __decorate([
17448
- FieldResolver(() => [AIResultCache_]),
17120
+ FieldResolver(() => [EntityAIAction_]),
17449
17121
  __param(0, Root()),
17450
17122
  __param(1, Ctx()),
17451
17123
  __param(2, PubSub()),
17452
17124
  __metadata("design:type", Function),
17453
17125
  __metadata("design:paramtypes", [AIModel_, Object, PubSubEngine]),
17454
17126
  __metadata("design:returntype", Promise)
17455
- ], AIModelResolver.prototype, "AIResultCache_AIModelIDArray", null);
17127
+ ], AIModelResolver.prototype, "EntityAIActions_AIModelIDArray", null);
17456
17128
  __decorate([
17457
17129
  Mutation(() => AIModel_),
17458
17130
  __param(0, Arg('input', () => CreateAIModelInput)),
@@ -22620,6 +22292,10 @@ let ConversationDetail_ = class ConversationDetail_ {
22620
22292
  HiddenToUser;
22621
22293
  _mj__CreatedAt;
22622
22294
  _mj__UpdatedAt;
22295
+ UserRating;
22296
+ UserFeedback;
22297
+ ReflectionInsights;
22298
+ SummaryOfEarlierConversation;
22623
22299
  Conversation;
22624
22300
  Reports_ConversationDetailIDArray;
22625
22301
  };
@@ -22665,6 +22341,22 @@ __decorate([
22665
22341
  MaxLength(10),
22666
22342
  __metadata("design:type", Date)
22667
22343
  ], ConversationDetail_.prototype, "_mj__UpdatedAt", void 0);
22344
+ __decorate([
22345
+ Field(() => Int, { nullable: true, description: 'This column is used to capture user feedback as a rating scale. The scale ranges from 1 to 10, where 1 might represent thumbs down, and 10 might represent thumbs up or the highest rating in a star-based scale.' }),
22346
+ __metadata("design:type", Number)
22347
+ ], ConversationDetail_.prototype, "UserRating", void 0);
22348
+ __decorate([
22349
+ Field({ nullable: true, description: 'This column is used to store user text feedback about a given AI response, describing what they liked or disliked.' }),
22350
+ __metadata("design:type", String)
22351
+ ], ConversationDetail_.prototype, "UserFeedback", void 0);
22352
+ __decorate([
22353
+ Field({ nullable: true, description: 'This column stores human or AI-generated reflections on how to improve future responses based on the user feedback and the AI output generated for prior messages in the conversation.' }),
22354
+ __metadata("design:type", String)
22355
+ ], ConversationDetail_.prototype, "ReflectionInsights", void 0);
22356
+ __decorate([
22357
+ Field({ nullable: true, description: 'This column optionally stores a summary of the entire conversation leading up to this particular conversation detail record. It is used in long-running conversations to optimize performance by summarizing earlier parts.' }),
22358
+ __metadata("design:type", String)
22359
+ ], ConversationDetail_.prototype, "SummaryOfEarlierConversation", void 0);
22668
22360
  __decorate([
22669
22361
  Field({ nullable: true }),
22670
22362
  MaxLength(510),
@@ -22685,6 +22377,10 @@ let CreateConversationDetailInput = class CreateConversationDetailInput {
22685
22377
  Message;
22686
22378
  Error;
22687
22379
  HiddenToUser;
22380
+ UserRating;
22381
+ UserFeedback;
22382
+ ReflectionInsights;
22383
+ SummaryOfEarlierConversation;
22688
22384
  };
22689
22385
  __decorate([
22690
22386
  Field(),
@@ -22710,6 +22406,22 @@ __decorate([
22710
22406
  Field(() => Boolean),
22711
22407
  __metadata("design:type", Boolean)
22712
22408
  ], CreateConversationDetailInput.prototype, "HiddenToUser", void 0);
22409
+ __decorate([
22410
+ Field(() => Int, { nullable: true }),
22411
+ __metadata("design:type", Number)
22412
+ ], CreateConversationDetailInput.prototype, "UserRating", void 0);
22413
+ __decorate([
22414
+ Field({ nullable: true }),
22415
+ __metadata("design:type", String)
22416
+ ], CreateConversationDetailInput.prototype, "UserFeedback", void 0);
22417
+ __decorate([
22418
+ Field({ nullable: true }),
22419
+ __metadata("design:type", String)
22420
+ ], CreateConversationDetailInput.prototype, "ReflectionInsights", void 0);
22421
+ __decorate([
22422
+ Field({ nullable: true }),
22423
+ __metadata("design:type", String)
22424
+ ], CreateConversationDetailInput.prototype, "SummaryOfEarlierConversation", void 0);
22713
22425
  CreateConversationDetailInput = __decorate([
22714
22426
  InputType()
22715
22427
  ], CreateConversationDetailInput);
@@ -22722,6 +22434,10 @@ let UpdateConversationDetailInput = class UpdateConversationDetailInput {
22722
22434
  Message;
22723
22435
  Error;
22724
22436
  HiddenToUser;
22437
+ UserRating;
22438
+ UserFeedback;
22439
+ ReflectionInsights;
22440
+ SummaryOfEarlierConversation;
22725
22441
  OldValues___;
22726
22442
  };
22727
22443
  __decorate([
@@ -22752,6 +22468,22 @@ __decorate([
22752
22468
  Field(() => Boolean),
22753
22469
  __metadata("design:type", Boolean)
22754
22470
  ], UpdateConversationDetailInput.prototype, "HiddenToUser", void 0);
22471
+ __decorate([
22472
+ Field(() => Int, { nullable: true }),
22473
+ __metadata("design:type", Number)
22474
+ ], UpdateConversationDetailInput.prototype, "UserRating", void 0);
22475
+ __decorate([
22476
+ Field({ nullable: true }),
22477
+ __metadata("design:type", String)
22478
+ ], UpdateConversationDetailInput.prototype, "UserFeedback", void 0);
22479
+ __decorate([
22480
+ Field({ nullable: true }),
22481
+ __metadata("design:type", String)
22482
+ ], UpdateConversationDetailInput.prototype, "ReflectionInsights", void 0);
22483
+ __decorate([
22484
+ Field({ nullable: true }),
22485
+ __metadata("design:type", String)
22486
+ ], UpdateConversationDetailInput.prototype, "SummaryOfEarlierConversation", void 0);
22755
22487
  __decorate([
22756
22488
  Field(() => [KeyValuePairInput], { nullable: true }),
22757
22489
  __metadata("design:type", Array)
@@ -42575,7 +42307,7 @@ __decorate([
42575
42307
  __metadata("design:type", Date)
42576
42308
  ], ResourcePermission_.prototype, "_mj__UpdatedAt", void 0);
42577
42309
  __decorate([
42578
- Field({ description: 'Status of the resource permission request. Possible values are Pending, Approved, Rejected, Revoked, or Requested.' }),
42310
+ Field({ description: 'Status of the resource permission request. Possible values are Requested, Approved, Rejected, or Revoked.' }),
42579
42311
  MaxLength(40),
42580
42312
  __metadata("design:type", String)
42581
42313
  ], ResourcePermission_.prototype, "Status", void 0);
@@ -46118,4 +45850,332 @@ ContentItemTagResolver = __decorate([
46118
45850
  Resolver(ContentItemTag_)
46119
45851
  ], ContentItemTagResolver);
46120
45852
  export { ContentItemTagResolver };
45853
+ let flyway_schema_history_ = class flyway_schema_history_ {
45854
+ installed_rank;
45855
+ version;
45856
+ description;
45857
+ type;
45858
+ script;
45859
+ checksum;
45860
+ installed_by;
45861
+ installed_on;
45862
+ execution_time;
45863
+ success;
45864
+ _mj__CreatedAt;
45865
+ _mj__UpdatedAt;
45866
+ };
45867
+ __decorate([
45868
+ Field(() => Int),
45869
+ __metadata("design:type", Number)
45870
+ ], flyway_schema_history_.prototype, "installed_rank", void 0);
45871
+ __decorate([
45872
+ Field({ nullable: true }),
45873
+ MaxLength(100),
45874
+ __metadata("design:type", String)
45875
+ ], flyway_schema_history_.prototype, "version", void 0);
45876
+ __decorate([
45877
+ Field({ nullable: true }),
45878
+ MaxLength(400),
45879
+ __metadata("design:type", String)
45880
+ ], flyway_schema_history_.prototype, "description", void 0);
45881
+ __decorate([
45882
+ Field(),
45883
+ MaxLength(40),
45884
+ __metadata("design:type", String)
45885
+ ], flyway_schema_history_.prototype, "type", void 0);
45886
+ __decorate([
45887
+ Field(),
45888
+ MaxLength(2000),
45889
+ __metadata("design:type", String)
45890
+ ], flyway_schema_history_.prototype, "script", void 0);
45891
+ __decorate([
45892
+ Field(() => Int, { nullable: true }),
45893
+ __metadata("design:type", Number)
45894
+ ], flyway_schema_history_.prototype, "checksum", void 0);
45895
+ __decorate([
45896
+ Field(),
45897
+ MaxLength(200),
45898
+ __metadata("design:type", String)
45899
+ ], flyway_schema_history_.prototype, "installed_by", void 0);
45900
+ __decorate([
45901
+ Field(),
45902
+ MaxLength(8),
45903
+ __metadata("design:type", Date)
45904
+ ], flyway_schema_history_.prototype, "installed_on", void 0);
45905
+ __decorate([
45906
+ Field(() => Int),
45907
+ __metadata("design:type", Number)
45908
+ ], flyway_schema_history_.prototype, "execution_time", void 0);
45909
+ __decorate([
45910
+ Field(() => Boolean),
45911
+ __metadata("design:type", Boolean)
45912
+ ], flyway_schema_history_.prototype, "success", void 0);
45913
+ __decorate([
45914
+ Field(),
45915
+ MaxLength(10),
45916
+ __metadata("design:type", Date)
45917
+ ], flyway_schema_history_.prototype, "_mj__CreatedAt", void 0);
45918
+ __decorate([
45919
+ Field(),
45920
+ MaxLength(10),
45921
+ __metadata("design:type", Date)
45922
+ ], flyway_schema_history_.prototype, "_mj__UpdatedAt", void 0);
45923
+ flyway_schema_history_ = __decorate([
45924
+ ObjectType()
45925
+ ], flyway_schema_history_);
45926
+ export { flyway_schema_history_ };
45927
+ let Createflyway_schema_historyInput = class Createflyway_schema_historyInput {
45928
+ installed_rank;
45929
+ version;
45930
+ description;
45931
+ type;
45932
+ script;
45933
+ checksum;
45934
+ installed_by;
45935
+ installed_on;
45936
+ execution_time;
45937
+ success;
45938
+ };
45939
+ __decorate([
45940
+ Field(() => Int),
45941
+ __metadata("design:type", Number)
45942
+ ], Createflyway_schema_historyInput.prototype, "installed_rank", void 0);
45943
+ __decorate([
45944
+ Field({ nullable: true }),
45945
+ __metadata("design:type", String)
45946
+ ], Createflyway_schema_historyInput.prototype, "version", void 0);
45947
+ __decorate([
45948
+ Field({ nullable: true }),
45949
+ __metadata("design:type", String)
45950
+ ], Createflyway_schema_historyInput.prototype, "description", void 0);
45951
+ __decorate([
45952
+ Field(),
45953
+ __metadata("design:type", String)
45954
+ ], Createflyway_schema_historyInput.prototype, "type", void 0);
45955
+ __decorate([
45956
+ Field(),
45957
+ __metadata("design:type", String)
45958
+ ], Createflyway_schema_historyInput.prototype, "script", void 0);
45959
+ __decorate([
45960
+ Field(() => Int, { nullable: true }),
45961
+ __metadata("design:type", Number)
45962
+ ], Createflyway_schema_historyInput.prototype, "checksum", void 0);
45963
+ __decorate([
45964
+ Field(),
45965
+ __metadata("design:type", String)
45966
+ ], Createflyway_schema_historyInput.prototype, "installed_by", void 0);
45967
+ __decorate([
45968
+ Field(),
45969
+ __metadata("design:type", Date)
45970
+ ], Createflyway_schema_historyInput.prototype, "installed_on", void 0);
45971
+ __decorate([
45972
+ Field(() => Int),
45973
+ __metadata("design:type", Number)
45974
+ ], Createflyway_schema_historyInput.prototype, "execution_time", void 0);
45975
+ __decorate([
45976
+ Field(() => Boolean),
45977
+ __metadata("design:type", Boolean)
45978
+ ], Createflyway_schema_historyInput.prototype, "success", void 0);
45979
+ Createflyway_schema_historyInput = __decorate([
45980
+ InputType()
45981
+ ], Createflyway_schema_historyInput);
45982
+ export { Createflyway_schema_historyInput };
45983
+ let Updateflyway_schema_historyInput = class Updateflyway_schema_historyInput {
45984
+ installed_rank;
45985
+ version;
45986
+ description;
45987
+ type;
45988
+ script;
45989
+ checksum;
45990
+ installed_by;
45991
+ installed_on;
45992
+ execution_time;
45993
+ success;
45994
+ OldValues___;
45995
+ };
45996
+ __decorate([
45997
+ Field(() => Int),
45998
+ __metadata("design:type", Number)
45999
+ ], Updateflyway_schema_historyInput.prototype, "installed_rank", void 0);
46000
+ __decorate([
46001
+ Field({ nullable: true }),
46002
+ __metadata("design:type", String)
46003
+ ], Updateflyway_schema_historyInput.prototype, "version", void 0);
46004
+ __decorate([
46005
+ Field({ nullable: true }),
46006
+ __metadata("design:type", String)
46007
+ ], Updateflyway_schema_historyInput.prototype, "description", void 0);
46008
+ __decorate([
46009
+ Field(),
46010
+ __metadata("design:type", String)
46011
+ ], Updateflyway_schema_historyInput.prototype, "type", void 0);
46012
+ __decorate([
46013
+ Field(),
46014
+ __metadata("design:type", String)
46015
+ ], Updateflyway_schema_historyInput.prototype, "script", void 0);
46016
+ __decorate([
46017
+ Field(() => Int, { nullable: true }),
46018
+ __metadata("design:type", Number)
46019
+ ], Updateflyway_schema_historyInput.prototype, "checksum", void 0);
46020
+ __decorate([
46021
+ Field(),
46022
+ __metadata("design:type", String)
46023
+ ], Updateflyway_schema_historyInput.prototype, "installed_by", void 0);
46024
+ __decorate([
46025
+ Field(),
46026
+ __metadata("design:type", Date)
46027
+ ], Updateflyway_schema_historyInput.prototype, "installed_on", void 0);
46028
+ __decorate([
46029
+ Field(() => Int),
46030
+ __metadata("design:type", Number)
46031
+ ], Updateflyway_schema_historyInput.prototype, "execution_time", void 0);
46032
+ __decorate([
46033
+ Field(() => Boolean),
46034
+ __metadata("design:type", Boolean)
46035
+ ], Updateflyway_schema_historyInput.prototype, "success", void 0);
46036
+ __decorate([
46037
+ Field(() => [KeyValuePairInput], { nullable: true }),
46038
+ __metadata("design:type", Array)
46039
+ ], Updateflyway_schema_historyInput.prototype, "OldValues___", void 0);
46040
+ Updateflyway_schema_historyInput = __decorate([
46041
+ InputType()
46042
+ ], Updateflyway_schema_historyInput);
46043
+ export { Updateflyway_schema_historyInput };
46044
+ let Runflyway_schema_historyViewResult = class Runflyway_schema_historyViewResult {
46045
+ Results;
46046
+ UserViewRunID;
46047
+ RowCount;
46048
+ TotalRowCount;
46049
+ ExecutionTime;
46050
+ ErrorMessage;
46051
+ Success;
46052
+ };
46053
+ __decorate([
46054
+ Field(() => [flyway_schema_history_]),
46055
+ __metadata("design:type", Array)
46056
+ ], Runflyway_schema_historyViewResult.prototype, "Results", void 0);
46057
+ __decorate([
46058
+ Field(() => String, { nullable: true }),
46059
+ __metadata("design:type", String)
46060
+ ], Runflyway_schema_historyViewResult.prototype, "UserViewRunID", void 0);
46061
+ __decorate([
46062
+ Field(() => Int, { nullable: true }),
46063
+ __metadata("design:type", Number)
46064
+ ], Runflyway_schema_historyViewResult.prototype, "RowCount", void 0);
46065
+ __decorate([
46066
+ Field(() => Int, { nullable: true }),
46067
+ __metadata("design:type", Number)
46068
+ ], Runflyway_schema_historyViewResult.prototype, "TotalRowCount", void 0);
46069
+ __decorate([
46070
+ Field(() => Int, { nullable: true }),
46071
+ __metadata("design:type", Number)
46072
+ ], Runflyway_schema_historyViewResult.prototype, "ExecutionTime", void 0);
46073
+ __decorate([
46074
+ Field({ nullable: true }),
46075
+ __metadata("design:type", String)
46076
+ ], Runflyway_schema_historyViewResult.prototype, "ErrorMessage", void 0);
46077
+ __decorate([
46078
+ Field(() => Boolean, { nullable: false }),
46079
+ __metadata("design:type", Boolean)
46080
+ ], Runflyway_schema_historyViewResult.prototype, "Success", void 0);
46081
+ Runflyway_schema_historyViewResult = __decorate([
46082
+ ObjectType()
46083
+ ], Runflyway_schema_historyViewResult);
46084
+ export { Runflyway_schema_historyViewResult };
46085
+ let flyway_schema_historyResolver = class flyway_schema_historyResolver extends ResolverBase {
46086
+ async Runflyway_schema_historyViewByID(input, { dataSource, userPayload }, pubSub) {
46087
+ return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
46088
+ }
46089
+ async Runflyway_schema_historyViewByName(input, { dataSource, userPayload }, pubSub) {
46090
+ return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
46091
+ }
46092
+ async Runflyway_schema_historyDynamicView(input, { dataSource, userPayload }, pubSub) {
46093
+ input.EntityName = 'flyway _schema _histories';
46094
+ return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
46095
+ }
46096
+ async flyway_schema_history(installed_rank, { dataSource, userPayload }, pubSub) {
46097
+ this.CheckUserReadPermissions('flyway _schema _histories', userPayload);
46098
+ const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwflyway_schema_histories] WHERE [installed_rank]=${installed_rank} ` + this.getRowLevelSecurityWhereClause('flyway _schema _histories', userPayload, EntityPermissionType.Read, 'AND');
46099
+ const result = this.MapFieldNamesToCodeNames('flyway _schema _histories', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
46100
+ return result;
46101
+ }
46102
+ async Createflyway_schema_history(input, { dataSource, userPayload }, pubSub) {
46103
+ return this.CreateRecord('flyway _schema _histories', input, dataSource, userPayload, pubSub);
46104
+ }
46105
+ async Updateflyway_schema_history(input, { dataSource, userPayload }, pubSub) {
46106
+ return this.UpdateRecord('flyway _schema _histories', input, dataSource, userPayload, pubSub);
46107
+ }
46108
+ async Deleteflyway_schema_history(installed_rank, options, { dataSource, userPayload }, pubSub) {
46109
+ const key = new CompositeKey([{ FieldName: 'installed_rank', Value: installed_rank }]);
46110
+ return this.DeleteRecord('flyway _schema _histories', key, options, dataSource, userPayload, pubSub);
46111
+ }
46112
+ };
46113
+ __decorate([
46114
+ Query(() => Runflyway_schema_historyViewResult),
46115
+ __param(0, Arg('input', () => RunViewByIDInput)),
46116
+ __param(1, Ctx()),
46117
+ __param(2, PubSub()),
46118
+ __metadata("design:type", Function),
46119
+ __metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
46120
+ __metadata("design:returntype", Promise)
46121
+ ], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyViewByID", null);
46122
+ __decorate([
46123
+ Query(() => Runflyway_schema_historyViewResult),
46124
+ __param(0, Arg('input', () => RunViewByNameInput)),
46125
+ __param(1, Ctx()),
46126
+ __param(2, PubSub()),
46127
+ __metadata("design:type", Function),
46128
+ __metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
46129
+ __metadata("design:returntype", Promise)
46130
+ ], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyViewByName", null);
46131
+ __decorate([
46132
+ Query(() => Runflyway_schema_historyViewResult),
46133
+ __param(0, Arg('input', () => RunDynamicViewInput)),
46134
+ __param(1, Ctx()),
46135
+ __param(2, PubSub()),
46136
+ __metadata("design:type", Function),
46137
+ __metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
46138
+ __metadata("design:returntype", Promise)
46139
+ ], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyDynamicView", null);
46140
+ __decorate([
46141
+ Query(() => flyway_schema_history_, { nullable: true }),
46142
+ __param(0, Arg('installed_rank', () => Int)),
46143
+ __param(1, Ctx()),
46144
+ __param(2, PubSub()),
46145
+ __metadata("design:type", Function),
46146
+ __metadata("design:paramtypes", [Number, Object, PubSubEngine]),
46147
+ __metadata("design:returntype", Promise)
46148
+ ], flyway_schema_historyResolver.prototype, "flyway_schema_history", null);
46149
+ __decorate([
46150
+ Mutation(() => flyway_schema_history_),
46151
+ __param(0, Arg('input', () => Createflyway_schema_historyInput)),
46152
+ __param(1, Ctx()),
46153
+ __param(2, PubSub()),
46154
+ __metadata("design:type", Function),
46155
+ __metadata("design:paramtypes", [Createflyway_schema_historyInput, Object, PubSubEngine]),
46156
+ __metadata("design:returntype", Promise)
46157
+ ], flyway_schema_historyResolver.prototype, "Createflyway_schema_history", null);
46158
+ __decorate([
46159
+ Mutation(() => flyway_schema_history_),
46160
+ __param(0, Arg('input', () => Updateflyway_schema_historyInput)),
46161
+ __param(1, Ctx()),
46162
+ __param(2, PubSub()),
46163
+ __metadata("design:type", Function),
46164
+ __metadata("design:paramtypes", [Updateflyway_schema_historyInput, Object, PubSubEngine]),
46165
+ __metadata("design:returntype", Promise)
46166
+ ], flyway_schema_historyResolver.prototype, "Updateflyway_schema_history", null);
46167
+ __decorate([
46168
+ Mutation(() => flyway_schema_history_),
46169
+ __param(0, Arg('installed_rank', () => Int)),
46170
+ __param(1, Arg('options___', () => DeleteOptionsInput)),
46171
+ __param(2, Ctx()),
46172
+ __param(3, PubSub()),
46173
+ __metadata("design:type", Function),
46174
+ __metadata("design:paramtypes", [Number, DeleteOptionsInput, Object, PubSubEngine]),
46175
+ __metadata("design:returntype", Promise)
46176
+ ], flyway_schema_historyResolver.prototype, "Deleteflyway_schema_history", null);
46177
+ flyway_schema_historyResolver = __decorate([
46178
+ Resolver(flyway_schema_history_)
46179
+ ], flyway_schema_historyResolver);
46180
+ export { flyway_schema_historyResolver };
46121
46181
  //# sourceMappingURL=generated.js.map