nestjs-openapi 0.2.0 → 0.2.1
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/cli.mjs +1 -1
- package/dist/index.d.mts +19 -19
- package/dist/index.d.ts +19 -19
- package/dist/index.mjs +2 -2
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/shared/{nestjs-openapi.P9V98nna.mjs → nestjs-openapi.0ft_UaiO.mjs} +7 -4
- package/dist/shared/{nestjs-openapi.D0Osp4GW.d.mts → nestjs-openapi.C1csrdEX.d.mts} +178 -178
- package/dist/shared/{nestjs-openapi.D0Osp4GW.d.ts → nestjs-openapi.C1csrdEX.d.ts} +178 -178
- package/package.json +1 -1
|
@@ -850,7 +850,7 @@ declare const MethodInfo: Schema.Struct<{
|
|
|
850
850
|
required: typeof Schema.Boolean;
|
|
851
851
|
description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
852
852
|
}>>;
|
|
853
|
-
/** All decorator names on the method (for filtering) */
|
|
853
|
+
/** All decorator names on the controller and method (for filtering) */
|
|
854
854
|
decorators: Schema.Array$<typeof Schema.String>;
|
|
855
855
|
/** Metadata from @ApiOperation decorator */
|
|
856
856
|
operation: Schema.Struct<{
|
|
@@ -1141,23 +1141,27 @@ interface ExtractParametersOptions {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
declare const getMethodInfo: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions) => Option.Option<MethodInfo>;
|
|
1143
1143
|
declare const getMethodInfoEffect: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<Option.Option<{
|
|
1144
|
+
readonly security: readonly {
|
|
1145
|
+
readonly scopes: readonly string[];
|
|
1146
|
+
readonly schemeName: string;
|
|
1147
|
+
}[];
|
|
1144
1148
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1145
1149
|
readonly path: string;
|
|
1146
1150
|
readonly methodName: string;
|
|
1147
1151
|
readonly controllerName: string;
|
|
1148
1152
|
readonly controllerTags: readonly string[];
|
|
1149
1153
|
readonly returnType: {
|
|
1150
|
-
readonly filePath: Option.Option<string>;
|
|
1151
1154
|
readonly type: Option.Option<string>;
|
|
1152
1155
|
readonly inline: Option.Option<string>;
|
|
1153
1156
|
readonly container: Option.Option<"array">;
|
|
1157
|
+
readonly filePath: Option.Option<string>;
|
|
1154
1158
|
};
|
|
1155
1159
|
readonly parameters: readonly {
|
|
1156
1160
|
readonly name: string;
|
|
1157
|
-
readonly
|
|
1161
|
+
readonly description: Option.Option<string>;
|
|
1162
|
+
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1158
1163
|
readonly tsType: string;
|
|
1159
1164
|
readonly required: boolean;
|
|
1160
|
-
readonly description: Option.Option<string>;
|
|
1161
1165
|
}[];
|
|
1162
1166
|
readonly decorators: readonly string[];
|
|
1163
1167
|
readonly operation: {
|
|
@@ -1167,38 +1171,38 @@ declare const getMethodInfoEffect: (controller: ClassDeclaration, method: Method
|
|
|
1167
1171
|
readonly deprecated: Option.Option<boolean>;
|
|
1168
1172
|
};
|
|
1169
1173
|
readonly responses: readonly {
|
|
1170
|
-
readonly type: Option.Option<string>;
|
|
1171
1174
|
readonly description: Option.Option<string>;
|
|
1175
|
+
readonly type: Option.Option<string>;
|
|
1172
1176
|
readonly statusCode: number;
|
|
1173
1177
|
readonly isArray: boolean;
|
|
1174
1178
|
}[];
|
|
1175
1179
|
readonly httpCode: Option.Option<number>;
|
|
1176
1180
|
readonly consumes: readonly string[];
|
|
1177
1181
|
readonly produces: readonly string[];
|
|
1178
|
-
readonly security: readonly {
|
|
1179
|
-
readonly schemeName: string;
|
|
1180
|
-
readonly scopes: readonly string[];
|
|
1181
|
-
}[];
|
|
1182
1182
|
}>, never, never>;
|
|
1183
1183
|
declare const getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions) => readonly MethodInfo[];
|
|
1184
1184
|
declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1185
|
+
readonly security: readonly {
|
|
1186
|
+
readonly scopes: readonly string[];
|
|
1187
|
+
readonly schemeName: string;
|
|
1188
|
+
}[];
|
|
1185
1189
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1186
1190
|
readonly path: string;
|
|
1187
1191
|
readonly methodName: string;
|
|
1188
1192
|
readonly controllerName: string;
|
|
1189
1193
|
readonly controllerTags: readonly string[];
|
|
1190
1194
|
readonly returnType: {
|
|
1191
|
-
readonly filePath: Option.Option<string>;
|
|
1192
1195
|
readonly type: Option.Option<string>;
|
|
1193
1196
|
readonly inline: Option.Option<string>;
|
|
1194
1197
|
readonly container: Option.Option<"array">;
|
|
1198
|
+
readonly filePath: Option.Option<string>;
|
|
1195
1199
|
};
|
|
1196
1200
|
readonly parameters: readonly {
|
|
1197
1201
|
readonly name: string;
|
|
1198
|
-
readonly
|
|
1202
|
+
readonly description: Option.Option<string>;
|
|
1203
|
+
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1199
1204
|
readonly tsType: string;
|
|
1200
1205
|
readonly required: boolean;
|
|
1201
|
-
readonly description: Option.Option<string>;
|
|
1202
1206
|
}[];
|
|
1203
1207
|
readonly decorators: readonly string[];
|
|
1204
1208
|
readonly operation: {
|
|
@@ -1208,40 +1212,40 @@ declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, opt
|
|
|
1208
1212
|
readonly deprecated: Option.Option<boolean>;
|
|
1209
1213
|
};
|
|
1210
1214
|
readonly responses: readonly {
|
|
1211
|
-
readonly type: Option.Option<string>;
|
|
1212
1215
|
readonly description: Option.Option<string>;
|
|
1216
|
+
readonly type: Option.Option<string>;
|
|
1213
1217
|
readonly statusCode: number;
|
|
1214
1218
|
readonly isArray: boolean;
|
|
1215
1219
|
}[];
|
|
1216
1220
|
readonly httpCode: Option.Option<number>;
|
|
1217
1221
|
readonly consumes: readonly string[];
|
|
1218
1222
|
readonly produces: readonly string[];
|
|
1219
|
-
readonly security: readonly {
|
|
1220
|
-
readonly schemeName: string;
|
|
1221
|
-
readonly scopes: readonly string[];
|
|
1222
|
-
}[];
|
|
1223
1223
|
}[], never, never>;
|
|
1224
1224
|
declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractionService, "MethodExtractionService", {
|
|
1225
1225
|
readonly accessors: true;
|
|
1226
1226
|
readonly effect: Effect.Effect<{
|
|
1227
1227
|
getMethodInfo: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<Option.Option<{
|
|
1228
|
+
readonly security: readonly {
|
|
1229
|
+
readonly scopes: readonly string[];
|
|
1230
|
+
readonly schemeName: string;
|
|
1231
|
+
}[];
|
|
1228
1232
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1229
1233
|
readonly path: string;
|
|
1230
1234
|
readonly methodName: string;
|
|
1231
1235
|
readonly controllerName: string;
|
|
1232
1236
|
readonly controllerTags: readonly string[];
|
|
1233
1237
|
readonly returnType: {
|
|
1234
|
-
readonly filePath: Option.Option<string>;
|
|
1235
1238
|
readonly type: Option.Option<string>;
|
|
1236
1239
|
readonly inline: Option.Option<string>;
|
|
1237
1240
|
readonly container: Option.Option<"array">;
|
|
1241
|
+
readonly filePath: Option.Option<string>;
|
|
1238
1242
|
};
|
|
1239
1243
|
readonly parameters: readonly {
|
|
1240
1244
|
readonly name: string;
|
|
1241
|
-
readonly
|
|
1245
|
+
readonly description: Option.Option<string>;
|
|
1246
|
+
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1242
1247
|
readonly tsType: string;
|
|
1243
1248
|
readonly required: boolean;
|
|
1244
|
-
readonly description: Option.Option<string>;
|
|
1245
1249
|
}[];
|
|
1246
1250
|
readonly decorators: readonly string[];
|
|
1247
1251
|
readonly operation: {
|
|
@@ -1251,37 +1255,37 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
|
|
|
1251
1255
|
readonly deprecated: Option.Option<boolean>;
|
|
1252
1256
|
};
|
|
1253
1257
|
readonly responses: readonly {
|
|
1254
|
-
readonly type: Option.Option<string>;
|
|
1255
1258
|
readonly description: Option.Option<string>;
|
|
1259
|
+
readonly type: Option.Option<string>;
|
|
1256
1260
|
readonly statusCode: number;
|
|
1257
1261
|
readonly isArray: boolean;
|
|
1258
1262
|
}[];
|
|
1259
1263
|
readonly httpCode: Option.Option<number>;
|
|
1260
1264
|
readonly consumes: readonly string[];
|
|
1261
1265
|
readonly produces: readonly string[];
|
|
1266
|
+
}>, never, never>;
|
|
1267
|
+
getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1262
1268
|
readonly security: readonly {
|
|
1263
|
-
readonly schemeName: string;
|
|
1264
1269
|
readonly scopes: readonly string[];
|
|
1270
|
+
readonly schemeName: string;
|
|
1265
1271
|
}[];
|
|
1266
|
-
}>, never, never>;
|
|
1267
|
-
getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1268
1272
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1269
1273
|
readonly path: string;
|
|
1270
1274
|
readonly methodName: string;
|
|
1271
1275
|
readonly controllerName: string;
|
|
1272
1276
|
readonly controllerTags: readonly string[];
|
|
1273
1277
|
readonly returnType: {
|
|
1274
|
-
readonly filePath: Option.Option<string>;
|
|
1275
1278
|
readonly type: Option.Option<string>;
|
|
1276
1279
|
readonly inline: Option.Option<string>;
|
|
1277
1280
|
readonly container: Option.Option<"array">;
|
|
1281
|
+
readonly filePath: Option.Option<string>;
|
|
1278
1282
|
};
|
|
1279
1283
|
readonly parameters: readonly {
|
|
1280
1284
|
readonly name: string;
|
|
1281
|
-
readonly
|
|
1285
|
+
readonly description: Option.Option<string>;
|
|
1286
|
+
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1282
1287
|
readonly tsType: string;
|
|
1283
1288
|
readonly required: boolean;
|
|
1284
|
-
readonly description: Option.Option<string>;
|
|
1285
1289
|
}[];
|
|
1286
1290
|
readonly decorators: readonly string[];
|
|
1287
1291
|
readonly operation: {
|
|
@@ -1291,18 +1295,14 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
|
|
|
1291
1295
|
readonly deprecated: Option.Option<boolean>;
|
|
1292
1296
|
};
|
|
1293
1297
|
readonly responses: readonly {
|
|
1294
|
-
readonly type: Option.Option<string>;
|
|
1295
1298
|
readonly description: Option.Option<string>;
|
|
1299
|
+
readonly type: Option.Option<string>;
|
|
1296
1300
|
readonly statusCode: number;
|
|
1297
1301
|
readonly isArray: boolean;
|
|
1298
1302
|
}[];
|
|
1299
1303
|
readonly httpCode: Option.Option<number>;
|
|
1300
1304
|
readonly consumes: readonly string[];
|
|
1301
1305
|
readonly produces: readonly string[];
|
|
1302
|
-
readonly security: readonly {
|
|
1303
|
-
readonly schemeName: string;
|
|
1304
|
-
readonly scopes: readonly string[];
|
|
1305
|
-
}[];
|
|
1306
1306
|
}[], never, never>;
|
|
1307
1307
|
}, never, never>;
|
|
1308
1308
|
}>;
|
|
@@ -1343,90 +1343,90 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1343
1343
|
readonly output: string;
|
|
1344
1344
|
readonly format?: "json" | "yaml" | undefined;
|
|
1345
1345
|
readonly openapi: {
|
|
1346
|
+
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1347
|
+
readonly info: {
|
|
1348
|
+
readonly version: string;
|
|
1349
|
+
readonly title: string;
|
|
1350
|
+
readonly description?: string | undefined;
|
|
1351
|
+
readonly contact?: {
|
|
1352
|
+
readonly name?: string | undefined;
|
|
1353
|
+
readonly email?: string | undefined;
|
|
1354
|
+
readonly url?: string | undefined;
|
|
1355
|
+
} | undefined;
|
|
1356
|
+
readonly license?: {
|
|
1357
|
+
readonly name: string;
|
|
1358
|
+
readonly url?: string | undefined;
|
|
1359
|
+
} | undefined;
|
|
1360
|
+
};
|
|
1361
|
+
readonly servers?: readonly {
|
|
1362
|
+
readonly description?: string | undefined;
|
|
1363
|
+
readonly url: string;
|
|
1364
|
+
}[] | undefined;
|
|
1365
|
+
readonly tags?: readonly {
|
|
1366
|
+
readonly name: string;
|
|
1367
|
+
readonly description?: string | undefined;
|
|
1368
|
+
}[] | undefined;
|
|
1346
1369
|
readonly security?: {
|
|
1347
1370
|
readonly schemes?: readonly ({
|
|
1348
1371
|
readonly name: string;
|
|
1349
|
-
readonly type: "http";
|
|
1350
1372
|
readonly description?: string | undefined;
|
|
1373
|
+
readonly type: "http";
|
|
1351
1374
|
readonly scheme: string;
|
|
1352
1375
|
readonly bearerFormat?: string | undefined;
|
|
1353
1376
|
} | {
|
|
1354
1377
|
readonly name: string;
|
|
1355
|
-
readonly type: "apiKey";
|
|
1356
1378
|
readonly description?: string | undefined;
|
|
1379
|
+
readonly type: "apiKey";
|
|
1357
1380
|
readonly in: "query" | "header" | "cookie";
|
|
1358
1381
|
readonly parameterName: string;
|
|
1359
1382
|
} | {
|
|
1360
1383
|
readonly name: string;
|
|
1361
|
-
readonly type: "oauth2";
|
|
1362
1384
|
readonly description?: string | undefined;
|
|
1385
|
+
readonly type: "oauth2";
|
|
1363
1386
|
readonly flows: {
|
|
1364
1387
|
readonly implicit?: {
|
|
1365
|
-
readonly scopes?: {
|
|
1366
|
-
readonly [x: string]: string;
|
|
1367
|
-
} | undefined;
|
|
1368
1388
|
readonly authorizationUrl?: string | undefined;
|
|
1369
1389
|
readonly tokenUrl?: string | undefined;
|
|
1370
1390
|
readonly refreshUrl?: string | undefined;
|
|
1371
|
-
} | undefined;
|
|
1372
|
-
readonly password?: {
|
|
1373
1391
|
readonly scopes?: {
|
|
1374
1392
|
readonly [x: string]: string;
|
|
1375
1393
|
} | undefined;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
readonly password?: {
|
|
1376
1396
|
readonly authorizationUrl?: string | undefined;
|
|
1377
1397
|
readonly tokenUrl?: string | undefined;
|
|
1378
1398
|
readonly refreshUrl?: string | undefined;
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
readonly clientCredentials?: {
|
|
1381
1399
|
readonly scopes?: {
|
|
1382
1400
|
readonly [x: string]: string;
|
|
1383
1401
|
} | undefined;
|
|
1402
|
+
} | undefined;
|
|
1403
|
+
readonly clientCredentials?: {
|
|
1384
1404
|
readonly authorizationUrl?: string | undefined;
|
|
1385
1405
|
readonly tokenUrl?: string | undefined;
|
|
1386
1406
|
readonly refreshUrl?: string | undefined;
|
|
1387
|
-
} | undefined;
|
|
1388
|
-
readonly authorizationCode?: {
|
|
1389
1407
|
readonly scopes?: {
|
|
1390
1408
|
readonly [x: string]: string;
|
|
1391
1409
|
} | undefined;
|
|
1410
|
+
} | undefined;
|
|
1411
|
+
readonly authorizationCode?: {
|
|
1392
1412
|
readonly authorizationUrl?: string | undefined;
|
|
1393
1413
|
readonly tokenUrl?: string | undefined;
|
|
1394
1414
|
readonly refreshUrl?: string | undefined;
|
|
1415
|
+
readonly scopes?: {
|
|
1416
|
+
readonly [x: string]: string;
|
|
1417
|
+
} | undefined;
|
|
1395
1418
|
} | undefined;
|
|
1396
1419
|
};
|
|
1397
1420
|
} | {
|
|
1398
1421
|
readonly name: string;
|
|
1399
|
-
readonly type: "openIdConnect";
|
|
1400
1422
|
readonly description?: string | undefined;
|
|
1423
|
+
readonly type: "openIdConnect";
|
|
1401
1424
|
readonly openIdConnectUrl: string;
|
|
1402
1425
|
})[] | undefined;
|
|
1403
1426
|
readonly global?: readonly {
|
|
1404
1427
|
readonly [x: string]: readonly string[];
|
|
1405
1428
|
}[] | undefined;
|
|
1406
1429
|
} | undefined;
|
|
1407
|
-
readonly tags?: readonly {
|
|
1408
|
-
readonly name: string;
|
|
1409
|
-
readonly description?: string | undefined;
|
|
1410
|
-
}[] | undefined;
|
|
1411
|
-
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1412
|
-
readonly info: {
|
|
1413
|
-
readonly description?: string | undefined;
|
|
1414
|
-
readonly version: string;
|
|
1415
|
-
readonly title: string;
|
|
1416
|
-
readonly contact?: {
|
|
1417
|
-
readonly name?: string | undefined;
|
|
1418
|
-
readonly email?: string | undefined;
|
|
1419
|
-
readonly url?: string | undefined;
|
|
1420
|
-
} | undefined;
|
|
1421
|
-
readonly license?: {
|
|
1422
|
-
readonly name: string;
|
|
1423
|
-
readonly url?: string | undefined;
|
|
1424
|
-
} | undefined;
|
|
1425
|
-
};
|
|
1426
|
-
readonly servers?: readonly {
|
|
1427
|
-
readonly description?: string | undefined;
|
|
1428
|
-
readonly url: string;
|
|
1429
|
-
}[] | undefined;
|
|
1430
1430
|
};
|
|
1431
1431
|
readonly options?: {
|
|
1432
1432
|
readonly query?: {
|
|
@@ -1453,90 +1453,90 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1453
1453
|
readonly output: string;
|
|
1454
1454
|
readonly format?: "json" | "yaml" | undefined;
|
|
1455
1455
|
readonly openapi: {
|
|
1456
|
+
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1457
|
+
readonly info: {
|
|
1458
|
+
readonly version: string;
|
|
1459
|
+
readonly title: string;
|
|
1460
|
+
readonly description?: string | undefined;
|
|
1461
|
+
readonly contact?: {
|
|
1462
|
+
readonly name?: string | undefined;
|
|
1463
|
+
readonly email?: string | undefined;
|
|
1464
|
+
readonly url?: string | undefined;
|
|
1465
|
+
} | undefined;
|
|
1466
|
+
readonly license?: {
|
|
1467
|
+
readonly name: string;
|
|
1468
|
+
readonly url?: string | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
};
|
|
1471
|
+
readonly servers?: readonly {
|
|
1472
|
+
readonly description?: string | undefined;
|
|
1473
|
+
readonly url: string;
|
|
1474
|
+
}[] | undefined;
|
|
1475
|
+
readonly tags?: readonly {
|
|
1476
|
+
readonly name: string;
|
|
1477
|
+
readonly description?: string | undefined;
|
|
1478
|
+
}[] | undefined;
|
|
1456
1479
|
readonly security?: {
|
|
1457
1480
|
readonly schemes?: readonly ({
|
|
1458
1481
|
readonly name: string;
|
|
1459
|
-
readonly type: "http";
|
|
1460
1482
|
readonly description?: string | undefined;
|
|
1483
|
+
readonly type: "http";
|
|
1461
1484
|
readonly scheme: string;
|
|
1462
1485
|
readonly bearerFormat?: string | undefined;
|
|
1463
1486
|
} | {
|
|
1464
1487
|
readonly name: string;
|
|
1465
|
-
readonly type: "apiKey";
|
|
1466
1488
|
readonly description?: string | undefined;
|
|
1489
|
+
readonly type: "apiKey";
|
|
1467
1490
|
readonly in: "query" | "header" | "cookie";
|
|
1468
1491
|
readonly parameterName: string;
|
|
1469
1492
|
} | {
|
|
1470
1493
|
readonly name: string;
|
|
1471
|
-
readonly type: "oauth2";
|
|
1472
1494
|
readonly description?: string | undefined;
|
|
1495
|
+
readonly type: "oauth2";
|
|
1473
1496
|
readonly flows: {
|
|
1474
1497
|
readonly implicit?: {
|
|
1475
|
-
readonly scopes?: {
|
|
1476
|
-
readonly [x: string]: string;
|
|
1477
|
-
} | undefined;
|
|
1478
1498
|
readonly authorizationUrl?: string | undefined;
|
|
1479
1499
|
readonly tokenUrl?: string | undefined;
|
|
1480
1500
|
readonly refreshUrl?: string | undefined;
|
|
1481
|
-
} | undefined;
|
|
1482
|
-
readonly password?: {
|
|
1483
1501
|
readonly scopes?: {
|
|
1484
1502
|
readonly [x: string]: string;
|
|
1485
1503
|
} | undefined;
|
|
1504
|
+
} | undefined;
|
|
1505
|
+
readonly password?: {
|
|
1486
1506
|
readonly authorizationUrl?: string | undefined;
|
|
1487
1507
|
readonly tokenUrl?: string | undefined;
|
|
1488
1508
|
readonly refreshUrl?: string | undefined;
|
|
1489
|
-
} | undefined;
|
|
1490
|
-
readonly clientCredentials?: {
|
|
1491
1509
|
readonly scopes?: {
|
|
1492
1510
|
readonly [x: string]: string;
|
|
1493
1511
|
} | undefined;
|
|
1512
|
+
} | undefined;
|
|
1513
|
+
readonly clientCredentials?: {
|
|
1494
1514
|
readonly authorizationUrl?: string | undefined;
|
|
1495
1515
|
readonly tokenUrl?: string | undefined;
|
|
1496
1516
|
readonly refreshUrl?: string | undefined;
|
|
1497
|
-
} | undefined;
|
|
1498
|
-
readonly authorizationCode?: {
|
|
1499
1517
|
readonly scopes?: {
|
|
1500
1518
|
readonly [x: string]: string;
|
|
1501
1519
|
} | undefined;
|
|
1520
|
+
} | undefined;
|
|
1521
|
+
readonly authorizationCode?: {
|
|
1502
1522
|
readonly authorizationUrl?: string | undefined;
|
|
1503
1523
|
readonly tokenUrl?: string | undefined;
|
|
1504
1524
|
readonly refreshUrl?: string | undefined;
|
|
1525
|
+
readonly scopes?: {
|
|
1526
|
+
readonly [x: string]: string;
|
|
1527
|
+
} | undefined;
|
|
1505
1528
|
} | undefined;
|
|
1506
1529
|
};
|
|
1507
1530
|
} | {
|
|
1508
1531
|
readonly name: string;
|
|
1509
|
-
readonly type: "openIdConnect";
|
|
1510
1532
|
readonly description?: string | undefined;
|
|
1533
|
+
readonly type: "openIdConnect";
|
|
1511
1534
|
readonly openIdConnectUrl: string;
|
|
1512
1535
|
})[] | undefined;
|
|
1513
1536
|
readonly global?: readonly {
|
|
1514
1537
|
readonly [x: string]: readonly string[];
|
|
1515
1538
|
}[] | undefined;
|
|
1516
1539
|
} | undefined;
|
|
1517
|
-
readonly tags?: readonly {
|
|
1518
|
-
readonly name: string;
|
|
1519
|
-
readonly description?: string | undefined;
|
|
1520
|
-
}[] | undefined;
|
|
1521
|
-
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1522
|
-
readonly info: {
|
|
1523
|
-
readonly description?: string | undefined;
|
|
1524
|
-
readonly version: string;
|
|
1525
|
-
readonly title: string;
|
|
1526
|
-
readonly contact?: {
|
|
1527
|
-
readonly name?: string | undefined;
|
|
1528
|
-
readonly email?: string | undefined;
|
|
1529
|
-
readonly url?: string | undefined;
|
|
1530
|
-
} | undefined;
|
|
1531
|
-
readonly license?: {
|
|
1532
|
-
readonly name: string;
|
|
1533
|
-
readonly url?: string | undefined;
|
|
1534
|
-
} | undefined;
|
|
1535
|
-
};
|
|
1536
|
-
readonly servers?: readonly {
|
|
1537
|
-
readonly description?: string | undefined;
|
|
1538
|
-
readonly url: string;
|
|
1539
|
-
}[] | undefined;
|
|
1540
1540
|
};
|
|
1541
1541
|
readonly options?: {
|
|
1542
1542
|
readonly query?: {
|
|
@@ -1563,90 +1563,90 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1563
1563
|
readonly output: string;
|
|
1564
1564
|
readonly format?: "json" | "yaml" | undefined;
|
|
1565
1565
|
readonly openapi: {
|
|
1566
|
+
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1567
|
+
readonly info: {
|
|
1568
|
+
readonly version: string;
|
|
1569
|
+
readonly title: string;
|
|
1570
|
+
readonly description?: string | undefined;
|
|
1571
|
+
readonly contact?: {
|
|
1572
|
+
readonly name?: string | undefined;
|
|
1573
|
+
readonly email?: string | undefined;
|
|
1574
|
+
readonly url?: string | undefined;
|
|
1575
|
+
} | undefined;
|
|
1576
|
+
readonly license?: {
|
|
1577
|
+
readonly name: string;
|
|
1578
|
+
readonly url?: string | undefined;
|
|
1579
|
+
} | undefined;
|
|
1580
|
+
};
|
|
1581
|
+
readonly servers?: readonly {
|
|
1582
|
+
readonly description?: string | undefined;
|
|
1583
|
+
readonly url: string;
|
|
1584
|
+
}[] | undefined;
|
|
1585
|
+
readonly tags?: readonly {
|
|
1586
|
+
readonly name: string;
|
|
1587
|
+
readonly description?: string | undefined;
|
|
1588
|
+
}[] | undefined;
|
|
1566
1589
|
readonly security?: {
|
|
1567
1590
|
readonly schemes?: readonly ({
|
|
1568
1591
|
readonly name: string;
|
|
1569
|
-
readonly type: "http";
|
|
1570
1592
|
readonly description?: string | undefined;
|
|
1593
|
+
readonly type: "http";
|
|
1571
1594
|
readonly scheme: string;
|
|
1572
1595
|
readonly bearerFormat?: string | undefined;
|
|
1573
1596
|
} | {
|
|
1574
1597
|
readonly name: string;
|
|
1575
|
-
readonly type: "apiKey";
|
|
1576
1598
|
readonly description?: string | undefined;
|
|
1599
|
+
readonly type: "apiKey";
|
|
1577
1600
|
readonly in: "query" | "header" | "cookie";
|
|
1578
1601
|
readonly parameterName: string;
|
|
1579
1602
|
} | {
|
|
1580
1603
|
readonly name: string;
|
|
1581
|
-
readonly type: "oauth2";
|
|
1582
1604
|
readonly description?: string | undefined;
|
|
1605
|
+
readonly type: "oauth2";
|
|
1583
1606
|
readonly flows: {
|
|
1584
1607
|
readonly implicit?: {
|
|
1585
|
-
readonly scopes?: {
|
|
1586
|
-
readonly [x: string]: string;
|
|
1587
|
-
} | undefined;
|
|
1588
1608
|
readonly authorizationUrl?: string | undefined;
|
|
1589
1609
|
readonly tokenUrl?: string | undefined;
|
|
1590
1610
|
readonly refreshUrl?: string | undefined;
|
|
1591
|
-
} | undefined;
|
|
1592
|
-
readonly password?: {
|
|
1593
1611
|
readonly scopes?: {
|
|
1594
1612
|
readonly [x: string]: string;
|
|
1595
1613
|
} | undefined;
|
|
1614
|
+
} | undefined;
|
|
1615
|
+
readonly password?: {
|
|
1596
1616
|
readonly authorizationUrl?: string | undefined;
|
|
1597
1617
|
readonly tokenUrl?: string | undefined;
|
|
1598
1618
|
readonly refreshUrl?: string | undefined;
|
|
1599
|
-
} | undefined;
|
|
1600
|
-
readonly clientCredentials?: {
|
|
1601
1619
|
readonly scopes?: {
|
|
1602
1620
|
readonly [x: string]: string;
|
|
1603
1621
|
} | undefined;
|
|
1622
|
+
} | undefined;
|
|
1623
|
+
readonly clientCredentials?: {
|
|
1604
1624
|
readonly authorizationUrl?: string | undefined;
|
|
1605
1625
|
readonly tokenUrl?: string | undefined;
|
|
1606
1626
|
readonly refreshUrl?: string | undefined;
|
|
1607
|
-
} | undefined;
|
|
1608
|
-
readonly authorizationCode?: {
|
|
1609
1627
|
readonly scopes?: {
|
|
1610
1628
|
readonly [x: string]: string;
|
|
1611
1629
|
} | undefined;
|
|
1630
|
+
} | undefined;
|
|
1631
|
+
readonly authorizationCode?: {
|
|
1612
1632
|
readonly authorizationUrl?: string | undefined;
|
|
1613
1633
|
readonly tokenUrl?: string | undefined;
|
|
1614
1634
|
readonly refreshUrl?: string | undefined;
|
|
1635
|
+
readonly scopes?: {
|
|
1636
|
+
readonly [x: string]: string;
|
|
1637
|
+
} | undefined;
|
|
1615
1638
|
} | undefined;
|
|
1616
1639
|
};
|
|
1617
1640
|
} | {
|
|
1618
1641
|
readonly name: string;
|
|
1619
|
-
readonly type: "openIdConnect";
|
|
1620
1642
|
readonly description?: string | undefined;
|
|
1643
|
+
readonly type: "openIdConnect";
|
|
1621
1644
|
readonly openIdConnectUrl: string;
|
|
1622
1645
|
})[] | undefined;
|
|
1623
1646
|
readonly global?: readonly {
|
|
1624
1647
|
readonly [x: string]: readonly string[];
|
|
1625
1648
|
}[] | undefined;
|
|
1626
1649
|
} | undefined;
|
|
1627
|
-
readonly tags?: readonly {
|
|
1628
|
-
readonly name: string;
|
|
1629
|
-
readonly description?: string | undefined;
|
|
1630
|
-
}[] | undefined;
|
|
1631
|
-
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1632
|
-
readonly info: {
|
|
1633
|
-
readonly description?: string | undefined;
|
|
1634
|
-
readonly version: string;
|
|
1635
|
-
readonly title: string;
|
|
1636
|
-
readonly contact?: {
|
|
1637
|
-
readonly name?: string | undefined;
|
|
1638
|
-
readonly email?: string | undefined;
|
|
1639
|
-
readonly url?: string | undefined;
|
|
1640
|
-
} | undefined;
|
|
1641
|
-
readonly license?: {
|
|
1642
|
-
readonly name: string;
|
|
1643
|
-
readonly url?: string | undefined;
|
|
1644
|
-
} | undefined;
|
|
1645
|
-
};
|
|
1646
|
-
readonly servers?: readonly {
|
|
1647
|
-
readonly description?: string | undefined;
|
|
1648
|
-
readonly url: string;
|
|
1649
|
-
}[] | undefined;
|
|
1650
1650
|
};
|
|
1651
1651
|
readonly options?: {
|
|
1652
1652
|
readonly query?: {
|
|
@@ -1661,10 +1661,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1661
1661
|
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1662
1662
|
} | undefined;
|
|
1663
1663
|
}, configPath?: string | undefined) => Effect.Effect<{
|
|
1664
|
-
readonly tags: readonly {
|
|
1665
|
-
readonly name: string;
|
|
1666
|
-
readonly description?: string | undefined;
|
|
1667
|
-
}[];
|
|
1668
1664
|
readonly entry: readonly string[];
|
|
1669
1665
|
readonly tsconfig: string;
|
|
1670
1666
|
readonly dtoGlob: readonly string[];
|
|
@@ -1674,9 +1670,9 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1674
1670
|
readonly format: "json" | "yaml";
|
|
1675
1671
|
readonly version?: string | undefined;
|
|
1676
1672
|
readonly info: {
|
|
1677
|
-
readonly description?: string | undefined;
|
|
1678
1673
|
readonly version: string;
|
|
1679
1674
|
readonly title: string;
|
|
1675
|
+
readonly description?: string | undefined;
|
|
1680
1676
|
readonly contact?: {
|
|
1681
1677
|
readonly name?: string | undefined;
|
|
1682
1678
|
readonly email?: string | undefined;
|
|
@@ -1691,6 +1687,10 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1691
1687
|
readonly description?: string | undefined;
|
|
1692
1688
|
readonly url: string;
|
|
1693
1689
|
}[];
|
|
1690
|
+
readonly tags: readonly {
|
|
1691
|
+
readonly name: string;
|
|
1692
|
+
readonly description?: string | undefined;
|
|
1693
|
+
}[];
|
|
1694
1694
|
readonly basePath?: string | undefined;
|
|
1695
1695
|
readonly extractValidation: boolean;
|
|
1696
1696
|
readonly excludeDecorators: readonly string[];
|
|
@@ -1698,58 +1698,58 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1698
1698
|
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1699
1699
|
readonly securitySchemes: readonly ({
|
|
1700
1700
|
readonly name: string;
|
|
1701
|
-
readonly type: "http";
|
|
1702
1701
|
readonly description?: string | undefined;
|
|
1702
|
+
readonly type: "http";
|
|
1703
1703
|
readonly scheme: string;
|
|
1704
1704
|
readonly bearerFormat?: string | undefined;
|
|
1705
1705
|
} | {
|
|
1706
1706
|
readonly name: string;
|
|
1707
|
-
readonly type: "apiKey";
|
|
1708
1707
|
readonly description?: string | undefined;
|
|
1708
|
+
readonly type: "apiKey";
|
|
1709
1709
|
readonly in: "query" | "header" | "cookie";
|
|
1710
1710
|
readonly parameterName: string;
|
|
1711
1711
|
} | {
|
|
1712
1712
|
readonly name: string;
|
|
1713
|
-
readonly type: "oauth2";
|
|
1714
1713
|
readonly description?: string | undefined;
|
|
1714
|
+
readonly type: "oauth2";
|
|
1715
1715
|
readonly flows: {
|
|
1716
1716
|
readonly implicit?: {
|
|
1717
|
-
readonly scopes?: {
|
|
1718
|
-
readonly [x: string]: string;
|
|
1719
|
-
} | undefined;
|
|
1720
1717
|
readonly authorizationUrl?: string | undefined;
|
|
1721
1718
|
readonly tokenUrl?: string | undefined;
|
|
1722
1719
|
readonly refreshUrl?: string | undefined;
|
|
1723
|
-
} | undefined;
|
|
1724
|
-
readonly password?: {
|
|
1725
1720
|
readonly scopes?: {
|
|
1726
1721
|
readonly [x: string]: string;
|
|
1727
1722
|
} | undefined;
|
|
1723
|
+
} | undefined;
|
|
1724
|
+
readonly password?: {
|
|
1728
1725
|
readonly authorizationUrl?: string | undefined;
|
|
1729
1726
|
readonly tokenUrl?: string | undefined;
|
|
1730
1727
|
readonly refreshUrl?: string | undefined;
|
|
1731
|
-
} | undefined;
|
|
1732
|
-
readonly clientCredentials?: {
|
|
1733
1728
|
readonly scopes?: {
|
|
1734
1729
|
readonly [x: string]: string;
|
|
1735
1730
|
} | undefined;
|
|
1731
|
+
} | undefined;
|
|
1732
|
+
readonly clientCredentials?: {
|
|
1736
1733
|
readonly authorizationUrl?: string | undefined;
|
|
1737
1734
|
readonly tokenUrl?: string | undefined;
|
|
1738
1735
|
readonly refreshUrl?: string | undefined;
|
|
1739
|
-
} | undefined;
|
|
1740
|
-
readonly authorizationCode?: {
|
|
1741
1736
|
readonly scopes?: {
|
|
1742
1737
|
readonly [x: string]: string;
|
|
1743
1738
|
} | undefined;
|
|
1739
|
+
} | undefined;
|
|
1740
|
+
readonly authorizationCode?: {
|
|
1744
1741
|
readonly authorizationUrl?: string | undefined;
|
|
1745
1742
|
readonly tokenUrl?: string | undefined;
|
|
1746
1743
|
readonly refreshUrl?: string | undefined;
|
|
1744
|
+
readonly scopes?: {
|
|
1745
|
+
readonly [x: string]: string;
|
|
1746
|
+
} | undefined;
|
|
1747
1747
|
} | undefined;
|
|
1748
1748
|
};
|
|
1749
1749
|
} | {
|
|
1750
1750
|
readonly name: string;
|
|
1751
|
-
readonly type: "openIdConnect";
|
|
1752
1751
|
readonly description?: string | undefined;
|
|
1752
|
+
readonly type: "openIdConnect";
|
|
1753
1753
|
readonly openIdConnectUrl: string;
|
|
1754
1754
|
})[];
|
|
1755
1755
|
readonly securityRequirements: readonly {
|
|
@@ -1757,10 +1757,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1757
1757
|
}[];
|
|
1758
1758
|
}, ConfigValidationError, never>;
|
|
1759
1759
|
loadAndResolveConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
|
|
1760
|
-
readonly tags: readonly {
|
|
1761
|
-
readonly name: string;
|
|
1762
|
-
readonly description?: string | undefined;
|
|
1763
|
-
}[];
|
|
1764
1760
|
readonly entry: readonly string[];
|
|
1765
1761
|
readonly tsconfig: string;
|
|
1766
1762
|
readonly dtoGlob: readonly string[];
|
|
@@ -1770,9 +1766,9 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1770
1766
|
readonly format: "json" | "yaml";
|
|
1771
1767
|
readonly version?: string | undefined;
|
|
1772
1768
|
readonly info: {
|
|
1773
|
-
readonly description?: string | undefined;
|
|
1774
1769
|
readonly version: string;
|
|
1775
1770
|
readonly title: string;
|
|
1771
|
+
readonly description?: string | undefined;
|
|
1776
1772
|
readonly contact?: {
|
|
1777
1773
|
readonly name?: string | undefined;
|
|
1778
1774
|
readonly email?: string | undefined;
|
|
@@ -1787,6 +1783,10 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1787
1783
|
readonly description?: string | undefined;
|
|
1788
1784
|
readonly url: string;
|
|
1789
1785
|
}[];
|
|
1786
|
+
readonly tags: readonly {
|
|
1787
|
+
readonly name: string;
|
|
1788
|
+
readonly description?: string | undefined;
|
|
1789
|
+
}[];
|
|
1790
1790
|
readonly basePath?: string | undefined;
|
|
1791
1791
|
readonly extractValidation: boolean;
|
|
1792
1792
|
readonly excludeDecorators: readonly string[];
|
|
@@ -1794,58 +1794,58 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1794
1794
|
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1795
1795
|
readonly securitySchemes: readonly ({
|
|
1796
1796
|
readonly name: string;
|
|
1797
|
-
readonly type: "http";
|
|
1798
1797
|
readonly description?: string | undefined;
|
|
1798
|
+
readonly type: "http";
|
|
1799
1799
|
readonly scheme: string;
|
|
1800
1800
|
readonly bearerFormat?: string | undefined;
|
|
1801
1801
|
} | {
|
|
1802
1802
|
readonly name: string;
|
|
1803
|
-
readonly type: "apiKey";
|
|
1804
1803
|
readonly description?: string | undefined;
|
|
1804
|
+
readonly type: "apiKey";
|
|
1805
1805
|
readonly in: "query" | "header" | "cookie";
|
|
1806
1806
|
readonly parameterName: string;
|
|
1807
1807
|
} | {
|
|
1808
1808
|
readonly name: string;
|
|
1809
|
-
readonly type: "oauth2";
|
|
1810
1809
|
readonly description?: string | undefined;
|
|
1810
|
+
readonly type: "oauth2";
|
|
1811
1811
|
readonly flows: {
|
|
1812
1812
|
readonly implicit?: {
|
|
1813
|
-
readonly scopes?: {
|
|
1814
|
-
readonly [x: string]: string;
|
|
1815
|
-
} | undefined;
|
|
1816
1813
|
readonly authorizationUrl?: string | undefined;
|
|
1817
1814
|
readonly tokenUrl?: string | undefined;
|
|
1818
1815
|
readonly refreshUrl?: string | undefined;
|
|
1819
|
-
} | undefined;
|
|
1820
|
-
readonly password?: {
|
|
1821
1816
|
readonly scopes?: {
|
|
1822
1817
|
readonly [x: string]: string;
|
|
1823
1818
|
} | undefined;
|
|
1819
|
+
} | undefined;
|
|
1820
|
+
readonly password?: {
|
|
1824
1821
|
readonly authorizationUrl?: string | undefined;
|
|
1825
1822
|
readonly tokenUrl?: string | undefined;
|
|
1826
1823
|
readonly refreshUrl?: string | undefined;
|
|
1827
|
-
} | undefined;
|
|
1828
|
-
readonly clientCredentials?: {
|
|
1829
1824
|
readonly scopes?: {
|
|
1830
1825
|
readonly [x: string]: string;
|
|
1831
1826
|
} | undefined;
|
|
1827
|
+
} | undefined;
|
|
1828
|
+
readonly clientCredentials?: {
|
|
1832
1829
|
readonly authorizationUrl?: string | undefined;
|
|
1833
1830
|
readonly tokenUrl?: string | undefined;
|
|
1834
1831
|
readonly refreshUrl?: string | undefined;
|
|
1835
|
-
} | undefined;
|
|
1836
|
-
readonly authorizationCode?: {
|
|
1837
1832
|
readonly scopes?: {
|
|
1838
1833
|
readonly [x: string]: string;
|
|
1839
1834
|
} | undefined;
|
|
1835
|
+
} | undefined;
|
|
1836
|
+
readonly authorizationCode?: {
|
|
1840
1837
|
readonly authorizationUrl?: string | undefined;
|
|
1841
1838
|
readonly tokenUrl?: string | undefined;
|
|
1842
1839
|
readonly refreshUrl?: string | undefined;
|
|
1840
|
+
readonly scopes?: {
|
|
1841
|
+
readonly [x: string]: string;
|
|
1842
|
+
} | undefined;
|
|
1843
1843
|
} | undefined;
|
|
1844
1844
|
};
|
|
1845
1845
|
} | {
|
|
1846
1846
|
readonly name: string;
|
|
1847
|
-
readonly type: "openIdConnect";
|
|
1848
1847
|
readonly description?: string | undefined;
|
|
1848
|
+
readonly type: "openIdConnect";
|
|
1849
1849
|
readonly openIdConnectUrl: string;
|
|
1850
1850
|
})[];
|
|
1851
1851
|
readonly securityRequirements: readonly {
|
|
@@ -2146,7 +2146,7 @@ declare const makeProjectContext: (options: ProjectOptions) => Effect.Effect<{
|
|
|
2146
2146
|
project: Project;
|
|
2147
2147
|
entrySourceFile: SourceFile;
|
|
2148
2148
|
entryClass: ClassDeclaration;
|
|
2149
|
-
},
|
|
2149
|
+
}, ProjectInitError | EntryNotFoundError, never>;
|
|
2150
2150
|
declare const ProjectService_base: Effect.Service.Class<ProjectService, "ProjectService", {
|
|
2151
2151
|
readonly accessors: true;
|
|
2152
2152
|
readonly effect: Effect.Effect<{
|
|
@@ -2154,7 +2154,7 @@ declare const ProjectService_base: Effect.Service.Class<ProjectService, "Project
|
|
|
2154
2154
|
project: Project;
|
|
2155
2155
|
entrySourceFile: SourceFile;
|
|
2156
2156
|
entryClass: ClassDeclaration;
|
|
2157
|
-
},
|
|
2157
|
+
}, ProjectInitError | EntryNotFoundError, never>;
|
|
2158
2158
|
}, never, never>;
|
|
2159
2159
|
}>;
|
|
2160
2160
|
declare class ProjectService extends ProjectService_base {
|