nestjs-openapi 0.2.2 → 0.3.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/cli.mjs +1 -1
- package/dist/index.d.mts +91 -23
- package/dist/index.d.ts +91 -23
- package/dist/index.mjs +146 -28
- 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.NtbZNAvU.d.mts → nestjs-openapi.CAanamW0.d.mts} +219 -219
- package/dist/shared/{nestjs-openapi.NtbZNAvU.d.ts → nestjs-openapi.CAanamW0.d.ts} +219 -219
- package/dist/shared/{nestjs-openapi.DeikubMm.mjs → nestjs-openapi.Nd-wGr8A.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1141,8 +1141,12 @@ 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
|
|
1144
|
+
readonly security: readonly {
|
|
1145
|
+
readonly scopes: readonly string[];
|
|
1146
|
+
readonly schemeName: string;
|
|
1147
|
+
}[];
|
|
1145
1148
|
readonly path: string;
|
|
1149
|
+
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1146
1150
|
readonly methodName: string;
|
|
1147
1151
|
readonly controllerName: string;
|
|
1148
1152
|
readonly controllerTags: readonly string[];
|
|
@@ -1154,10 +1158,10 @@ declare const getMethodInfoEffect: (controller: ClassDeclaration, method: Method
|
|
|
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,23 +1171,23 @@ 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
|
|
1185
|
+
readonly security: readonly {
|
|
1186
|
+
readonly scopes: readonly string[];
|
|
1187
|
+
readonly schemeName: string;
|
|
1188
|
+
}[];
|
|
1186
1189
|
readonly path: string;
|
|
1190
|
+
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1187
1191
|
readonly methodName: string;
|
|
1188
1192
|
readonly controllerName: string;
|
|
1189
1193
|
readonly controllerTags: readonly string[];
|
|
@@ -1195,10 +1199,10 @@ declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, opt
|
|
|
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,25 +1212,25 @@ 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
|
|
1228
|
+
readonly security: readonly {
|
|
1229
|
+
readonly scopes: readonly string[];
|
|
1230
|
+
readonly schemeName: string;
|
|
1231
|
+
}[];
|
|
1229
1232
|
readonly path: string;
|
|
1233
|
+
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1230
1234
|
readonly methodName: string;
|
|
1231
1235
|
readonly controllerName: string;
|
|
1232
1236
|
readonly controllerTags: readonly string[];
|
|
@@ -1238,10 +1242,10 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
|
|
|
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,22 +1255,22 @@ 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
|
-
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1269
1272
|
readonly path: string;
|
|
1273
|
+
readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
|
|
1270
1274
|
readonly methodName: string;
|
|
1271
1275
|
readonly controllerName: string;
|
|
1272
1276
|
readonly controllerTags: readonly string[];
|
|
@@ -1278,10 +1282,10 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
|
|
|
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
|
}>;
|
|
@@ -1332,87 +1332,121 @@ 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;
|
|
1336
|
-
readonly extends?: string | undefined;
|
|
1337
|
-
readonly files?: {
|
|
1338
|
-
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1339
|
-
readonly tsconfig?: string | undefined;
|
|
1340
|
-
readonly entry?: string | readonly string[] | undefined;
|
|
1341
|
-
readonly include?: readonly string[] | undefined;
|
|
1342
|
-
readonly exclude?: readonly string[] | undefined;
|
|
1343
|
-
} | undefined;
|
|
1344
|
-
readonly output: string;
|
|
1345
1335
|
readonly openapi: {
|
|
1336
|
+
readonly info: {
|
|
1337
|
+
readonly version: string;
|
|
1338
|
+
readonly title: string;
|
|
1339
|
+
readonly description?: string | undefined;
|
|
1340
|
+
readonly contact?: {
|
|
1341
|
+
readonly name?: string | undefined;
|
|
1342
|
+
readonly email?: string | undefined;
|
|
1343
|
+
readonly url?: string | undefined;
|
|
1344
|
+
} | undefined;
|
|
1345
|
+
readonly license?: {
|
|
1346
|
+
readonly name: string;
|
|
1347
|
+
readonly url?: string | undefined;
|
|
1348
|
+
} | undefined;
|
|
1349
|
+
};
|
|
1350
|
+
readonly servers?: readonly {
|
|
1351
|
+
readonly description?: string | undefined;
|
|
1352
|
+
readonly url: string;
|
|
1353
|
+
}[] | undefined;
|
|
1354
|
+
readonly tags?: readonly {
|
|
1355
|
+
readonly name: string;
|
|
1356
|
+
readonly description?: string | undefined;
|
|
1357
|
+
}[] | undefined;
|
|
1346
1358
|
readonly security?: {
|
|
1347
1359
|
readonly schemes?: readonly ({
|
|
1348
1360
|
readonly name: string;
|
|
1349
|
-
readonly type: "http";
|
|
1350
1361
|
readonly description?: string | undefined;
|
|
1362
|
+
readonly type: "http";
|
|
1351
1363
|
readonly scheme: string;
|
|
1352
1364
|
readonly bearerFormat?: string | undefined;
|
|
1353
1365
|
} | {
|
|
1354
1366
|
readonly name: string;
|
|
1355
|
-
readonly type: "apiKey";
|
|
1356
1367
|
readonly description?: string | undefined;
|
|
1368
|
+
readonly type: "apiKey";
|
|
1357
1369
|
readonly in: "query" | "header" | "cookie";
|
|
1358
1370
|
readonly parameterName: string;
|
|
1359
1371
|
} | {
|
|
1360
1372
|
readonly name: string;
|
|
1361
|
-
readonly type: "oauth2";
|
|
1362
1373
|
readonly description?: string | undefined;
|
|
1374
|
+
readonly type: "oauth2";
|
|
1363
1375
|
readonly flows: {
|
|
1364
1376
|
readonly implicit?: {
|
|
1365
|
-
readonly scopes?: {
|
|
1366
|
-
readonly [x: string]: string;
|
|
1367
|
-
} | undefined;
|
|
1368
1377
|
readonly authorizationUrl?: string | undefined;
|
|
1369
1378
|
readonly tokenUrl?: string | undefined;
|
|
1370
1379
|
readonly refreshUrl?: string | undefined;
|
|
1371
|
-
} | undefined;
|
|
1372
|
-
readonly password?: {
|
|
1373
1380
|
readonly scopes?: {
|
|
1374
1381
|
readonly [x: string]: string;
|
|
1375
1382
|
} | undefined;
|
|
1383
|
+
} | undefined;
|
|
1384
|
+
readonly password?: {
|
|
1376
1385
|
readonly authorizationUrl?: string | undefined;
|
|
1377
1386
|
readonly tokenUrl?: string | undefined;
|
|
1378
1387
|
readonly refreshUrl?: string | undefined;
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
readonly clientCredentials?: {
|
|
1381
1388
|
readonly scopes?: {
|
|
1382
1389
|
readonly [x: string]: string;
|
|
1383
1390
|
} | undefined;
|
|
1391
|
+
} | undefined;
|
|
1392
|
+
readonly clientCredentials?: {
|
|
1384
1393
|
readonly authorizationUrl?: string | undefined;
|
|
1385
1394
|
readonly tokenUrl?: string | undefined;
|
|
1386
1395
|
readonly refreshUrl?: string | undefined;
|
|
1387
|
-
} | undefined;
|
|
1388
|
-
readonly authorizationCode?: {
|
|
1389
1396
|
readonly scopes?: {
|
|
1390
1397
|
readonly [x: string]: string;
|
|
1391
1398
|
} | undefined;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
readonly authorizationCode?: {
|
|
1392
1401
|
readonly authorizationUrl?: string | undefined;
|
|
1393
1402
|
readonly tokenUrl?: string | undefined;
|
|
1394
1403
|
readonly refreshUrl?: string | undefined;
|
|
1404
|
+
readonly scopes?: {
|
|
1405
|
+
readonly [x: string]: string;
|
|
1406
|
+
} | undefined;
|
|
1395
1407
|
} | undefined;
|
|
1396
1408
|
};
|
|
1397
1409
|
} | {
|
|
1398
1410
|
readonly name: string;
|
|
1399
|
-
readonly type: "openIdConnect";
|
|
1400
1411
|
readonly description?: string | undefined;
|
|
1412
|
+
readonly type: "openIdConnect";
|
|
1401
1413
|
readonly openIdConnectUrl: string;
|
|
1402
1414
|
})[] | undefined;
|
|
1403
1415
|
readonly global?: readonly {
|
|
1404
1416
|
readonly [x: string]: readonly string[];
|
|
1405
1417
|
}[] | undefined;
|
|
1406
1418
|
} | undefined;
|
|
1407
|
-
readonly tags?: readonly {
|
|
1408
|
-
readonly name: string;
|
|
1409
|
-
readonly description?: string | undefined;
|
|
1410
|
-
}[] | undefined;
|
|
1411
1419
|
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1420
|
+
};
|
|
1421
|
+
readonly extends?: string | undefined;
|
|
1422
|
+
readonly files?: {
|
|
1423
|
+
readonly tsconfig?: string | undefined;
|
|
1424
|
+
readonly entry?: string | readonly string[] | undefined;
|
|
1425
|
+
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1426
|
+
readonly include?: readonly string[] | undefined;
|
|
1427
|
+
readonly exclude?: readonly string[] | undefined;
|
|
1428
|
+
} | undefined;
|
|
1429
|
+
readonly output: string;
|
|
1430
|
+
readonly format?: "json" | "yaml" | undefined;
|
|
1431
|
+
readonly options?: {
|
|
1432
|
+
readonly query?: {
|
|
1433
|
+
readonly style?: "inline" | "ref" | undefined;
|
|
1434
|
+
} | undefined;
|
|
1435
|
+
readonly basePath?: string | undefined;
|
|
1436
|
+
readonly extractValidation?: boolean | undefined;
|
|
1437
|
+
readonly excludeDecorators?: readonly string[] | undefined;
|
|
1438
|
+
readonly schemas?: {
|
|
1439
|
+
readonly aliasRefs?: "collapse" | "preserve" | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1442
|
+
} | undefined;
|
|
1443
|
+
}, ConfigError, never>;
|
|
1444
|
+
loadConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
|
|
1445
|
+
readonly openapi: {
|
|
1412
1446
|
readonly info: {
|
|
1413
|
-
readonly description?: string | undefined;
|
|
1414
1447
|
readonly version: string;
|
|
1415
1448
|
readonly title: string;
|
|
1449
|
+
readonly description?: string | undefined;
|
|
1416
1450
|
readonly contact?: {
|
|
1417
1451
|
readonly name?: string | undefined;
|
|
1418
1452
|
readonly email?: string | undefined;
|
|
@@ -1427,102 +1461,102 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1427
1461
|
readonly description?: string | undefined;
|
|
1428
1462
|
readonly url: string;
|
|
1429
1463
|
}[] | undefined;
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
} | undefined;
|
|
1435
|
-
readonly basePath?: string | undefined;
|
|
1436
|
-
readonly extractValidation?: boolean | undefined;
|
|
1437
|
-
readonly excludeDecorators?: readonly string[] | undefined;
|
|
1438
|
-
readonly schemas?: {
|
|
1439
|
-
readonly aliasRefs?: "collapse" | "preserve" | undefined;
|
|
1440
|
-
} | undefined;
|
|
1441
|
-
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1442
|
-
} | undefined;
|
|
1443
|
-
}, ConfigError, never>;
|
|
1444
|
-
loadConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
|
|
1445
|
-
readonly format?: "json" | "yaml" | undefined;
|
|
1446
|
-
readonly extends?: string | undefined;
|
|
1447
|
-
readonly files?: {
|
|
1448
|
-
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1449
|
-
readonly tsconfig?: string | undefined;
|
|
1450
|
-
readonly entry?: string | readonly string[] | undefined;
|
|
1451
|
-
readonly include?: readonly string[] | undefined;
|
|
1452
|
-
readonly exclude?: readonly string[] | undefined;
|
|
1453
|
-
} | undefined;
|
|
1454
|
-
readonly output: string;
|
|
1455
|
-
readonly openapi: {
|
|
1464
|
+
readonly tags?: readonly {
|
|
1465
|
+
readonly name: string;
|
|
1466
|
+
readonly description?: string | undefined;
|
|
1467
|
+
}[] | undefined;
|
|
1456
1468
|
readonly security?: {
|
|
1457
1469
|
readonly schemes?: readonly ({
|
|
1458
1470
|
readonly name: string;
|
|
1459
|
-
readonly type: "http";
|
|
1460
1471
|
readonly description?: string | undefined;
|
|
1472
|
+
readonly type: "http";
|
|
1461
1473
|
readonly scheme: string;
|
|
1462
1474
|
readonly bearerFormat?: string | undefined;
|
|
1463
1475
|
} | {
|
|
1464
1476
|
readonly name: string;
|
|
1465
|
-
readonly type: "apiKey";
|
|
1466
1477
|
readonly description?: string | undefined;
|
|
1478
|
+
readonly type: "apiKey";
|
|
1467
1479
|
readonly in: "query" | "header" | "cookie";
|
|
1468
1480
|
readonly parameterName: string;
|
|
1469
1481
|
} | {
|
|
1470
1482
|
readonly name: string;
|
|
1471
|
-
readonly type: "oauth2";
|
|
1472
1483
|
readonly description?: string | undefined;
|
|
1484
|
+
readonly type: "oauth2";
|
|
1473
1485
|
readonly flows: {
|
|
1474
1486
|
readonly implicit?: {
|
|
1475
|
-
readonly scopes?: {
|
|
1476
|
-
readonly [x: string]: string;
|
|
1477
|
-
} | undefined;
|
|
1478
1487
|
readonly authorizationUrl?: string | undefined;
|
|
1479
1488
|
readonly tokenUrl?: string | undefined;
|
|
1480
1489
|
readonly refreshUrl?: string | undefined;
|
|
1481
|
-
} | undefined;
|
|
1482
|
-
readonly password?: {
|
|
1483
1490
|
readonly scopes?: {
|
|
1484
1491
|
readonly [x: string]: string;
|
|
1485
1492
|
} | undefined;
|
|
1493
|
+
} | undefined;
|
|
1494
|
+
readonly password?: {
|
|
1486
1495
|
readonly authorizationUrl?: string | undefined;
|
|
1487
1496
|
readonly tokenUrl?: string | undefined;
|
|
1488
1497
|
readonly refreshUrl?: string | undefined;
|
|
1489
|
-
} | undefined;
|
|
1490
|
-
readonly clientCredentials?: {
|
|
1491
1498
|
readonly scopes?: {
|
|
1492
1499
|
readonly [x: string]: string;
|
|
1493
1500
|
} | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
readonly clientCredentials?: {
|
|
1494
1503
|
readonly authorizationUrl?: string | undefined;
|
|
1495
1504
|
readonly tokenUrl?: string | undefined;
|
|
1496
1505
|
readonly refreshUrl?: string | undefined;
|
|
1497
|
-
} | undefined;
|
|
1498
|
-
readonly authorizationCode?: {
|
|
1499
1506
|
readonly scopes?: {
|
|
1500
1507
|
readonly [x: string]: string;
|
|
1501
1508
|
} | undefined;
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
readonly authorizationCode?: {
|
|
1502
1511
|
readonly authorizationUrl?: string | undefined;
|
|
1503
1512
|
readonly tokenUrl?: string | undefined;
|
|
1504
1513
|
readonly refreshUrl?: string | undefined;
|
|
1514
|
+
readonly scopes?: {
|
|
1515
|
+
readonly [x: string]: string;
|
|
1516
|
+
} | undefined;
|
|
1505
1517
|
} | undefined;
|
|
1506
1518
|
};
|
|
1507
1519
|
} | {
|
|
1508
1520
|
readonly name: string;
|
|
1509
|
-
readonly type: "openIdConnect";
|
|
1510
1521
|
readonly description?: string | undefined;
|
|
1522
|
+
readonly type: "openIdConnect";
|
|
1511
1523
|
readonly openIdConnectUrl: string;
|
|
1512
1524
|
})[] | undefined;
|
|
1513
1525
|
readonly global?: readonly {
|
|
1514
1526
|
readonly [x: string]: readonly string[];
|
|
1515
1527
|
}[] | undefined;
|
|
1516
1528
|
} | undefined;
|
|
1517
|
-
readonly tags?: readonly {
|
|
1518
|
-
readonly name: string;
|
|
1519
|
-
readonly description?: string | undefined;
|
|
1520
|
-
}[] | undefined;
|
|
1521
1529
|
readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
|
|
1530
|
+
};
|
|
1531
|
+
readonly extends?: string | undefined;
|
|
1532
|
+
readonly files?: {
|
|
1533
|
+
readonly tsconfig?: string | undefined;
|
|
1534
|
+
readonly entry?: string | readonly string[] | undefined;
|
|
1535
|
+
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1536
|
+
readonly include?: readonly string[] | undefined;
|
|
1537
|
+
readonly exclude?: readonly string[] | undefined;
|
|
1538
|
+
} | undefined;
|
|
1539
|
+
readonly output: string;
|
|
1540
|
+
readonly format?: "json" | "yaml" | undefined;
|
|
1541
|
+
readonly options?: {
|
|
1542
|
+
readonly query?: {
|
|
1543
|
+
readonly style?: "inline" | "ref" | undefined;
|
|
1544
|
+
} | undefined;
|
|
1545
|
+
readonly basePath?: string | undefined;
|
|
1546
|
+
readonly extractValidation?: boolean | undefined;
|
|
1547
|
+
readonly excludeDecorators?: readonly string[] | undefined;
|
|
1548
|
+
readonly schemas?: {
|
|
1549
|
+
readonly aliasRefs?: "collapse" | "preserve" | undefined;
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1552
|
+
} | undefined;
|
|
1553
|
+
}, ConfigError, never>;
|
|
1554
|
+
resolveConfig: (config: {
|
|
1555
|
+
readonly openapi: {
|
|
1522
1556
|
readonly info: {
|
|
1523
|
-
readonly description?: string | undefined;
|
|
1524
1557
|
readonly version: string;
|
|
1525
1558
|
readonly title: string;
|
|
1559
|
+
readonly description?: string | undefined;
|
|
1526
1560
|
readonly contact?: {
|
|
1527
1561
|
readonly name?: string | undefined;
|
|
1528
1562
|
readonly email?: string | undefined;
|
|
@@ -1537,117 +1571,83 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1537
1571
|
readonly description?: string | undefined;
|
|
1538
1572
|
readonly url: string;
|
|
1539
1573
|
}[] | undefined;
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
} | undefined;
|
|
1545
|
-
readonly basePath?: string | undefined;
|
|
1546
|
-
readonly extractValidation?: boolean | undefined;
|
|
1547
|
-
readonly excludeDecorators?: readonly string[] | undefined;
|
|
1548
|
-
readonly schemas?: {
|
|
1549
|
-
readonly aliasRefs?: "collapse" | "preserve" | undefined;
|
|
1550
|
-
} | undefined;
|
|
1551
|
-
readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
|
|
1552
|
-
} | undefined;
|
|
1553
|
-
}, ConfigError, never>;
|
|
1554
|
-
resolveConfig: (config: {
|
|
1555
|
-
readonly format?: "json" | "yaml" | undefined;
|
|
1556
|
-
readonly extends?: string | undefined;
|
|
1557
|
-
readonly files?: {
|
|
1558
|
-
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1559
|
-
readonly tsconfig?: string | undefined;
|
|
1560
|
-
readonly entry?: string | readonly string[] | undefined;
|
|
1561
|
-
readonly include?: readonly string[] | undefined;
|
|
1562
|
-
readonly exclude?: readonly string[] | undefined;
|
|
1563
|
-
} | undefined;
|
|
1564
|
-
readonly output: string;
|
|
1565
|
-
readonly openapi: {
|
|
1574
|
+
readonly tags?: readonly {
|
|
1575
|
+
readonly name: string;
|
|
1576
|
+
readonly description?: string | undefined;
|
|
1577
|
+
}[] | undefined;
|
|
1566
1578
|
readonly security?: {
|
|
1567
1579
|
readonly schemes?: readonly ({
|
|
1568
1580
|
readonly name: string;
|
|
1569
|
-
readonly type: "http";
|
|
1570
1581
|
readonly description?: string | undefined;
|
|
1582
|
+
readonly type: "http";
|
|
1571
1583
|
readonly scheme: string;
|
|
1572
1584
|
readonly bearerFormat?: string | undefined;
|
|
1573
1585
|
} | {
|
|
1574
1586
|
readonly name: string;
|
|
1575
|
-
readonly type: "apiKey";
|
|
1576
1587
|
readonly description?: string | undefined;
|
|
1588
|
+
readonly type: "apiKey";
|
|
1577
1589
|
readonly in: "query" | "header" | "cookie";
|
|
1578
1590
|
readonly parameterName: string;
|
|
1579
1591
|
} | {
|
|
1580
1592
|
readonly name: string;
|
|
1581
|
-
readonly type: "oauth2";
|
|
1582
1593
|
readonly description?: string | undefined;
|
|
1594
|
+
readonly type: "oauth2";
|
|
1583
1595
|
readonly flows: {
|
|
1584
1596
|
readonly implicit?: {
|
|
1585
|
-
readonly scopes?: {
|
|
1586
|
-
readonly [x: string]: string;
|
|
1587
|
-
} | undefined;
|
|
1588
1597
|
readonly authorizationUrl?: string | undefined;
|
|
1589
1598
|
readonly tokenUrl?: string | undefined;
|
|
1590
1599
|
readonly refreshUrl?: string | undefined;
|
|
1591
|
-
} | undefined;
|
|
1592
|
-
readonly password?: {
|
|
1593
1600
|
readonly scopes?: {
|
|
1594
1601
|
readonly [x: string]: string;
|
|
1595
1602
|
} | undefined;
|
|
1603
|
+
} | undefined;
|
|
1604
|
+
readonly password?: {
|
|
1596
1605
|
readonly authorizationUrl?: string | undefined;
|
|
1597
1606
|
readonly tokenUrl?: string | undefined;
|
|
1598
1607
|
readonly refreshUrl?: string | undefined;
|
|
1599
|
-
} | undefined;
|
|
1600
|
-
readonly clientCredentials?: {
|
|
1601
1608
|
readonly scopes?: {
|
|
1602
1609
|
readonly [x: string]: string;
|
|
1603
1610
|
} | undefined;
|
|
1611
|
+
} | undefined;
|
|
1612
|
+
readonly clientCredentials?: {
|
|
1604
1613
|
readonly authorizationUrl?: string | undefined;
|
|
1605
1614
|
readonly tokenUrl?: string | undefined;
|
|
1606
1615
|
readonly refreshUrl?: string | undefined;
|
|
1607
|
-
} | undefined;
|
|
1608
|
-
readonly authorizationCode?: {
|
|
1609
1616
|
readonly scopes?: {
|
|
1610
1617
|
readonly [x: string]: string;
|
|
1611
1618
|
} | undefined;
|
|
1619
|
+
} | undefined;
|
|
1620
|
+
readonly authorizationCode?: {
|
|
1612
1621
|
readonly authorizationUrl?: string | undefined;
|
|
1613
1622
|
readonly tokenUrl?: string | undefined;
|
|
1614
1623
|
readonly refreshUrl?: string | undefined;
|
|
1624
|
+
readonly scopes?: {
|
|
1625
|
+
readonly [x: string]: string;
|
|
1626
|
+
} | undefined;
|
|
1615
1627
|
} | undefined;
|
|
1616
1628
|
};
|
|
1617
1629
|
} | {
|
|
1618
1630
|
readonly name: string;
|
|
1619
|
-
readonly type: "openIdConnect";
|
|
1620
1631
|
readonly description?: string | undefined;
|
|
1632
|
+
readonly type: "openIdConnect";
|
|
1621
1633
|
readonly openIdConnectUrl: string;
|
|
1622
1634
|
})[] | undefined;
|
|
1623
1635
|
readonly global?: readonly {
|
|
1624
1636
|
readonly [x: string]: readonly string[];
|
|
1625
1637
|
}[] | undefined;
|
|
1626
1638
|
} | undefined;
|
|
1627
|
-
readonly tags?: readonly {
|
|
1628
|
-
readonly name: string;
|
|
1629
|
-
readonly description?: string | undefined;
|
|
1630
|
-
}[] | undefined;
|
|
1631
1639
|
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
1640
|
};
|
|
1641
|
+
readonly extends?: string | undefined;
|
|
1642
|
+
readonly files?: {
|
|
1643
|
+
readonly tsconfig?: string | undefined;
|
|
1644
|
+
readonly entry?: string | readonly string[] | undefined;
|
|
1645
|
+
readonly dtoGlob?: string | readonly string[] | undefined;
|
|
1646
|
+
readonly include?: readonly string[] | undefined;
|
|
1647
|
+
readonly exclude?: readonly string[] | undefined;
|
|
1648
|
+
} | undefined;
|
|
1649
|
+
readonly output: string;
|
|
1650
|
+
readonly format?: "json" | "yaml" | undefined;
|
|
1651
1651
|
readonly options?: {
|
|
1652
1652
|
readonly query?: {
|
|
1653
1653
|
readonly style?: "inline" | "ref" | undefined;
|
|
@@ -1661,22 +1661,10 @@ 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 format: "json" | "yaml";
|
|
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[];
|
|
1672
|
-
readonly include: readonly string[];
|
|
1673
|
-
readonly exclude: readonly string[];
|
|
1674
|
-
readonly output: string;
|
|
1675
|
-
readonly version?: string | undefined;
|
|
1676
1664
|
readonly info: {
|
|
1677
|
-
readonly description?: string | undefined;
|
|
1678
1665
|
readonly version: string;
|
|
1679
1666
|
readonly title: string;
|
|
1667
|
+
readonly description?: string | undefined;
|
|
1680
1668
|
readonly contact?: {
|
|
1681
1669
|
readonly name?: string | undefined;
|
|
1682
1670
|
readonly email?: string | undefined;
|
|
@@ -1691,6 +1679,18 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1691
1679
|
readonly description?: string | undefined;
|
|
1692
1680
|
readonly url: string;
|
|
1693
1681
|
}[];
|
|
1682
|
+
readonly tags: readonly {
|
|
1683
|
+
readonly name: string;
|
|
1684
|
+
readonly description?: string | undefined;
|
|
1685
|
+
}[];
|
|
1686
|
+
readonly tsconfig: string;
|
|
1687
|
+
readonly entry: readonly string[];
|
|
1688
|
+
readonly dtoGlob: readonly string[];
|
|
1689
|
+
readonly include: readonly string[];
|
|
1690
|
+
readonly exclude: readonly string[];
|
|
1691
|
+
readonly output: string;
|
|
1692
|
+
readonly format: "json" | "yaml";
|
|
1693
|
+
readonly version?: string | undefined;
|
|
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,22 +1757,10 @@ 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 format: "json" | "yaml";
|
|
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[];
|
|
1768
|
-
readonly include: readonly string[];
|
|
1769
|
-
readonly exclude: readonly string[];
|
|
1770
|
-
readonly output: string;
|
|
1771
|
-
readonly version?: string | undefined;
|
|
1772
1760
|
readonly info: {
|
|
1773
|
-
readonly description?: string | undefined;
|
|
1774
1761
|
readonly version: string;
|
|
1775
1762
|
readonly title: string;
|
|
1763
|
+
readonly description?: string | undefined;
|
|
1776
1764
|
readonly contact?: {
|
|
1777
1765
|
readonly name?: string | undefined;
|
|
1778
1766
|
readonly email?: string | undefined;
|
|
@@ -1787,6 +1775,18 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
|
|
|
1787
1775
|
readonly description?: string | undefined;
|
|
1788
1776
|
readonly url: string;
|
|
1789
1777
|
}[];
|
|
1778
|
+
readonly tags: readonly {
|
|
1779
|
+
readonly name: string;
|
|
1780
|
+
readonly description?: string | undefined;
|
|
1781
|
+
}[];
|
|
1782
|
+
readonly tsconfig: string;
|
|
1783
|
+
readonly entry: readonly string[];
|
|
1784
|
+
readonly dtoGlob: readonly string[];
|
|
1785
|
+
readonly include: readonly string[];
|
|
1786
|
+
readonly exclude: readonly string[];
|
|
1787
|
+
readonly output: string;
|
|
1788
|
+
readonly format: "json" | "yaml";
|
|
1789
|
+
readonly version?: string | undefined;
|
|
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 {
|
|
@@ -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, ModuleTraversalService as g, SchemaService as h, MethodExtractionService as i, OutputService 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 };
|