@memberjunction/server 2.12.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +4 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/newUsers.d.ts +1 -1
- package/dist/auth/newUsers.d.ts.map +1 -1
- package/dist/auth/newUsers.js +49 -35
- package/dist/auth/newUsers.js.map +1 -1
- package/dist/generated/generated.d.ts +59 -59
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +344 -344
- package/dist/generated/generated.js.map +1 -1
- package/package.json +22 -22
- package/src/auth/index.ts +14 -5
- package/src/auth/newUsers.ts +61 -37
- package/src/generated/generated.ts +218 -218
|
@@ -1027,6 +1027,334 @@ 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 };
|
|
1030
1358
|
let AIPrompt_ = class AIPrompt_ {
|
|
1031
1359
|
ID;
|
|
1032
1360
|
Name;
|
|
@@ -1686,8 +2014,8 @@ let AIPromptCategory_ = class AIPromptCategory_ {
|
|
|
1686
2014
|
_mj__CreatedAt;
|
|
1687
2015
|
_mj__UpdatedAt;
|
|
1688
2016
|
Parent;
|
|
1689
|
-
AIPrompts_CategoryIDArray;
|
|
1690
2017
|
AIPromptCategories_ParentIDArray;
|
|
2018
|
+
AIPrompts_CategoryIDArray;
|
|
1691
2019
|
};
|
|
1692
2020
|
__decorate([
|
|
1693
2021
|
Field(),
|
|
@@ -1723,14 +2051,14 @@ __decorate([
|
|
|
1723
2051
|
MaxLength(510),
|
|
1724
2052
|
__metadata("design:type", String)
|
|
1725
2053
|
], AIPromptCategory_.prototype, "Parent", void 0);
|
|
1726
|
-
__decorate([
|
|
1727
|
-
Field(() => [AIPrompt_]),
|
|
1728
|
-
__metadata("design:type", Array)
|
|
1729
|
-
], AIPromptCategory_.prototype, "AIPrompts_CategoryIDArray", void 0);
|
|
1730
2054
|
__decorate([
|
|
1731
2055
|
Field(() => [AIPromptCategory_]),
|
|
1732
2056
|
__metadata("design:type", Array)
|
|
1733
2057
|
], AIPromptCategory_.prototype, "AIPromptCategories_ParentIDArray", void 0);
|
|
2058
|
+
__decorate([
|
|
2059
|
+
Field(() => [AIPrompt_]),
|
|
2060
|
+
__metadata("design:type", Array)
|
|
2061
|
+
], AIPromptCategory_.prototype, "AIPrompts_CategoryIDArray", void 0);
|
|
1734
2062
|
AIPromptCategory_ = __decorate([
|
|
1735
2063
|
ObjectType({ description: 'Categories for organizing AI prompts in a hierarchical structure.' })
|
|
1736
2064
|
], AIPromptCategory_);
|
|
@@ -1845,18 +2173,18 @@ let AIPromptCategoryResolver = class AIPromptCategoryResolver extends ResolverBa
|
|
|
1845
2173
|
const result = this.MapFieldNamesToCodeNames('AI Prompt Categories', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
1846
2174
|
return result;
|
|
1847
2175
|
}
|
|
1848
|
-
async AIPrompts_CategoryIDArray(aipromptcategory_, { dataSource, userPayload }, pubSub) {
|
|
1849
|
-
this.CheckUserReadPermissions('AI Prompts', userPayload);
|
|
1850
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPrompts] WHERE [CategoryID]='${aipromptcategory_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Prompts', userPayload, EntityPermissionType.Read, 'AND');
|
|
1851
|
-
const result = this.ArrayMapFieldNamesToCodeNames('AI Prompts', await dataSource.query(sSQL));
|
|
1852
|
-
return result;
|
|
1853
|
-
}
|
|
1854
2176
|
async AIPromptCategories_ParentIDArray(aipromptcategory_, { dataSource, userPayload }, pubSub) {
|
|
1855
2177
|
this.CheckUserReadPermissions('AI Prompt Categories', userPayload);
|
|
1856
2178
|
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPromptCategories] WHERE [ParentID]='${aipromptcategory_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Prompt Categories', userPayload, EntityPermissionType.Read, 'AND');
|
|
1857
2179
|
const result = this.ArrayMapFieldNamesToCodeNames('AI Prompt Categories', await dataSource.query(sSQL));
|
|
1858
2180
|
return result;
|
|
1859
2181
|
}
|
|
2182
|
+
async AIPrompts_CategoryIDArray(aipromptcategory_, { dataSource, userPayload }, pubSub) {
|
|
2183
|
+
this.CheckUserReadPermissions('AI Prompts', userPayload);
|
|
2184
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIPrompts] WHERE [CategoryID]='${aipromptcategory_.ID}' ` + this.getRowLevelSecurityWhereClause('AI Prompts', userPayload, EntityPermissionType.Read, 'AND');
|
|
2185
|
+
const result = this.ArrayMapFieldNamesToCodeNames('AI Prompts', await dataSource.query(sSQL));
|
|
2186
|
+
return result;
|
|
2187
|
+
}
|
|
1860
2188
|
async CreateAIPromptCategory(input, { dataSource, userPayload }, pubSub) {
|
|
1861
2189
|
return this.CreateRecord('AI Prompt Categories', input, dataSource, userPayload, pubSub);
|
|
1862
2190
|
}
|
|
@@ -1905,23 +2233,23 @@ __decorate([
|
|
|
1905
2233
|
__metadata("design:returntype", Promise)
|
|
1906
2234
|
], AIPromptCategoryResolver.prototype, "AIPromptCategory", null);
|
|
1907
2235
|
__decorate([
|
|
1908
|
-
FieldResolver(() => [
|
|
2236
|
+
FieldResolver(() => [AIPromptCategory_]),
|
|
1909
2237
|
__param(0, Root()),
|
|
1910
2238
|
__param(1, Ctx()),
|
|
1911
2239
|
__param(2, PubSub()),
|
|
1912
2240
|
__metadata("design:type", Function),
|
|
1913
2241
|
__metadata("design:paramtypes", [AIPromptCategory_, Object, PubSubEngine]),
|
|
1914
2242
|
__metadata("design:returntype", Promise)
|
|
1915
|
-
], AIPromptCategoryResolver.prototype, "
|
|
2243
|
+
], AIPromptCategoryResolver.prototype, "AIPromptCategories_ParentIDArray", null);
|
|
1916
2244
|
__decorate([
|
|
1917
|
-
FieldResolver(() => [
|
|
2245
|
+
FieldResolver(() => [AIPrompt_]),
|
|
1918
2246
|
__param(0, Root()),
|
|
1919
2247
|
__param(1, Ctx()),
|
|
1920
2248
|
__param(2, PubSub()),
|
|
1921
2249
|
__metadata("design:type", Function),
|
|
1922
2250
|
__metadata("design:paramtypes", [AIPromptCategory_, Object, PubSubEngine]),
|
|
1923
2251
|
__metadata("design:returntype", Promise)
|
|
1924
|
-
], AIPromptCategoryResolver.prototype, "
|
|
2252
|
+
], AIPromptCategoryResolver.prototype, "AIPrompts_CategoryIDArray", null);
|
|
1925
2253
|
__decorate([
|
|
1926
2254
|
Mutation(() => AIPromptCategory_),
|
|
1927
2255
|
__param(0, Arg('input', () => CreateAIPromptCategoryInput)),
|
|
@@ -42247,7 +42575,7 @@ __decorate([
|
|
|
42247
42575
|
__metadata("design:type", Date)
|
|
42248
42576
|
], ResourcePermission_.prototype, "_mj__UpdatedAt", void 0);
|
|
42249
42577
|
__decorate([
|
|
42250
|
-
Field({ description: 'Status of the resource permission request. Possible values are
|
|
42578
|
+
Field({ description: 'Status of the resource permission request. Possible values are Pending, Approved, Rejected, Revoked, or Requested.' }),
|
|
42251
42579
|
MaxLength(40),
|
|
42252
42580
|
__metadata("design:type", String)
|
|
42253
42581
|
], ResourcePermission_.prototype, "Status", void 0);
|
|
@@ -45790,332 +46118,4 @@ ContentItemTagResolver = __decorate([
|
|
|
45790
46118
|
Resolver(ContentItemTag_)
|
|
45791
46119
|
], ContentItemTagResolver);
|
|
45792
46120
|
export { ContentItemTagResolver };
|
|
45793
|
-
let flyway_schema_history_ = class flyway_schema_history_ {
|
|
45794
|
-
installed_rank;
|
|
45795
|
-
version;
|
|
45796
|
-
description;
|
|
45797
|
-
type;
|
|
45798
|
-
script;
|
|
45799
|
-
checksum;
|
|
45800
|
-
installed_by;
|
|
45801
|
-
installed_on;
|
|
45802
|
-
execution_time;
|
|
45803
|
-
success;
|
|
45804
|
-
_mj__CreatedAt;
|
|
45805
|
-
_mj__UpdatedAt;
|
|
45806
|
-
};
|
|
45807
|
-
__decorate([
|
|
45808
|
-
Field(() => Int),
|
|
45809
|
-
__metadata("design:type", Number)
|
|
45810
|
-
], flyway_schema_history_.prototype, "installed_rank", void 0);
|
|
45811
|
-
__decorate([
|
|
45812
|
-
Field({ nullable: true }),
|
|
45813
|
-
MaxLength(100),
|
|
45814
|
-
__metadata("design:type", String)
|
|
45815
|
-
], flyway_schema_history_.prototype, "version", void 0);
|
|
45816
|
-
__decorate([
|
|
45817
|
-
Field({ nullable: true }),
|
|
45818
|
-
MaxLength(400),
|
|
45819
|
-
__metadata("design:type", String)
|
|
45820
|
-
], flyway_schema_history_.prototype, "description", void 0);
|
|
45821
|
-
__decorate([
|
|
45822
|
-
Field(),
|
|
45823
|
-
MaxLength(40),
|
|
45824
|
-
__metadata("design:type", String)
|
|
45825
|
-
], flyway_schema_history_.prototype, "type", void 0);
|
|
45826
|
-
__decorate([
|
|
45827
|
-
Field(),
|
|
45828
|
-
MaxLength(2000),
|
|
45829
|
-
__metadata("design:type", String)
|
|
45830
|
-
], flyway_schema_history_.prototype, "script", void 0);
|
|
45831
|
-
__decorate([
|
|
45832
|
-
Field(() => Int, { nullable: true }),
|
|
45833
|
-
__metadata("design:type", Number)
|
|
45834
|
-
], flyway_schema_history_.prototype, "checksum", void 0);
|
|
45835
|
-
__decorate([
|
|
45836
|
-
Field(),
|
|
45837
|
-
MaxLength(200),
|
|
45838
|
-
__metadata("design:type", String)
|
|
45839
|
-
], flyway_schema_history_.prototype, "installed_by", void 0);
|
|
45840
|
-
__decorate([
|
|
45841
|
-
Field(),
|
|
45842
|
-
MaxLength(8),
|
|
45843
|
-
__metadata("design:type", Date)
|
|
45844
|
-
], flyway_schema_history_.prototype, "installed_on", void 0);
|
|
45845
|
-
__decorate([
|
|
45846
|
-
Field(() => Int),
|
|
45847
|
-
__metadata("design:type", Number)
|
|
45848
|
-
], flyway_schema_history_.prototype, "execution_time", void 0);
|
|
45849
|
-
__decorate([
|
|
45850
|
-
Field(() => Boolean),
|
|
45851
|
-
__metadata("design:type", Boolean)
|
|
45852
|
-
], flyway_schema_history_.prototype, "success", void 0);
|
|
45853
|
-
__decorate([
|
|
45854
|
-
Field(),
|
|
45855
|
-
MaxLength(10),
|
|
45856
|
-
__metadata("design:type", Date)
|
|
45857
|
-
], flyway_schema_history_.prototype, "_mj__CreatedAt", void 0);
|
|
45858
|
-
__decorate([
|
|
45859
|
-
Field(),
|
|
45860
|
-
MaxLength(10),
|
|
45861
|
-
__metadata("design:type", Date)
|
|
45862
|
-
], flyway_schema_history_.prototype, "_mj__UpdatedAt", void 0);
|
|
45863
|
-
flyway_schema_history_ = __decorate([
|
|
45864
|
-
ObjectType()
|
|
45865
|
-
], flyway_schema_history_);
|
|
45866
|
-
export { flyway_schema_history_ };
|
|
45867
|
-
let Createflyway_schema_historyInput = class Createflyway_schema_historyInput {
|
|
45868
|
-
installed_rank;
|
|
45869
|
-
version;
|
|
45870
|
-
description;
|
|
45871
|
-
type;
|
|
45872
|
-
script;
|
|
45873
|
-
checksum;
|
|
45874
|
-
installed_by;
|
|
45875
|
-
installed_on;
|
|
45876
|
-
execution_time;
|
|
45877
|
-
success;
|
|
45878
|
-
};
|
|
45879
|
-
__decorate([
|
|
45880
|
-
Field(() => Int),
|
|
45881
|
-
__metadata("design:type", Number)
|
|
45882
|
-
], Createflyway_schema_historyInput.prototype, "installed_rank", void 0);
|
|
45883
|
-
__decorate([
|
|
45884
|
-
Field({ nullable: true }),
|
|
45885
|
-
__metadata("design:type", String)
|
|
45886
|
-
], Createflyway_schema_historyInput.prototype, "version", void 0);
|
|
45887
|
-
__decorate([
|
|
45888
|
-
Field({ nullable: true }),
|
|
45889
|
-
__metadata("design:type", String)
|
|
45890
|
-
], Createflyway_schema_historyInput.prototype, "description", void 0);
|
|
45891
|
-
__decorate([
|
|
45892
|
-
Field(),
|
|
45893
|
-
__metadata("design:type", String)
|
|
45894
|
-
], Createflyway_schema_historyInput.prototype, "type", void 0);
|
|
45895
|
-
__decorate([
|
|
45896
|
-
Field(),
|
|
45897
|
-
__metadata("design:type", String)
|
|
45898
|
-
], Createflyway_schema_historyInput.prototype, "script", void 0);
|
|
45899
|
-
__decorate([
|
|
45900
|
-
Field(() => Int, { nullable: true }),
|
|
45901
|
-
__metadata("design:type", Number)
|
|
45902
|
-
], Createflyway_schema_historyInput.prototype, "checksum", void 0);
|
|
45903
|
-
__decorate([
|
|
45904
|
-
Field(),
|
|
45905
|
-
__metadata("design:type", String)
|
|
45906
|
-
], Createflyway_schema_historyInput.prototype, "installed_by", void 0);
|
|
45907
|
-
__decorate([
|
|
45908
|
-
Field(),
|
|
45909
|
-
__metadata("design:type", Date)
|
|
45910
|
-
], Createflyway_schema_historyInput.prototype, "installed_on", void 0);
|
|
45911
|
-
__decorate([
|
|
45912
|
-
Field(() => Int),
|
|
45913
|
-
__metadata("design:type", Number)
|
|
45914
|
-
], Createflyway_schema_historyInput.prototype, "execution_time", void 0);
|
|
45915
|
-
__decorate([
|
|
45916
|
-
Field(() => Boolean),
|
|
45917
|
-
__metadata("design:type", Boolean)
|
|
45918
|
-
], Createflyway_schema_historyInput.prototype, "success", void 0);
|
|
45919
|
-
Createflyway_schema_historyInput = __decorate([
|
|
45920
|
-
InputType()
|
|
45921
|
-
], Createflyway_schema_historyInput);
|
|
45922
|
-
export { Createflyway_schema_historyInput };
|
|
45923
|
-
let Updateflyway_schema_historyInput = class Updateflyway_schema_historyInput {
|
|
45924
|
-
installed_rank;
|
|
45925
|
-
version;
|
|
45926
|
-
description;
|
|
45927
|
-
type;
|
|
45928
|
-
script;
|
|
45929
|
-
checksum;
|
|
45930
|
-
installed_by;
|
|
45931
|
-
installed_on;
|
|
45932
|
-
execution_time;
|
|
45933
|
-
success;
|
|
45934
|
-
OldValues___;
|
|
45935
|
-
};
|
|
45936
|
-
__decorate([
|
|
45937
|
-
Field(() => Int),
|
|
45938
|
-
__metadata("design:type", Number)
|
|
45939
|
-
], Updateflyway_schema_historyInput.prototype, "installed_rank", void 0);
|
|
45940
|
-
__decorate([
|
|
45941
|
-
Field({ nullable: true }),
|
|
45942
|
-
__metadata("design:type", String)
|
|
45943
|
-
], Updateflyway_schema_historyInput.prototype, "version", void 0);
|
|
45944
|
-
__decorate([
|
|
45945
|
-
Field({ nullable: true }),
|
|
45946
|
-
__metadata("design:type", String)
|
|
45947
|
-
], Updateflyway_schema_historyInput.prototype, "description", void 0);
|
|
45948
|
-
__decorate([
|
|
45949
|
-
Field(),
|
|
45950
|
-
__metadata("design:type", String)
|
|
45951
|
-
], Updateflyway_schema_historyInput.prototype, "type", void 0);
|
|
45952
|
-
__decorate([
|
|
45953
|
-
Field(),
|
|
45954
|
-
__metadata("design:type", String)
|
|
45955
|
-
], Updateflyway_schema_historyInput.prototype, "script", void 0);
|
|
45956
|
-
__decorate([
|
|
45957
|
-
Field(() => Int, { nullable: true }),
|
|
45958
|
-
__metadata("design:type", Number)
|
|
45959
|
-
], Updateflyway_schema_historyInput.prototype, "checksum", void 0);
|
|
45960
|
-
__decorate([
|
|
45961
|
-
Field(),
|
|
45962
|
-
__metadata("design:type", String)
|
|
45963
|
-
], Updateflyway_schema_historyInput.prototype, "installed_by", void 0);
|
|
45964
|
-
__decorate([
|
|
45965
|
-
Field(),
|
|
45966
|
-
__metadata("design:type", Date)
|
|
45967
|
-
], Updateflyway_schema_historyInput.prototype, "installed_on", void 0);
|
|
45968
|
-
__decorate([
|
|
45969
|
-
Field(() => Int),
|
|
45970
|
-
__metadata("design:type", Number)
|
|
45971
|
-
], Updateflyway_schema_historyInput.prototype, "execution_time", void 0);
|
|
45972
|
-
__decorate([
|
|
45973
|
-
Field(() => Boolean),
|
|
45974
|
-
__metadata("design:type", Boolean)
|
|
45975
|
-
], Updateflyway_schema_historyInput.prototype, "success", void 0);
|
|
45976
|
-
__decorate([
|
|
45977
|
-
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
45978
|
-
__metadata("design:type", Array)
|
|
45979
|
-
], Updateflyway_schema_historyInput.prototype, "OldValues___", void 0);
|
|
45980
|
-
Updateflyway_schema_historyInput = __decorate([
|
|
45981
|
-
InputType()
|
|
45982
|
-
], Updateflyway_schema_historyInput);
|
|
45983
|
-
export { Updateflyway_schema_historyInput };
|
|
45984
|
-
let Runflyway_schema_historyViewResult = class Runflyway_schema_historyViewResult {
|
|
45985
|
-
Results;
|
|
45986
|
-
UserViewRunID;
|
|
45987
|
-
RowCount;
|
|
45988
|
-
TotalRowCount;
|
|
45989
|
-
ExecutionTime;
|
|
45990
|
-
ErrorMessage;
|
|
45991
|
-
Success;
|
|
45992
|
-
};
|
|
45993
|
-
__decorate([
|
|
45994
|
-
Field(() => [flyway_schema_history_]),
|
|
45995
|
-
__metadata("design:type", Array)
|
|
45996
|
-
], Runflyway_schema_historyViewResult.prototype, "Results", void 0);
|
|
45997
|
-
__decorate([
|
|
45998
|
-
Field(() => String, { nullable: true }),
|
|
45999
|
-
__metadata("design:type", String)
|
|
46000
|
-
], Runflyway_schema_historyViewResult.prototype, "UserViewRunID", void 0);
|
|
46001
|
-
__decorate([
|
|
46002
|
-
Field(() => Int, { nullable: true }),
|
|
46003
|
-
__metadata("design:type", Number)
|
|
46004
|
-
], Runflyway_schema_historyViewResult.prototype, "RowCount", void 0);
|
|
46005
|
-
__decorate([
|
|
46006
|
-
Field(() => Int, { nullable: true }),
|
|
46007
|
-
__metadata("design:type", Number)
|
|
46008
|
-
], Runflyway_schema_historyViewResult.prototype, "TotalRowCount", void 0);
|
|
46009
|
-
__decorate([
|
|
46010
|
-
Field(() => Int, { nullable: true }),
|
|
46011
|
-
__metadata("design:type", Number)
|
|
46012
|
-
], Runflyway_schema_historyViewResult.prototype, "ExecutionTime", void 0);
|
|
46013
|
-
__decorate([
|
|
46014
|
-
Field({ nullable: true }),
|
|
46015
|
-
__metadata("design:type", String)
|
|
46016
|
-
], Runflyway_schema_historyViewResult.prototype, "ErrorMessage", void 0);
|
|
46017
|
-
__decorate([
|
|
46018
|
-
Field(() => Boolean, { nullable: false }),
|
|
46019
|
-
__metadata("design:type", Boolean)
|
|
46020
|
-
], Runflyway_schema_historyViewResult.prototype, "Success", void 0);
|
|
46021
|
-
Runflyway_schema_historyViewResult = __decorate([
|
|
46022
|
-
ObjectType()
|
|
46023
|
-
], Runflyway_schema_historyViewResult);
|
|
46024
|
-
export { Runflyway_schema_historyViewResult };
|
|
46025
|
-
let flyway_schema_historyResolver = class flyway_schema_historyResolver extends ResolverBase {
|
|
46026
|
-
async Runflyway_schema_historyViewByID(input, { dataSource, userPayload }, pubSub) {
|
|
46027
|
-
return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
|
|
46028
|
-
}
|
|
46029
|
-
async Runflyway_schema_historyViewByName(input, { dataSource, userPayload }, pubSub) {
|
|
46030
|
-
return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
|
|
46031
|
-
}
|
|
46032
|
-
async Runflyway_schema_historyDynamicView(input, { dataSource, userPayload }, pubSub) {
|
|
46033
|
-
input.EntityName = 'flyway _schema _histories';
|
|
46034
|
-
return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
|
|
46035
|
-
}
|
|
46036
|
-
async flyway_schema_history(installed_rank, { dataSource, userPayload }, pubSub) {
|
|
46037
|
-
this.CheckUserReadPermissions('flyway _schema _histories', userPayload);
|
|
46038
|
-
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');
|
|
46039
|
-
const result = this.MapFieldNamesToCodeNames('flyway _schema _histories', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
46040
|
-
return result;
|
|
46041
|
-
}
|
|
46042
|
-
async Createflyway_schema_history(input, { dataSource, userPayload }, pubSub) {
|
|
46043
|
-
return this.CreateRecord('flyway _schema _histories', input, dataSource, userPayload, pubSub);
|
|
46044
|
-
}
|
|
46045
|
-
async Updateflyway_schema_history(input, { dataSource, userPayload }, pubSub) {
|
|
46046
|
-
return this.UpdateRecord('flyway _schema _histories', input, dataSource, userPayload, pubSub);
|
|
46047
|
-
}
|
|
46048
|
-
async Deleteflyway_schema_history(installed_rank, options, { dataSource, userPayload }, pubSub) {
|
|
46049
|
-
const key = new CompositeKey([{ FieldName: 'installed_rank', Value: installed_rank }]);
|
|
46050
|
-
return this.DeleteRecord('flyway _schema _histories', key, options, dataSource, userPayload, pubSub);
|
|
46051
|
-
}
|
|
46052
|
-
};
|
|
46053
|
-
__decorate([
|
|
46054
|
-
Query(() => Runflyway_schema_historyViewResult),
|
|
46055
|
-
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
46056
|
-
__param(1, Ctx()),
|
|
46057
|
-
__param(2, PubSub()),
|
|
46058
|
-
__metadata("design:type", Function),
|
|
46059
|
-
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
46060
|
-
__metadata("design:returntype", Promise)
|
|
46061
|
-
], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyViewByID", null);
|
|
46062
|
-
__decorate([
|
|
46063
|
-
Query(() => Runflyway_schema_historyViewResult),
|
|
46064
|
-
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
46065
|
-
__param(1, Ctx()),
|
|
46066
|
-
__param(2, PubSub()),
|
|
46067
|
-
__metadata("design:type", Function),
|
|
46068
|
-
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
46069
|
-
__metadata("design:returntype", Promise)
|
|
46070
|
-
], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyViewByName", null);
|
|
46071
|
-
__decorate([
|
|
46072
|
-
Query(() => Runflyway_schema_historyViewResult),
|
|
46073
|
-
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
46074
|
-
__param(1, Ctx()),
|
|
46075
|
-
__param(2, PubSub()),
|
|
46076
|
-
__metadata("design:type", Function),
|
|
46077
|
-
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
46078
|
-
__metadata("design:returntype", Promise)
|
|
46079
|
-
], flyway_schema_historyResolver.prototype, "Runflyway_schema_historyDynamicView", null);
|
|
46080
|
-
__decorate([
|
|
46081
|
-
Query(() => flyway_schema_history_, { nullable: true }),
|
|
46082
|
-
__param(0, Arg('installed_rank', () => Int)),
|
|
46083
|
-
__param(1, Ctx()),
|
|
46084
|
-
__param(2, PubSub()),
|
|
46085
|
-
__metadata("design:type", Function),
|
|
46086
|
-
__metadata("design:paramtypes", [Number, Object, PubSubEngine]),
|
|
46087
|
-
__metadata("design:returntype", Promise)
|
|
46088
|
-
], flyway_schema_historyResolver.prototype, "flyway_schema_history", null);
|
|
46089
|
-
__decorate([
|
|
46090
|
-
Mutation(() => flyway_schema_history_),
|
|
46091
|
-
__param(0, Arg('input', () => Createflyway_schema_historyInput)),
|
|
46092
|
-
__param(1, Ctx()),
|
|
46093
|
-
__param(2, PubSub()),
|
|
46094
|
-
__metadata("design:type", Function),
|
|
46095
|
-
__metadata("design:paramtypes", [Createflyway_schema_historyInput, Object, PubSubEngine]),
|
|
46096
|
-
__metadata("design:returntype", Promise)
|
|
46097
|
-
], flyway_schema_historyResolver.prototype, "Createflyway_schema_history", null);
|
|
46098
|
-
__decorate([
|
|
46099
|
-
Mutation(() => flyway_schema_history_),
|
|
46100
|
-
__param(0, Arg('input', () => Updateflyway_schema_historyInput)),
|
|
46101
|
-
__param(1, Ctx()),
|
|
46102
|
-
__param(2, PubSub()),
|
|
46103
|
-
__metadata("design:type", Function),
|
|
46104
|
-
__metadata("design:paramtypes", [Updateflyway_schema_historyInput, Object, PubSubEngine]),
|
|
46105
|
-
__metadata("design:returntype", Promise)
|
|
46106
|
-
], flyway_schema_historyResolver.prototype, "Updateflyway_schema_history", null);
|
|
46107
|
-
__decorate([
|
|
46108
|
-
Mutation(() => flyway_schema_history_),
|
|
46109
|
-
__param(0, Arg('installed_rank', () => Int)),
|
|
46110
|
-
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
46111
|
-
__param(2, Ctx()),
|
|
46112
|
-
__param(3, PubSub()),
|
|
46113
|
-
__metadata("design:type", Function),
|
|
46114
|
-
__metadata("design:paramtypes", [Number, DeleteOptionsInput, Object, PubSubEngine]),
|
|
46115
|
-
__metadata("design:returntype", Promise)
|
|
46116
|
-
], flyway_schema_historyResolver.prototype, "Deleteflyway_schema_history", null);
|
|
46117
|
-
flyway_schema_historyResolver = __decorate([
|
|
46118
|
-
Resolver(flyway_schema_history_)
|
|
46119
|
-
], flyway_schema_historyResolver);
|
|
46120
|
-
export { flyway_schema_historyResolver };
|
|
46121
46121
|
//# sourceMappingURL=generated.js.map
|