@alterset/alterspec-client 0.24.0 → 0.26.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.
@@ -1448,6 +1448,264 @@
1448
1448
  "changes"
1449
1449
  ],
1450
1450
  "additionalProperties": false
1451
+ },
1452
+ {
1453
+ "type": "object",
1454
+ "properties": {
1455
+ "format": {
1456
+ "type": "number",
1457
+ "const": 8
1458
+ },
1459
+ "alterspec": {
1460
+ "type": "string"
1461
+ },
1462
+ "exported": {
1463
+ "type": "string",
1464
+ "format": "date",
1465
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
1466
+ },
1467
+ "baseline": {
1468
+ "anyOf": [
1469
+ {
1470
+ "type": "object",
1471
+ "properties": {
1472
+ "date": {
1473
+ "type": "string",
1474
+ "format": "date",
1475
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
1476
+ },
1477
+ "built": {
1478
+ "type": "boolean"
1479
+ }
1480
+ },
1481
+ "required": [
1482
+ "date",
1483
+ "built"
1484
+ ],
1485
+ "additionalProperties": false
1486
+ },
1487
+ {
1488
+ "type": "null"
1489
+ }
1490
+ ]
1491
+ },
1492
+ "tracks": {
1493
+ "type": "array",
1494
+ "items": {
1495
+ "type": "object",
1496
+ "properties": {
1497
+ "code": {
1498
+ "type": "string",
1499
+ "pattern": "^[A-Z]{2,5}$"
1500
+ },
1501
+ "kind": {
1502
+ "type": "string",
1503
+ "enum": [
1504
+ "backend",
1505
+ "ui"
1506
+ ]
1507
+ },
1508
+ "channels": {
1509
+ "type": "array",
1510
+ "items": {
1511
+ "type": "string"
1512
+ }
1513
+ }
1514
+ },
1515
+ "required": [
1516
+ "code",
1517
+ "kind",
1518
+ "channels"
1519
+ ],
1520
+ "additionalProperties": false
1521
+ }
1522
+ },
1523
+ "changes": {
1524
+ "type": "array",
1525
+ "items": {
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "id": {
1529
+ "type": "string",
1530
+ "pattern": "^CHG-\\d{3,}$"
1531
+ },
1532
+ "title": {
1533
+ "type": "string"
1534
+ },
1535
+ "signed_off": {
1536
+ "type": "string",
1537
+ "format": "date",
1538
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
1539
+ },
1540
+ "delta": {
1541
+ "type": "string",
1542
+ "pattern": "^[0-9a-f]{16}$"
1543
+ },
1544
+ "depends_on": {
1545
+ "type": "array",
1546
+ "items": {
1547
+ "type": "string",
1548
+ "pattern": "^CHG-\\d{3,}$"
1549
+ }
1550
+ },
1551
+ "level": {
1552
+ "type": "integer",
1553
+ "minimum": 1,
1554
+ "maximum": 9007199254740991
1555
+ },
1556
+ "tasks": {
1557
+ "type": "array",
1558
+ "items": {
1559
+ "type": "object",
1560
+ "properties": {
1561
+ "track": {
1562
+ "type": "string",
1563
+ "pattern": "^[A-Z]{2,5}$"
1564
+ },
1565
+ "objects": {
1566
+ "type": "array",
1567
+ "items": {
1568
+ "type": "string"
1569
+ }
1570
+ },
1571
+ "items": {
1572
+ "minItems": 1,
1573
+ "type": "array",
1574
+ "items": {
1575
+ "type": "string",
1576
+ "minLength": 1
1577
+ }
1578
+ },
1579
+ "after": {
1580
+ "type": "array",
1581
+ "items": {
1582
+ "type": "object",
1583
+ "properties": {
1584
+ "change": {
1585
+ "type": "string",
1586
+ "pattern": "^CHG-\\d{3,}$"
1587
+ },
1588
+ "track": {
1589
+ "type": "string",
1590
+ "pattern": "^[A-Z]{2,5}$"
1591
+ }
1592
+ },
1593
+ "required": [
1594
+ "change",
1595
+ "track"
1596
+ ],
1597
+ "additionalProperties": false
1598
+ }
1599
+ },
1600
+ "weights": {
1601
+ "type": "object",
1602
+ "propertyNames": {
1603
+ "type": "string",
1604
+ "minLength": 1
1605
+ },
1606
+ "additionalProperties": {
1607
+ "type": "integer",
1608
+ "minimum": 0,
1609
+ "maximum": 100
1610
+ }
1611
+ },
1612
+ "weight": {
1613
+ "type": "integer",
1614
+ "minimum": 1,
1615
+ "maximum": 100
1616
+ },
1617
+ "title": {
1618
+ "type": "string",
1619
+ "maxLength": 100,
1620
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1621
+ },
1622
+ "summary": {
1623
+ "type": "string",
1624
+ "maxLength": 400,
1625
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1626
+ },
1627
+ "labels": {
1628
+ "type": "object",
1629
+ "propertyNames": {
1630
+ "type": "string",
1631
+ "minLength": 1
1632
+ },
1633
+ "additionalProperties": {
1634
+ "type": "string",
1635
+ "maxLength": 100,
1636
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1637
+ }
1638
+ }
1639
+ },
1640
+ "required": [
1641
+ "track",
1642
+ "objects",
1643
+ "items",
1644
+ "after"
1645
+ ],
1646
+ "additionalProperties": false
1647
+ }
1648
+ },
1649
+ "initiative": {
1650
+ "type": "string",
1651
+ "pattern": "^INI-[A-Z0-9]+(?:-[A-Z0-9]+)*$"
1652
+ }
1653
+ },
1654
+ "required": [
1655
+ "id",
1656
+ "title",
1657
+ "signed_off",
1658
+ "delta",
1659
+ "depends_on",
1660
+ "level",
1661
+ "tasks"
1662
+ ],
1663
+ "additionalProperties": false
1664
+ }
1665
+ },
1666
+ "names": {
1667
+ "type": "object",
1668
+ "propertyNames": {
1669
+ "type": "string",
1670
+ "minLength": 1
1671
+ },
1672
+ "additionalProperties": {
1673
+ "type": "string",
1674
+ "maxLength": 100,
1675
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1676
+ }
1677
+ },
1678
+ "initiatives": {
1679
+ "type": "array",
1680
+ "items": {
1681
+ "type": "object",
1682
+ "properties": {
1683
+ "id": {
1684
+ "type": "string",
1685
+ "pattern": "^INI-[A-Z0-9]+(?:-[A-Z0-9]+)*$"
1686
+ },
1687
+ "title": {
1688
+ "type": "string",
1689
+ "minLength": 1
1690
+ }
1691
+ },
1692
+ "required": [
1693
+ "id",
1694
+ "title"
1695
+ ],
1696
+ "additionalProperties": false
1697
+ }
1698
+ }
1699
+ },
1700
+ "required": [
1701
+ "format",
1702
+ "alterspec",
1703
+ "exported",
1704
+ "baseline",
1705
+ "tracks",
1706
+ "changes"
1707
+ ],
1708
+ "additionalProperties": false
1451
1709
  }
1452
1710
  ]
1453
1711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alterset/alterspec-client",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "The alterspec client: takes tasks of an alterspec export from the dispatcher into a developer's repository.",
5
5
  "license": "MIT",
6
6
  "author": "Alterset d.o.o.",