|
1 | 1 | { |
2 | 2 | "metadata": { |
3 | 3 | "toolPackage": "@microsoft/api-extractor", |
4 | | - "toolVersion": "7.38.5", |
| 4 | + "toolVersion": "7.40.1", |
5 | 5 | "schemaVersion": 1011, |
6 | 6 | "oldestForwardsCompatibleVersion": 1001, |
7 | 7 | "tsdocConfig": { |
|
1339 | 1339 | "name": "createCLIProgram" |
1340 | 1340 | }, |
1341 | 1341 | { |
1342 | | - "kind": "Variable", |
1343 | | - "canonicalReference": "@storm-stack/cli!execute:var", |
| 1342 | + "kind": "Function", |
| 1343 | + "canonicalReference": "@storm-stack/cli!execute:function(1)", |
1344 | 1344 | "docComment": "/**\n * Execute a command.\n *\n * @param command - The command to execute\n *\n * @param options - The options to use when executing the command\n *\n * @param env - The environment variables to use when executing the command\n *\n * @param stdio - The stdio options to use when executing the command\n *\n * @returns The result of the command\n */\n", |
1345 | 1345 | "excerptTokens": [ |
1346 | 1346 | { |
1347 | 1347 | "kind": "Content", |
1348 | | - "text": "execute: " |
| 1348 | + "text": "execute: (command: " |
1349 | 1349 | }, |
1350 | 1350 | { |
1351 | 1351 | "kind": "Content", |
1352 | | - "text": "(command: string, options?: " |
| 1352 | + "text": "string" |
| 1353 | + }, |
| 1354 | + { |
| 1355 | + "kind": "Content", |
| 1356 | + "text": ", options?: " |
1353 | 1357 | }, |
1354 | 1358 | { |
1355 | 1359 | "kind": "Reference", |
|
1367 | 1371 | }, |
1368 | 1372 | { |
1369 | 1373 | "kind": "Content", |
1370 | | - "text": "<string, string>, stdio?: " |
| 1374 | + "text": "<string, string>" |
| 1375 | + }, |
| 1376 | + { |
| 1377 | + "kind": "Content", |
| 1378 | + "text": ", stdio?: " |
1371 | 1379 | }, |
1372 | 1380 | { |
1373 | 1381 | "kind": "Reference", |
|
1376 | 1384 | }, |
1377 | 1385 | { |
1378 | 1386 | "kind": "Content", |
1379 | | - "text": ") => string | " |
| 1387 | + "text": ") => " |
| 1388 | + }, |
| 1389 | + { |
| 1390 | + "kind": "Content", |
| 1391 | + "text": "string | " |
1380 | 1392 | }, |
1381 | 1393 | { |
1382 | 1394 | "kind": "Reference", |
|
1398 | 1410 | } |
1399 | 1411 | ], |
1400 | 1412 | "fileUrlPath": "tmp/.tsup/declaration/packages/cli/src/utilities/execute.d.ts", |
1401 | | - "isReadonly": true, |
| 1413 | + "returnTypeTokenRange": { |
| 1414 | + "startIndex": 10, |
| 1415 | + "endIndex": 15 |
| 1416 | + }, |
1402 | 1417 | "releaseTag": "Public", |
1403 | | - "name": "execute", |
1404 | | - "variableTypeTokenRange": { |
1405 | | - "startIndex": 1, |
1406 | | - "endIndex": 12 |
1407 | | - } |
| 1418 | + "overloadIndex": 1, |
| 1419 | + "parameters": [ |
| 1420 | + { |
| 1421 | + "parameterName": "command", |
| 1422 | + "parameterTypeTokenRange": { |
| 1423 | + "startIndex": 1, |
| 1424 | + "endIndex": 2 |
| 1425 | + }, |
| 1426 | + "isOptional": false |
| 1427 | + }, |
| 1428 | + { |
| 1429 | + "parameterName": "options", |
| 1430 | + "parameterTypeTokenRange": { |
| 1431 | + "startIndex": 3, |
| 1432 | + "endIndex": 4 |
| 1433 | + }, |
| 1434 | + "isOptional": true |
| 1435 | + }, |
| 1436 | + { |
| 1437 | + "parameterName": "env", |
| 1438 | + "parameterTypeTokenRange": { |
| 1439 | + "startIndex": 5, |
| 1440 | + "endIndex": 7 |
| 1441 | + }, |
| 1442 | + "isOptional": true |
| 1443 | + }, |
| 1444 | + { |
| 1445 | + "parameterName": "stdio", |
| 1446 | + "parameterTypeTokenRange": { |
| 1447 | + "startIndex": 8, |
| 1448 | + "endIndex": 9 |
| 1449 | + }, |
| 1450 | + "isOptional": true |
| 1451 | + } |
| 1452 | + ], |
| 1453 | + "name": "execute" |
1408 | 1454 | }, |
1409 | 1455 | { |
1410 | | - "kind": "Variable", |
1411 | | - "canonicalReference": "@storm-stack/cli!executeAsync:var", |
| 1456 | + "kind": "Function", |
| 1457 | + "canonicalReference": "@storm-stack/cli!executeAsync:function(1)", |
1412 | 1458 | "docComment": "/**\n * Execute a command asynchronously.\n *\n * @param command - The command to execute\n *\n * @param options - The options to use when executing the command\n *\n * @param env - The environment variables to use when executing the command\n *\n * @param stdio - The stdio options to use when executing the command\n *\n * @returns The result of the command\n */\n", |
1413 | 1459 | "excerptTokens": [ |
1414 | 1460 | { |
1415 | 1461 | "kind": "Content", |
1416 | | - "text": "executeAsync: " |
| 1462 | + "text": "executeAsync: (command: " |
1417 | 1463 | }, |
1418 | 1464 | { |
1419 | 1465 | "kind": "Content", |
1420 | | - "text": "(command: string, options?: " |
| 1466 | + "text": "string" |
| 1467 | + }, |
| 1468 | + { |
| 1469 | + "kind": "Content", |
| 1470 | + "text": ", options?: " |
1421 | 1471 | }, |
1422 | 1472 | { |
1423 | 1473 | "kind": "Reference", |
|
1435 | 1485 | }, |
1436 | 1486 | { |
1437 | 1487 | "kind": "Content", |
1438 | | - "text": "<string, string>, stdio?: " |
| 1488 | + "text": "<string, string>" |
| 1489 | + }, |
| 1490 | + { |
| 1491 | + "kind": "Content", |
| 1492 | + "text": ", stdio?: " |
1439 | 1493 | }, |
1440 | 1494 | { |
1441 | 1495 | "kind": "Reference", |
|
1466 | 1520 | } |
1467 | 1521 | ], |
1468 | 1522 | "fileUrlPath": "tmp/.tsup/declaration/packages/cli/src/utilities/execute.d.ts", |
1469 | | - "isReadonly": true, |
| 1523 | + "returnTypeTokenRange": { |
| 1524 | + "startIndex": 10, |
| 1525 | + "endIndex": 14 |
| 1526 | + }, |
1470 | 1527 | "releaseTag": "Public", |
1471 | | - "name": "executeAsync", |
1472 | | - "variableTypeTokenRange": { |
1473 | | - "startIndex": 1, |
1474 | | - "endIndex": 12 |
1475 | | - } |
| 1528 | + "overloadIndex": 1, |
| 1529 | + "parameters": [ |
| 1530 | + { |
| 1531 | + "parameterName": "command", |
| 1532 | + "parameterTypeTokenRange": { |
| 1533 | + "startIndex": 1, |
| 1534 | + "endIndex": 2 |
| 1535 | + }, |
| 1536 | + "isOptional": false |
| 1537 | + }, |
| 1538 | + { |
| 1539 | + "parameterName": "options", |
| 1540 | + "parameterTypeTokenRange": { |
| 1541 | + "startIndex": 3, |
| 1542 | + "endIndex": 4 |
| 1543 | + }, |
| 1544 | + "isOptional": true |
| 1545 | + }, |
| 1546 | + { |
| 1547 | + "parameterName": "env", |
| 1548 | + "parameterTypeTokenRange": { |
| 1549 | + "startIndex": 5, |
| 1550 | + "endIndex": 7 |
| 1551 | + }, |
| 1552 | + "isOptional": true |
| 1553 | + }, |
| 1554 | + { |
| 1555 | + "parameterName": "stdio", |
| 1556 | + "parameterTypeTokenRange": { |
| 1557 | + "startIndex": 8, |
| 1558 | + "endIndex": 9 |
| 1559 | + }, |
| 1560 | + "isOptional": true |
| 1561 | + } |
| 1562 | + ], |
| 1563 | + "name": "executeAsync" |
1476 | 1564 | }, |
1477 | 1565 | { |
1478 | | - "kind": "Variable", |
1479 | | - "canonicalReference": "@storm-stack/cli!isCI:var", |
| 1566 | + "kind": "Function", |
| 1567 | + "canonicalReference": "@storm-stack/cli!isCI:function(1)", |
1480 | 1568 | "docComment": "/**\n * Returns true if the current environment is a CI environment.\n *\n * @returns True if the current environment is a CI environment.\n */\n", |
1481 | 1569 | "excerptTokens": [ |
1482 | 1570 | { |
1483 | 1571 | "kind": "Content", |
1484 | | - "text": "isCI: " |
| 1572 | + "text": "isCI: () => " |
1485 | 1573 | }, |
1486 | 1574 | { |
1487 | 1575 | "kind": "Content", |
1488 | | - "text": "() => boolean" |
| 1576 | + "text": "boolean" |
1489 | 1577 | } |
1490 | 1578 | ], |
1491 | 1579 | "fileUrlPath": "tmp/.tsup/declaration/packages/cli/src/utilities/is-ci.d.ts", |
1492 | | - "isReadonly": true, |
1493 | | - "releaseTag": "Public", |
1494 | | - "name": "isCI", |
1495 | | - "variableTypeTokenRange": { |
| 1580 | + "returnTypeTokenRange": { |
1496 | 1581 | "startIndex": 1, |
1497 | 1582 | "endIndex": 2 |
1498 | | - } |
| 1583 | + }, |
| 1584 | + "releaseTag": "Public", |
| 1585 | + "overloadIndex": 1, |
| 1586 | + "parameters": [], |
| 1587 | + "name": "isCI" |
1499 | 1588 | }, |
1500 | 1589 | { |
1501 | | - "kind": "Variable", |
1502 | | - "canonicalReference": "@storm-stack/cli!isInteractive:var", |
| 1590 | + "kind": "Function", |
| 1591 | + "canonicalReference": "@storm-stack/cli!isInteractive:function(1)", |
1503 | 1592 | "docComment": "/**\n * Check if the current process is interactive\n *\n * @param stream - The stream to check\n *\n * @returns True if the current process is interactive\n */\n", |
1504 | 1593 | "excerptTokens": [ |
1505 | 1594 | { |
1506 | 1595 | "kind": "Content", |
1507 | | - "text": "isInteractive: " |
1508 | | - }, |
1509 | | - { |
1510 | | - "kind": "Content", |
1511 | | - "text": "(stream?: " |
| 1596 | + "text": "isInteractive: (stream?: " |
1512 | 1597 | }, |
1513 | 1598 | { |
1514 | 1599 | "kind": "Reference", |
|
1517 | 1602 | }, |
1518 | 1603 | { |
1519 | 1604 | "kind": "Content", |
1520 | | - "text": " & {\n fd: 0;\n}) => boolean" |
| 1605 | + "text": " & {\n fd: 0;\n}" |
| 1606 | + }, |
| 1607 | + { |
| 1608 | + "kind": "Content", |
| 1609 | + "text": ") => " |
| 1610 | + }, |
| 1611 | + { |
| 1612 | + "kind": "Content", |
| 1613 | + "text": "boolean" |
1521 | 1614 | } |
1522 | 1615 | ], |
1523 | 1616 | "fileUrlPath": "tmp/.tsup/declaration/packages/cli/src/utilities/is-interactive.d.ts", |
1524 | | - "isReadonly": true, |
| 1617 | + "returnTypeTokenRange": { |
| 1618 | + "startIndex": 4, |
| 1619 | + "endIndex": 5 |
| 1620 | + }, |
1525 | 1621 | "releaseTag": "Public", |
1526 | | - "name": "isInteractive", |
1527 | | - "variableTypeTokenRange": { |
1528 | | - "startIndex": 1, |
1529 | | - "endIndex": 4 |
1530 | | - } |
| 1622 | + "overloadIndex": 1, |
| 1623 | + "parameters": [ |
| 1624 | + { |
| 1625 | + "parameterName": "stream", |
| 1626 | + "parameterTypeTokenRange": { |
| 1627 | + "startIndex": 1, |
| 1628 | + "endIndex": 3 |
| 1629 | + }, |
| 1630 | + "isOptional": true |
| 1631 | + } |
| 1632 | + ], |
| 1633 | + "name": "isInteractive" |
1531 | 1634 | }, |
1532 | 1635 | { |
1533 | 1636 | "kind": "Function", |
|
0 commit comments