nestjs-openapi 0.2.1 → 0.2.2
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.0ft_UaiO.mjs → nestjs-openapi.DeikubMm.mjs} +1 -5
- package/dist/shared/{nestjs-openapi.C1csrdEX.d.mts → nestjs-openapi.NtbZNAvU.d.mts} +193 -193
- package/dist/shared/{nestjs-openapi.C1csrdEX.d.ts → nestjs-openapi.NtbZNAvU.d.ts} +193 -193
- package/package.json +1 -1
|
@@ -1141,27 +1141,23 @@ 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
|
-
}[];
|
|
1148
1144
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1149
1145
|
readonly path: string;
|
|
1150
1146
|
readonly methodName: string;
|
|
1151
1147
|
readonly controllerName: string;
|
|
1152
1148
|
readonly controllerTags: readonly string[];
|
|
1153
1149
|
readonly returnType: {
|
|
1150
|
+
readonly filePath: Option.Option<string>;
|
|
1154
1151
|
readonly type: Option.Option<string>;
|
|
1155
1152
|
readonly inline: Option.Option<string>;
|
|
1156
1153
|
readonly container: Option.Option<"array">;
|
|
1157
|
-
readonly filePath: Option.Option<string>;
|
|
1158
1154
|
};
|
|
1159
1155
|
readonly parameters: readonly {
|
|
1160
1156
|
readonly name: string;
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1157
|
+
readonly location: "path" | "query" | "header" | "cookie" | "body";
|
|
1163
1158
|
readonly tsType: string;
|
|
1164
1159
|
readonly required: boolean;
|
|
1160
|
+
readonly description: Option.Option<string>;
|
|
1165
1161
|
}[];
|
|
1166
1162
|
readonly decorators: readonly string[];
|
|
1167
1163
|
readonly operation: {
|
|
@@ -1171,38 +1167,38 @@ declare const getMethodInfoEffect: (controller: ClassDeclaration, method: Method
|
|
|
1171
1167
|
readonly deprecated: Option.Option<boolean>;
|
|
1172
1168
|
};
|
|
1173
1169
|
readonly responses: readonly {
|
|
1174
|
-
readonly description: Option.Option<string>;
|
|
1175
1170
|
readonly type: Option.Option<string>;
|
|
1171
|
+
readonly description: Option.Option<string>;
|
|
1176
1172
|
readonly statusCode: number;
|
|
1177
1173
|
readonly isArray: boolean;
|
|
1178
1174
|
}[];
|
|
1179
1175
|
readonly httpCode: Option.Option<number>;
|
|
1180
1176
|
readonly consumes: readonly string[];
|
|
1181
1177
|
readonly produces: readonly string[];
|
|
1182
|
-
}>, never, never>;
|
|
1183
|
-
declare const getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions) => readonly MethodInfo[];
|
|
1184
|
-
declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1185
1178
|
readonly security: readonly {
|
|
1186
|
-
readonly scopes: readonly string[];
|
|
1187
1179
|
readonly schemeName: string;
|
|
1180
|
+
readonly scopes: readonly string[];
|
|
1188
1181
|
}[];
|
|
1182
|
+
}>, never, never>;
|
|
1183
|
+
declare const getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions) => readonly MethodInfo[];
|
|
1184
|
+
declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1189
1185
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1190
1186
|
readonly path: string;
|
|
1191
1187
|
readonly methodName: string;
|
|
1192
1188
|
readonly controllerName: string;
|
|
1193
1189
|
readonly controllerTags: readonly string[];
|
|
1194
1190
|
readonly returnType: {
|
|
1191
|
+
readonly filePath: Option.Option<string>;
|
|
1195
1192
|
readonly type: Option.Option<string>;
|
|
1196
1193
|
readonly inline: Option.Option<string>;
|
|
1197
1194
|
readonly container: Option.Option<"array">;
|
|
1198
|
-
readonly filePath: Option.Option<string>;
|
|
1199
1195
|
};
|
|
1200
1196
|
readonly parameters: readonly {
|
|
1201
1197
|
readonly name: string;
|
|
1202
|
-
readonly
|
|
1203
|
-
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1198
|
+
readonly location: "path" | "query" | "header" | "cookie" | "body";
|
|
1204
1199
|
readonly tsType: string;
|
|
1205
1200
|
readonly required: boolean;
|
|
1201
|
+
readonly description: Option.Option<string>;
|
|
1206
1202
|
}[];
|
|
1207
1203
|
readonly decorators: readonly string[];
|
|
1208
1204
|
readonly operation: {
|
|
@@ -1212,40 +1208,40 @@ declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, opt
|
|
|
1212
1208
|
readonly deprecated: Option.Option<boolean>;
|
|
1213
1209
|
};
|
|
1214
1210
|
readonly responses: readonly {
|
|
1215
|
-
readonly description: Option.Option<string>;
|
|
1216
1211
|
readonly type: Option.Option<string>;
|
|
1212
|
+
readonly description: Option.Option<string>;
|
|
1217
1213
|
readonly statusCode: number;
|
|
1218
1214
|
readonly isArray: boolean;
|
|
1219
1215
|
}[];
|
|
1220
1216
|
readonly httpCode: Option.Option<number>;
|
|
1221
1217
|
readonly consumes: readonly string[];
|
|
1222
1218
|
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
|
-
}[];
|
|
1232
1228
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1233
1229
|
readonly path: string;
|
|
1234
1230
|
readonly methodName: string;
|
|
1235
1231
|
readonly controllerName: string;
|
|
1236
1232
|
readonly controllerTags: readonly string[];
|
|
1237
1233
|
readonly returnType: {
|
|
1234
|
+
readonly filePath: Option.Option<string>;
|
|
1238
1235
|
readonly type: Option.Option<string>;
|
|
1239
1236
|
readonly inline: Option.Option<string>;
|
|
1240
1237
|
readonly container: Option.Option<"array">;
|
|
1241
|
-
readonly filePath: Option.Option<string>;
|
|
1242
1238
|
};
|
|
1243
1239
|
readonly parameters: readonly {
|
|
1244
1240
|
readonly name: string;
|
|
1245
|
-
readonly
|
|
1246
|
-
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1241
|
+
readonly location: "path" | "query" | "header" | "cookie" | "body";
|
|
1247
1242
|
readonly tsType: string;
|
|
1248
1243
|
readonly required: boolean;
|
|
1244
|
+
readonly description: Option.Option<string>;
|
|
1249
1245
|
}[];
|
|
1250
1246
|
readonly decorators: readonly string[];
|
|
1251
1247
|
readonly operation: {
|
|
@@ -1255,37 +1251,37 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
|
|
|
1255
1251
|
readonly deprecated: Option.Option<boolean>;
|
|
1256
1252
|
};
|
|
1257
1253
|
readonly responses: readonly {
|
|
1258
|
-
readonly description: Option.Option<string>;
|
|
1259
1254
|
readonly type: Option.Option<string>;
|
|
1255
|
+
readonly description: Option.Option<string>;
|
|
1260
1256
|
readonly statusCode: number;
|
|
1261
1257
|
readonly isArray: boolean;
|
|
1262
1258
|
}[];
|
|
1263
1259
|
readonly httpCode: Option.Option<number>;
|
|
1264
1260
|
readonly consumes: readonly string[];
|
|
1265
1261
|
readonly produces: readonly string[];
|
|
1266
|
-
}>, never, never>;
|
|
1267
|
-
getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1268
1262
|
readonly security: readonly {
|
|
1269
|
-
readonly scopes: readonly string[];
|
|
1270
1263
|
readonly schemeName: string;
|
|
1264
|
+
readonly scopes: readonly string[];
|
|
1271
1265
|
}[];
|
|
1266
|
+
}>, never, never>;
|
|
1267
|
+
getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
|
|
1272
1268
|
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1273
1269
|
readonly path: string;
|
|
1274
1270
|
readonly methodName: string;
|
|
1275
1271
|
readonly controllerName: string;
|
|
1276
1272
|
readonly controllerTags: readonly string[];
|
|
1277
1273
|
readonly returnType: {
|
|
1274
|
+
readonly filePath: Option.Option<string>;
|
|
1278
1275
|
readonly type: Option.Option<string>;
|
|
1279
1276
|
readonly inline: Option.Option<string>;
|
|
1280
1277
|
readonly container: Option.Option<"array">;
|
|
1281
|
-
readonly filePath: Option.Option<string>;
|
|
1282
1278
|
};
|
|
1283
1279
|
readonly parameters: readonly {
|
|
1284
1280
|
readonly name: string;
|
|
1285
|
-
readonly
|
|
1286
|
-
readonly location: "query" | "header" | "cookie" | "path" | "body";
|
|
1281
|
+
readonly location: "path" | "query" | "header" | "cookie" | "body";
|
|
1287
1282
|
readonly tsType: string;
|
|
1288
1283
|
readonly required: boolean;
|
|
1284
|
+
readonly description: Option.Option<string>;
|
|
1289
1285
|
}[];
|
|
1290
1286
|
readonly decorators: readonly string[];
|
|
1291
1287
|
readonly operation: {
|
|
@@ -1295,14 +1291,18 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
|
|
|
1295
1291
|
readonly deprecated: Option.Option<boolean>;
|
|
1296
1292
|
};
|
|
1297
1293
|
readonly responses: readonly {
|
|
1298
|
-
readonly description: Option.Option<string>;
|
|
1299
1294
|
readonly type: Option.Option<string>;
|
|
1295
|
+
readonly description: Option.Option<string>;
|
|
1300
1296
|
readonly statusCode: number;
|
|
1301
1297
|
readonly isArray: boolean;
|
|
1302
1298
|
}[];
|
|
1303
1299
|
readonly httpCode: Option.Option<number>;
|
|
1304
1300
|
readonly consumes: readonly string[];
|
|
1305
1301
|
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
|
}>;
|
|
@@ -1332,101 +1332,101 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1332
1332
|
readonly effect: Effect.Effect<{
|
|
1333
1333
|
findConfigFile: (startDir?: string | undefined) => Effect.Effect<string, ConfigNotFoundError, never>;
|
|
1334
1334
|
loadConfigFromFile: (configPath: string) => Effect.Effect<{
|
|
1335
|
+
readonly format?: "json" | "yaml" | undefined;
|
|
1335
1336
|
readonly extends?: string | undefined;
|
|
1336
1337
|
readonly files?: {
|
|
1337
|
-
readonly entry?: string | readonly string[] | undefined;
|
|
1338
|
-
readonly tsconfig?: string | undefined;
|
|
1339
1338
|
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1339
|
+
readonly tsconfig?: string | undefined;
|
|
1340
|
+
readonly entry?: string | readonly string[] | undefined;
|
|
1340
1341
|
readonly include?: readonly string[] | undefined;
|
|
1341
1342
|
readonly exclude?: readonly string[] | undefined;
|
|
1342
1343
|
} | undefined;
|
|
1343
1344
|
readonly output: string;
|
|
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;
|
|
1369
1346
|
readonly security?: {
|
|
1370
1347
|
readonly schemes?: readonly ({
|
|
1371
1348
|
readonly name: string;
|
|
1372
|
-
readonly description?: string | undefined;
|
|
1373
1349
|
readonly type: "http";
|
|
1350
|
+
readonly description?: string | undefined;
|
|
1374
1351
|
readonly scheme: string;
|
|
1375
1352
|
readonly bearerFormat?: string | undefined;
|
|
1376
1353
|
} | {
|
|
1377
1354
|
readonly name: string;
|
|
1378
|
-
readonly description?: string | undefined;
|
|
1379
1355
|
readonly type: "apiKey";
|
|
1356
|
+
readonly description?: string | undefined;
|
|
1380
1357
|
readonly in: "query" | "header" | "cookie";
|
|
1381
1358
|
readonly parameterName: string;
|
|
1382
1359
|
} | {
|
|
1383
1360
|
readonly name: string;
|
|
1384
|
-
readonly description?: string | undefined;
|
|
1385
1361
|
readonly type: "oauth2";
|
|
1362
|
+
readonly description?: string | undefined;
|
|
1386
1363
|
readonly flows: {
|
|
1387
1364
|
readonly implicit?: {
|
|
1388
|
-
readonly authorizationUrl?: string | undefined;
|
|
1389
|
-
readonly tokenUrl?: string | undefined;
|
|
1390
|
-
readonly refreshUrl?: string | undefined;
|
|
1391
1365
|
readonly scopes?: {
|
|
1392
1366
|
readonly [x: string]: string;
|
|
1393
1367
|
} | undefined;
|
|
1394
|
-
} | undefined;
|
|
1395
|
-
readonly password?: {
|
|
1396
1368
|
readonly authorizationUrl?: string | undefined;
|
|
1397
1369
|
readonly tokenUrl?: string | undefined;
|
|
1398
1370
|
readonly refreshUrl?: string | undefined;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
readonly password?: {
|
|
1399
1373
|
readonly scopes?: {
|
|
1400
1374
|
readonly [x: string]: string;
|
|
1401
1375
|
} | undefined;
|
|
1402
|
-
} | undefined;
|
|
1403
|
-
readonly clientCredentials?: {
|
|
1404
1376
|
readonly authorizationUrl?: string | undefined;
|
|
1405
1377
|
readonly tokenUrl?: string | undefined;
|
|
1406
1378
|
readonly refreshUrl?: string | undefined;
|
|
1379
|
+
} | undefined;
|
|
1380
|
+
readonly clientCredentials?: {
|
|
1407
1381
|
readonly scopes?: {
|
|
1408
1382
|
readonly [x: string]: string;
|
|
1409
1383
|
} | undefined;
|
|
1410
|
-
} | undefined;
|
|
1411
|
-
readonly authorizationCode?: {
|
|
1412
1384
|
readonly authorizationUrl?: string | undefined;
|
|
1413
1385
|
readonly tokenUrl?: string | undefined;
|
|
1414
1386
|
readonly refreshUrl?: string | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
|
+
readonly authorizationCode?: {
|
|
1415
1389
|
readonly scopes?: {
|
|
1416
1390
|
readonly [x: string]: string;
|
|
1417
1391
|
} | undefined;
|
|
1392
|
+
readonly authorizationUrl?: string | undefined;
|
|
1393
|
+
readonly tokenUrl?: string | undefined;
|
|
1394
|
+
readonly refreshUrl?: string | undefined;
|
|
1418
1395
|
} | undefined;
|
|
1419
1396
|
};
|
|
1420
1397
|
} | {
|
|
1421
1398
|
readonly name: string;
|
|
1422
|
-
readonly description?: string | undefined;
|
|
1423
1399
|
readonly type: "openIdConnect";
|
|
1400
|
+
readonly description?: string | undefined;
|
|
1424
1401
|
readonly openIdConnectUrl: string;
|
|
1425
1402
|
})[] | undefined;
|
|
1426
1403
|
readonly global?: readonly {
|
|
1427
1404
|
readonly [x: string]: readonly string[];
|
|
1428
1405
|
}[] | undefined;
|
|
1429
1406
|
} | 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?: {
|
|
@@ -1442,101 +1442,101 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1442
1442
|
} | undefined;
|
|
1443
1443
|
}, ConfigError, never>;
|
|
1444
1444
|
loadConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
|
|
1445
|
+
readonly format?: "json" | "yaml" | undefined;
|
|
1445
1446
|
readonly extends?: string | undefined;
|
|
1446
1447
|
readonly files?: {
|
|
1447
|
-
readonly entry?: string | readonly string[] | undefined;
|
|
1448
|
-
readonly tsconfig?: string | undefined;
|
|
1449
1448
|
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1449
|
+
readonly tsconfig?: string | undefined;
|
|
1450
|
+
readonly entry?: string | readonly string[] | undefined;
|
|
1450
1451
|
readonly include?: readonly string[] | undefined;
|
|
1451
1452
|
readonly exclude?: readonly string[] | undefined;
|
|
1452
1453
|
} | undefined;
|
|
1453
1454
|
readonly output: string;
|
|
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;
|
|
1479
1456
|
readonly security?: {
|
|
1480
1457
|
readonly schemes?: readonly ({
|
|
1481
1458
|
readonly name: string;
|
|
1482
|
-
readonly description?: string | undefined;
|
|
1483
1459
|
readonly type: "http";
|
|
1460
|
+
readonly description?: string | undefined;
|
|
1484
1461
|
readonly scheme: string;
|
|
1485
1462
|
readonly bearerFormat?: string | undefined;
|
|
1486
1463
|
} | {
|
|
1487
1464
|
readonly name: string;
|
|
1488
|
-
readonly description?: string | undefined;
|
|
1489
1465
|
readonly type: "apiKey";
|
|
1466
|
+
readonly description?: string | undefined;
|
|
1490
1467
|
readonly in: "query" | "header" | "cookie";
|
|
1491
1468
|
readonly parameterName: string;
|
|
1492
1469
|
} | {
|
|
1493
1470
|
readonly name: string;
|
|
1494
|
-
readonly description?: string | undefined;
|
|
1495
1471
|
readonly type: "oauth2";
|
|
1472
|
+
readonly description?: string | undefined;
|
|
1496
1473
|
readonly flows: {
|
|
1497
1474
|
readonly implicit?: {
|
|
1498
|
-
readonly authorizationUrl?: string | undefined;
|
|
1499
|
-
readonly tokenUrl?: string | undefined;
|
|
1500
|
-
readonly refreshUrl?: string | undefined;
|
|
1501
1475
|
readonly scopes?: {
|
|
1502
1476
|
readonly [x: string]: string;
|
|
1503
1477
|
} | undefined;
|
|
1504
|
-
} | undefined;
|
|
1505
|
-
readonly password?: {
|
|
1506
1478
|
readonly authorizationUrl?: string | undefined;
|
|
1507
1479
|
readonly tokenUrl?: string | undefined;
|
|
1508
1480
|
readonly refreshUrl?: string | undefined;
|
|
1481
|
+
} | undefined;
|
|
1482
|
+
readonly password?: {
|
|
1509
1483
|
readonly scopes?: {
|
|
1510
1484
|
readonly [x: string]: string;
|
|
1511
1485
|
} | undefined;
|
|
1512
|
-
} | undefined;
|
|
1513
|
-
readonly clientCredentials?: {
|
|
1514
1486
|
readonly authorizationUrl?: string | undefined;
|
|
1515
1487
|
readonly tokenUrl?: string | undefined;
|
|
1516
1488
|
readonly refreshUrl?: string | undefined;
|
|
1489
|
+
} | undefined;
|
|
1490
|
+
readonly clientCredentials?: {
|
|
1517
1491
|
readonly scopes?: {
|
|
1518
1492
|
readonly [x: string]: string;
|
|
1519
1493
|
} | undefined;
|
|
1520
|
-
} | undefined;
|
|
1521
|
-
readonly authorizationCode?: {
|
|
1522
1494
|
readonly authorizationUrl?: string | undefined;
|
|
1523
1495
|
readonly tokenUrl?: string | undefined;
|
|
1524
1496
|
readonly refreshUrl?: string | undefined;
|
|
1497
|
+
} | undefined;
|
|
1498
|
+
readonly authorizationCode?: {
|
|
1525
1499
|
readonly scopes?: {
|
|
1526
1500
|
readonly [x: string]: string;
|
|
1527
1501
|
} | undefined;
|
|
1502
|
+
readonly authorizationUrl?: string | undefined;
|
|
1503
|
+
readonly tokenUrl?: string | undefined;
|
|
1504
|
+
readonly refreshUrl?: string | undefined;
|
|
1528
1505
|
} | undefined;
|
|
1529
1506
|
};
|
|
1530
1507
|
} | {
|
|
1531
1508
|
readonly name: string;
|
|
1532
|
-
readonly description?: string | undefined;
|
|
1533
1509
|
readonly type: "openIdConnect";
|
|
1510
|
+
readonly description?: string | undefined;
|
|
1534
1511
|
readonly openIdConnectUrl: string;
|
|
1535
1512
|
})[] | undefined;
|
|
1536
1513
|
readonly global?: readonly {
|
|
1537
1514
|
readonly [x: string]: readonly string[];
|
|
1538
1515
|
}[] | undefined;
|
|
1539
1516
|
} | 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?: {
|
|
@@ -1552,101 +1552,101 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1552
1552
|
} | undefined;
|
|
1553
1553
|
}, ConfigError, never>;
|
|
1554
1554
|
resolveConfig: (config: {
|
|
1555
|
+
readonly format?: "json" | "yaml" | undefined;
|
|
1555
1556
|
readonly extends?: string | undefined;
|
|
1556
1557
|
readonly files?: {
|
|
1557
|
-
readonly entry?: string | readonly string[] | undefined;
|
|
1558
|
-
readonly tsconfig?: string | undefined;
|
|
1559
1558
|
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1559
|
+
readonly tsconfig?: string | undefined;
|
|
1560
|
+
readonly entry?: string | readonly string[] | undefined;
|
|
1560
1561
|
readonly include?: readonly string[] | undefined;
|
|
1561
1562
|
readonly exclude?: readonly string[] | undefined;
|
|
1562
1563
|
} | undefined;
|
|
1563
1564
|
readonly output: string;
|
|
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;
|
|
1589
1566
|
readonly security?: {
|
|
1590
1567
|
readonly schemes?: readonly ({
|
|
1591
1568
|
readonly name: string;
|
|
1592
|
-
readonly description?: string | undefined;
|
|
1593
1569
|
readonly type: "http";
|
|
1570
|
+
readonly description?: string | undefined;
|
|
1594
1571
|
readonly scheme: string;
|
|
1595
1572
|
readonly bearerFormat?: string | undefined;
|
|
1596
1573
|
} | {
|
|
1597
1574
|
readonly name: string;
|
|
1598
|
-
readonly description?: string | undefined;
|
|
1599
1575
|
readonly type: "apiKey";
|
|
1576
|
+
readonly description?: string | undefined;
|
|
1600
1577
|
readonly in: "query" | "header" | "cookie";
|
|
1601
1578
|
readonly parameterName: string;
|
|
1602
1579
|
} | {
|
|
1603
1580
|
readonly name: string;
|
|
1604
|
-
readonly description?: string | undefined;
|
|
1605
1581
|
readonly type: "oauth2";
|
|
1582
|
+
readonly description?: string | undefined;
|
|
1606
1583
|
readonly flows: {
|
|
1607
1584
|
readonly implicit?: {
|
|
1608
|
-
readonly authorizationUrl?: string | undefined;
|
|
1609
|
-
readonly tokenUrl?: string | undefined;
|
|
1610
|
-
readonly refreshUrl?: string | undefined;
|
|
1611
1585
|
readonly scopes?: {
|
|
1612
1586
|
readonly [x: string]: string;
|
|
1613
1587
|
} | undefined;
|
|
1614
|
-
} | undefined;
|
|
1615
|
-
readonly password?: {
|
|
1616
1588
|
readonly authorizationUrl?: string | undefined;
|
|
1617
1589
|
readonly tokenUrl?: string | undefined;
|
|
1618
1590
|
readonly refreshUrl?: string | undefined;
|
|
1591
|
+
} | undefined;
|
|
1592
|
+
readonly password?: {
|
|
1619
1593
|
readonly scopes?: {
|
|
1620
1594
|
readonly [x: string]: string;
|
|
1621
1595
|
} | undefined;
|
|
1622
|
-
} | undefined;
|
|
1623
|
-
readonly clientCredentials?: {
|
|
1624
1596
|
readonly authorizationUrl?: string | undefined;
|
|
1625
1597
|
readonly tokenUrl?: string | undefined;
|
|
1626
1598
|
readonly refreshUrl?: string | undefined;
|
|
1599
|
+
} | undefined;
|
|
1600
|
+
readonly clientCredentials?: {
|
|
1627
1601
|
readonly scopes?: {
|
|
1628
1602
|
readonly [x: string]: string;
|
|
1629
1603
|
} | undefined;
|
|
1630
|
-
} | undefined;
|
|
1631
|
-
readonly authorizationCode?: {
|
|
1632
1604
|
readonly authorizationUrl?: string | undefined;
|
|
1633
1605
|
readonly tokenUrl?: string | undefined;
|
|
1634
1606
|
readonly refreshUrl?: string | undefined;
|
|
1607
|
+
} | undefined;
|
|
1608
|
+
readonly authorizationCode?: {
|
|
1635
1609
|
readonly scopes?: {
|
|
1636
1610
|
readonly [x: string]: string;
|
|
1637
1611
|
} | undefined;
|
|
1612
|
+
readonly authorizationUrl?: string | undefined;
|
|
1613
|
+
readonly tokenUrl?: string | undefined;
|
|
1614
|
+
readonly refreshUrl?: string | undefined;
|
|
1638
1615
|
} | undefined;
|
|
1639
1616
|
};
|
|
1640
1617
|
} | {
|
|
1641
1618
|
readonly name: string;
|
|
1642
|
-
readonly description?: string | undefined;
|
|
1643
1619
|
readonly type: "openIdConnect";
|
|
1620
|
+
readonly description?: string | undefined;
|
|
1644
1621
|
readonly openIdConnectUrl: string;
|
|
1645
1622
|
})[] | undefined;
|
|
1646
1623
|
readonly global?: readonly {
|
|
1647
1624
|
readonly [x: string]: readonly string[];
|
|
1648
1625
|
}[] | undefined;
|
|
1649
1626
|
} | 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,18 +1661,22 @@ 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
|
|
1665
|
-
readonly tsconfig: string;
|
|
1664
|
+
readonly format: "json" | "yaml";
|
|
1666
1665
|
readonly dtoGlob: readonly string[];
|
|
1666
|
+
readonly tsconfig: string;
|
|
1667
|
+
readonly tags: readonly {
|
|
1668
|
+
readonly name: string;
|
|
1669
|
+
readonly description?: string | undefined;
|
|
1670
|
+
}[];
|
|
1671
|
+
readonly entry: readonly string[];
|
|
1667
1672
|
readonly include: readonly string[];
|
|
1668
1673
|
readonly exclude: readonly string[];
|
|
1669
1674
|
readonly output: string;
|
|
1670
|
-
readonly format: "json" | "yaml";
|
|
1671
1675
|
readonly version?: string | undefined;
|
|
1672
1676
|
readonly info: {
|
|
1677
|
+
readonly description?: string | undefined;
|
|
1673
1678
|
readonly version: string;
|
|
1674
1679
|
readonly title: string;
|
|
1675
|
-
readonly description?: string | undefined;
|
|
1676
1680
|
readonly contact?: {
|
|
1677
1681
|
readonly name?: string | undefined;
|
|
1678
1682
|
readonly email?: string | undefined;
|
|
@@ -1687,10 +1691,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1687
1691
|
readonly description?: string | undefined;
|
|
1688
1692
|
readonly url: string;
|
|
1689
1693
|
}[];
|
|
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 description?: string | undefined;
|
|
1702
1701
|
readonly type: "http";
|
|
1702
|
+
readonly description?: string | undefined;
|
|
1703
1703
|
readonly scheme: string;
|
|
1704
1704
|
readonly bearerFormat?: string | undefined;
|
|
1705
1705
|
} | {
|
|
1706
1706
|
readonly name: string;
|
|
1707
|
-
readonly description?: string | undefined;
|
|
1708
1707
|
readonly type: "apiKey";
|
|
1708
|
+
readonly description?: string | undefined;
|
|
1709
1709
|
readonly in: "query" | "header" | "cookie";
|
|
1710
1710
|
readonly parameterName: string;
|
|
1711
1711
|
} | {
|
|
1712
1712
|
readonly name: string;
|
|
1713
|
-
readonly description?: string | undefined;
|
|
1714
1713
|
readonly type: "oauth2";
|
|
1714
|
+
readonly description?: string | undefined;
|
|
1715
1715
|
readonly flows: {
|
|
1716
1716
|
readonly implicit?: {
|
|
1717
|
-
readonly authorizationUrl?: string | undefined;
|
|
1718
|
-
readonly tokenUrl?: string | undefined;
|
|
1719
|
-
readonly refreshUrl?: string | undefined;
|
|
1720
1717
|
readonly scopes?: {
|
|
1721
1718
|
readonly [x: string]: string;
|
|
1722
1719
|
} | undefined;
|
|
1723
|
-
} | undefined;
|
|
1724
|
-
readonly password?: {
|
|
1725
1720
|
readonly authorizationUrl?: string | undefined;
|
|
1726
1721
|
readonly tokenUrl?: string | undefined;
|
|
1727
1722
|
readonly refreshUrl?: string | undefined;
|
|
1723
|
+
} | undefined;
|
|
1724
|
+
readonly password?: {
|
|
1728
1725
|
readonly scopes?: {
|
|
1729
1726
|
readonly [x: string]: string;
|
|
1730
1727
|
} | undefined;
|
|
1731
|
-
} | undefined;
|
|
1732
|
-
readonly clientCredentials?: {
|
|
1733
1728
|
readonly authorizationUrl?: string | undefined;
|
|
1734
1729
|
readonly tokenUrl?: string | undefined;
|
|
1735
1730
|
readonly refreshUrl?: string | undefined;
|
|
1731
|
+
} | undefined;
|
|
1732
|
+
readonly clientCredentials?: {
|
|
1736
1733
|
readonly scopes?: {
|
|
1737
1734
|
readonly [x: string]: string;
|
|
1738
1735
|
} | undefined;
|
|
1739
|
-
} | undefined;
|
|
1740
|
-
readonly authorizationCode?: {
|
|
1741
1736
|
readonly authorizationUrl?: string | undefined;
|
|
1742
1737
|
readonly tokenUrl?: string | undefined;
|
|
1743
1738
|
readonly refreshUrl?: string | undefined;
|
|
1739
|
+
} | undefined;
|
|
1740
|
+
readonly authorizationCode?: {
|
|
1744
1741
|
readonly scopes?: {
|
|
1745
1742
|
readonly [x: string]: string;
|
|
1746
1743
|
} | undefined;
|
|
1744
|
+
readonly authorizationUrl?: string | undefined;
|
|
1745
|
+
readonly tokenUrl?: string | undefined;
|
|
1746
|
+
readonly refreshUrl?: string | undefined;
|
|
1747
1747
|
} | undefined;
|
|
1748
1748
|
};
|
|
1749
1749
|
} | {
|
|
1750
1750
|
readonly name: string;
|
|
1751
|
-
readonly description?: string | undefined;
|
|
1752
1751
|
readonly type: "openIdConnect";
|
|
1752
|
+
readonly description?: string | undefined;
|
|
1753
1753
|
readonly openIdConnectUrl: string;
|
|
1754
1754
|
})[];
|
|
1755
1755
|
readonly securityRequirements: readonly {
|
|
@@ -1757,18 +1757,22 @@ 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
|
|
1761
|
-
readonly tsconfig: string;
|
|
1760
|
+
readonly format: "json" | "yaml";
|
|
1762
1761
|
readonly dtoGlob: readonly string[];
|
|
1762
|
+
readonly tsconfig: string;
|
|
1763
|
+
readonly tags: readonly {
|
|
1764
|
+
readonly name: string;
|
|
1765
|
+
readonly description?: string | undefined;
|
|
1766
|
+
}[];
|
|
1767
|
+
readonly entry: readonly string[];
|
|
1763
1768
|
readonly include: readonly string[];
|
|
1764
1769
|
readonly exclude: readonly string[];
|
|
1765
1770
|
readonly output: string;
|
|
1766
|
-
readonly format: "json" | "yaml";
|
|
1767
1771
|
readonly version?: string | undefined;
|
|
1768
1772
|
readonly info: {
|
|
1773
|
+
readonly description?: string | undefined;
|
|
1769
1774
|
readonly version: string;
|
|
1770
1775
|
readonly title: string;
|
|
1771
|
-
readonly description?: string | undefined;
|
|
1772
1776
|
readonly contact?: {
|
|
1773
1777
|
readonly name?: string | undefined;
|
|
1774
1778
|
readonly email?: string | undefined;
|
|
@@ -1783,10 +1787,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1783
1787
|
readonly description?: string | undefined;
|
|
1784
1788
|
readonly url: string;
|
|
1785
1789
|
}[];
|
|
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 description?: string | undefined;
|
|
1798
1797
|
readonly type: "http";
|
|
1798
|
+
readonly description?: string | undefined;
|
|
1799
1799
|
readonly scheme: string;
|
|
1800
1800
|
readonly bearerFormat?: string | undefined;
|
|
1801
1801
|
} | {
|
|
1802
1802
|
readonly name: string;
|
|
1803
|
-
readonly description?: string | undefined;
|
|
1804
1803
|
readonly type: "apiKey";
|
|
1804
|
+
readonly description?: string | undefined;
|
|
1805
1805
|
readonly in: "query" | "header" | "cookie";
|
|
1806
1806
|
readonly parameterName: string;
|
|
1807
1807
|
} | {
|
|
1808
1808
|
readonly name: string;
|
|
1809
|
-
readonly description?: string | undefined;
|
|
1810
1809
|
readonly type: "oauth2";
|
|
1810
|
+
readonly description?: string | undefined;
|
|
1811
1811
|
readonly flows: {
|
|
1812
1812
|
readonly implicit?: {
|
|
1813
|
-
readonly authorizationUrl?: string | undefined;
|
|
1814
|
-
readonly tokenUrl?: string | undefined;
|
|
1815
|
-
readonly refreshUrl?: string | undefined;
|
|
1816
1813
|
readonly scopes?: {
|
|
1817
1814
|
readonly [x: string]: string;
|
|
1818
1815
|
} | undefined;
|
|
1819
|
-
} | undefined;
|
|
1820
|
-
readonly password?: {
|
|
1821
1816
|
readonly authorizationUrl?: string | undefined;
|
|
1822
1817
|
readonly tokenUrl?: string | undefined;
|
|
1823
1818
|
readonly refreshUrl?: string | undefined;
|
|
1819
|
+
} | undefined;
|
|
1820
|
+
readonly password?: {
|
|
1824
1821
|
readonly scopes?: {
|
|
1825
1822
|
readonly [x: string]: string;
|
|
1826
1823
|
} | undefined;
|
|
1827
|
-
} | undefined;
|
|
1828
|
-
readonly clientCredentials?: {
|
|
1829
1824
|
readonly authorizationUrl?: string | undefined;
|
|
1830
1825
|
readonly tokenUrl?: string | undefined;
|
|
1831
1826
|
readonly refreshUrl?: string | undefined;
|
|
1827
|
+
} | undefined;
|
|
1828
|
+
readonly clientCredentials?: {
|
|
1832
1829
|
readonly scopes?: {
|
|
1833
1830
|
readonly [x: string]: string;
|
|
1834
1831
|
} | undefined;
|
|
1835
|
-
} | undefined;
|
|
1836
|
-
readonly authorizationCode?: {
|
|
1837
1832
|
readonly authorizationUrl?: string | undefined;
|
|
1838
1833
|
readonly tokenUrl?: string | undefined;
|
|
1839
1834
|
readonly refreshUrl?: string | undefined;
|
|
1835
|
+
} | undefined;
|
|
1836
|
+
readonly authorizationCode?: {
|
|
1840
1837
|
readonly scopes?: {
|
|
1841
1838
|
readonly [x: string]: string;
|
|
1842
1839
|
} | undefined;
|
|
1840
|
+
readonly authorizationUrl?: string | undefined;
|
|
1841
|
+
readonly tokenUrl?: string | undefined;
|
|
1842
|
+
readonly refreshUrl?: string | undefined;
|
|
1843
1843
|
} | undefined;
|
|
1844
1844
|
};
|
|
1845
1845
|
} | {
|
|
1846
1846
|
readonly name: string;
|
|
1847
|
-
readonly description?: string | undefined;
|
|
1848
1847
|
readonly type: "openIdConnect";
|
|
1848
|
+
readonly description?: string | undefined;
|
|
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
|
+
}, EntryNotFoundError | ProjectInitError, 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
|
+
}, EntryNotFoundError | ProjectInitError, never>;
|
|
2158
2158
|
}, never, never>;
|
|
2159
2159
|
}>;
|
|
2160
2160
|
declare class ProjectService extends ProjectService_base {
|
|
@@ -2271,5 +2271,5 @@ declare const generate: (options: GenerateOptions) => Effect.Effect<{
|
|
|
2271
2271
|
}, ProjectInitError | EntryNotFoundError, ModuleTraversalService | ProjectService | MethodExtractionService>;
|
|
2272
2272
|
declare const generateAsync: (options: GenerateOptions) => Promise<OpenApiPaths>;
|
|
2273
2273
|
|
|
2274
|
-
export { MissingGenericSchemaTempFileCleanupError as $, generatePathsAsync as A, generateFromConfigEffect as B, ConfigService as C, generateFromConfigAsync as D, ParameterLocation as F, ReturnTypeInfo as H, HttpMethod as J, OpenApiGeneratorConfig as K, MethodInfo as M, ResolvedConfig as N, ProjectService as P, ProjectInitError as Q, ResolvedParameter as R, SpecFileNotFoundError as S, EntryNotFoundError as U, ValidationService as V, ConfigNotFoundError as W, ConfigLoadError as X, ConfigValidationError as Y, DtoGlobResolutionError as Z, InvalidMethodError as _, SpecFileReadError as a, MissingGenericSchemaTempFileWriteError as a0, PublicApiError as a1, ProjectServiceLive as a6, makeProjectContext as a7, findConfigFile as aA, loadConfigFromFile as aB, loadConfig as aC, resolveConfig as aD, loadAndResolveConfig as aE, validateSpec as aF, categorizeBrokenRefs as aG, formatValidationResult as aH, getModules as aa, getAllControllers as ab, getMethodInfo as ad, getMethodInfoEffect as ae, getControllerMethodInfos as af, getControllerMethodInfosEffect as ag, generateSchemas as ah, generateSchemasFromFiles as ai, SchemaGenerationError as aj, extractPropertyConstraints as an, isPropertyOptional as ao, extractPropertyValidationInfo as ap, extractClassValidationInfo as aq, extractClassValidationInfoEffect as ar, extractClassConstraints as as, getRequiredProperties as at, applyConstraintsToSchema as au, mergeValidationConstraints as av, mergeValidationConstraintsEffect as aw, SpecFileParseError as b, OpenApiOperation as d,
|
|
2274
|
+
export { MissingGenericSchemaTempFileCleanupError as $, generatePathsAsync as A, generateFromConfigEffect as B, ConfigService as C, generateFromConfigAsync as D, ParameterLocation as F, ReturnTypeInfo as H, HttpMethod as J, OpenApiGeneratorConfig as K, MethodInfo as M, ResolvedConfig as N, ProjectService as P, ProjectInitError as Q, ResolvedParameter as R, SpecFileNotFoundError as S, EntryNotFoundError as U, ValidationService as V, ConfigNotFoundError as W, ConfigLoadError as X, ConfigValidationError as Y, DtoGlobResolutionError as Z, InvalidMethodError as _, SpecFileReadError as a, MissingGenericSchemaTempFileWriteError as a0, PublicApiError as a1, ProjectServiceLive as a6, makeProjectContext as a7, findConfigFile as aA, loadConfigFromFile as aB, loadConfig as aC, resolveConfig as aD, loadAndResolveConfig as aE, validateSpec as aF, categorizeBrokenRefs as aG, formatValidationResult as aH, getModules as aa, getAllControllers as ab, getMethodInfo as ad, getMethodInfoEffect as ae, getControllerMethodInfos as af, getControllerMethodInfosEffect as ag, generateSchemas as ah, generateSchemasFromFiles as ai, SchemaGenerationError as aj, extractPropertyConstraints as an, isPropertyOptional as ao, extractPropertyValidationInfo as ap, extractClassValidationInfo as aq, extractClassValidationInfoEffect as ar, extractClassConstraints as as, getRequiredProperties as at, applyConstraintsToSchema as au, mergeValidationConstraints as av, mergeValidationConstraintsEffect as aw, SpecFileParseError as b, OpenApiOperation as d, OutputService as g, SchemaService as h, ModuleTraversalService as i, MethodExtractionService as j, generate$1 as k, defineConfig as m, generate as x, generateAsync as y, generatePathsEffect as z };
|
|
2275
2275
|
export type { GenerateOptions as E, GeneratedSchemas as G, InfoConfig as I, LicenseConfig as L, OpenApiSpec as O, TagConfig as T, ProjectError as a2, ConfigError as a3, AnalysisError as a4, GeneratorError as a5, ProjectContext as a8, ProjectOptions as a9, ValidationResult as aI, BrokenRef as aJ, BrokenRefCategories as aK, ModuleWithControllers as ac, SchemaError as ak, SchemaGeneratorOptions as al, JsonSchema as am, ValidationConstraints as ax, PropertyValidationInfo as ay, ClassValidationInfo as az, OpenApiPaths as c, OpenApiPaths$1 as e, OpenApiSchema$1 as f, GenerateResult as l, Config as n, ContactConfig as o, ServerConfig as p, OutputFormat as q, TelemetryConfig as r, GenerateOverrides as s, OpenApiOperation$1 as t, OpenApiParameter as u, OpenApiRequestBody as v, OpenApiResponse as w };
|