@alterset/alterspec-client 0.19.1 → 0.23.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.
@@ -749,6 +749,472 @@
749
749
  "changes"
750
750
  ],
751
751
  "additionalProperties": false
752
+ },
753
+ {
754
+ "type": "object",
755
+ "properties": {
756
+ "format": {
757
+ "type": "number",
758
+ "const": 5
759
+ },
760
+ "alterspec": {
761
+ "type": "string"
762
+ },
763
+ "exported": {
764
+ "type": "string",
765
+ "format": "date",
766
+ "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])))$"
767
+ },
768
+ "baseline": {
769
+ "anyOf": [
770
+ {
771
+ "type": "object",
772
+ "properties": {
773
+ "date": {
774
+ "type": "string",
775
+ "format": "date",
776
+ "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])))$"
777
+ },
778
+ "built": {
779
+ "type": "boolean"
780
+ }
781
+ },
782
+ "required": [
783
+ "date",
784
+ "built"
785
+ ],
786
+ "additionalProperties": false
787
+ },
788
+ {
789
+ "type": "null"
790
+ }
791
+ ]
792
+ },
793
+ "tracks": {
794
+ "type": "array",
795
+ "items": {
796
+ "type": "object",
797
+ "properties": {
798
+ "code": {
799
+ "type": "string",
800
+ "pattern": "^[A-Z]{2,5}$"
801
+ },
802
+ "kind": {
803
+ "type": "string",
804
+ "enum": [
805
+ "backend",
806
+ "ui"
807
+ ]
808
+ },
809
+ "channels": {
810
+ "type": "array",
811
+ "items": {
812
+ "type": "string"
813
+ }
814
+ }
815
+ },
816
+ "required": [
817
+ "code",
818
+ "kind",
819
+ "channels"
820
+ ],
821
+ "additionalProperties": false
822
+ }
823
+ },
824
+ "changes": {
825
+ "type": "array",
826
+ "items": {
827
+ "type": "object",
828
+ "properties": {
829
+ "id": {
830
+ "type": "string",
831
+ "pattern": "^CHG-\\d{3,}$"
832
+ },
833
+ "title": {
834
+ "type": "string"
835
+ },
836
+ "signed_off": {
837
+ "type": "string",
838
+ "format": "date",
839
+ "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])))$"
840
+ },
841
+ "delta": {
842
+ "type": "string",
843
+ "pattern": "^[0-9a-f]{16}$"
844
+ },
845
+ "depends_on": {
846
+ "type": "array",
847
+ "items": {
848
+ "type": "string",
849
+ "pattern": "^CHG-\\d{3,}$"
850
+ }
851
+ },
852
+ "level": {
853
+ "type": "integer",
854
+ "minimum": 1,
855
+ "maximum": 9007199254740991
856
+ },
857
+ "tasks": {
858
+ "type": "array",
859
+ "items": {
860
+ "type": "object",
861
+ "properties": {
862
+ "track": {
863
+ "type": "string",
864
+ "pattern": "^[A-Z]{2,5}$"
865
+ },
866
+ "objects": {
867
+ "type": "array",
868
+ "items": {
869
+ "type": "string"
870
+ }
871
+ },
872
+ "items": {
873
+ "minItems": 1,
874
+ "type": "array",
875
+ "items": {
876
+ "type": "string",
877
+ "minLength": 1
878
+ }
879
+ },
880
+ "after": {
881
+ "type": "array",
882
+ "items": {
883
+ "type": "object",
884
+ "properties": {
885
+ "change": {
886
+ "type": "string",
887
+ "pattern": "^CHG-\\d{3,}$"
888
+ },
889
+ "track": {
890
+ "type": "string",
891
+ "pattern": "^[A-Z]{2,5}$"
892
+ }
893
+ },
894
+ "required": [
895
+ "change",
896
+ "track"
897
+ ],
898
+ "additionalProperties": false
899
+ }
900
+ },
901
+ "weights": {
902
+ "type": "object",
903
+ "propertyNames": {
904
+ "type": "string",
905
+ "minLength": 1
906
+ },
907
+ "additionalProperties": {
908
+ "type": "integer",
909
+ "minimum": 1,
910
+ "maximum": 100
911
+ }
912
+ },
913
+ "title": {
914
+ "type": "string",
915
+ "maxLength": 100,
916
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
917
+ },
918
+ "summary": {
919
+ "type": "string",
920
+ "maxLength": 400,
921
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
922
+ },
923
+ "labels": {
924
+ "type": "object",
925
+ "propertyNames": {
926
+ "type": "string",
927
+ "minLength": 1
928
+ },
929
+ "additionalProperties": {
930
+ "type": "string",
931
+ "maxLength": 100,
932
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
933
+ }
934
+ }
935
+ },
936
+ "required": [
937
+ "track",
938
+ "objects",
939
+ "items",
940
+ "after"
941
+ ],
942
+ "additionalProperties": false
943
+ }
944
+ },
945
+ "weight": {
946
+ "type": "integer",
947
+ "minimum": 1,
948
+ "maximum": 100
949
+ }
950
+ },
951
+ "required": [
952
+ "id",
953
+ "title",
954
+ "signed_off",
955
+ "delta",
956
+ "depends_on",
957
+ "level",
958
+ "tasks"
959
+ ],
960
+ "additionalProperties": false
961
+ }
962
+ },
963
+ "names": {
964
+ "type": "object",
965
+ "propertyNames": {
966
+ "type": "string",
967
+ "minLength": 1
968
+ },
969
+ "additionalProperties": {
970
+ "type": "string",
971
+ "maxLength": 100,
972
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
973
+ }
974
+ }
975
+ },
976
+ "required": [
977
+ "format",
978
+ "alterspec",
979
+ "exported",
980
+ "baseline",
981
+ "tracks",
982
+ "changes"
983
+ ],
984
+ "additionalProperties": false
985
+ },
986
+ {
987
+ "type": "object",
988
+ "properties": {
989
+ "format": {
990
+ "type": "number",
991
+ "const": 6
992
+ },
993
+ "alterspec": {
994
+ "type": "string"
995
+ },
996
+ "exported": {
997
+ "type": "string",
998
+ "format": "date",
999
+ "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])))$"
1000
+ },
1001
+ "baseline": {
1002
+ "anyOf": [
1003
+ {
1004
+ "type": "object",
1005
+ "properties": {
1006
+ "date": {
1007
+ "type": "string",
1008
+ "format": "date",
1009
+ "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])))$"
1010
+ },
1011
+ "built": {
1012
+ "type": "boolean"
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "date",
1017
+ "built"
1018
+ ],
1019
+ "additionalProperties": false
1020
+ },
1021
+ {
1022
+ "type": "null"
1023
+ }
1024
+ ]
1025
+ },
1026
+ "tracks": {
1027
+ "type": "array",
1028
+ "items": {
1029
+ "type": "object",
1030
+ "properties": {
1031
+ "code": {
1032
+ "type": "string",
1033
+ "pattern": "^[A-Z]{2,5}$"
1034
+ },
1035
+ "kind": {
1036
+ "type": "string",
1037
+ "enum": [
1038
+ "backend",
1039
+ "ui"
1040
+ ]
1041
+ },
1042
+ "channels": {
1043
+ "type": "array",
1044
+ "items": {
1045
+ "type": "string"
1046
+ }
1047
+ }
1048
+ },
1049
+ "required": [
1050
+ "code",
1051
+ "kind",
1052
+ "channels"
1053
+ ],
1054
+ "additionalProperties": false
1055
+ }
1056
+ },
1057
+ "changes": {
1058
+ "type": "array",
1059
+ "items": {
1060
+ "type": "object",
1061
+ "properties": {
1062
+ "id": {
1063
+ "type": "string",
1064
+ "pattern": "^CHG-\\d{3,}$"
1065
+ },
1066
+ "title": {
1067
+ "type": "string"
1068
+ },
1069
+ "signed_off": {
1070
+ "type": "string",
1071
+ "format": "date",
1072
+ "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])))$"
1073
+ },
1074
+ "delta": {
1075
+ "type": "string",
1076
+ "pattern": "^[0-9a-f]{16}$"
1077
+ },
1078
+ "depends_on": {
1079
+ "type": "array",
1080
+ "items": {
1081
+ "type": "string",
1082
+ "pattern": "^CHG-\\d{3,}$"
1083
+ }
1084
+ },
1085
+ "level": {
1086
+ "type": "integer",
1087
+ "minimum": 1,
1088
+ "maximum": 9007199254740991
1089
+ },
1090
+ "tasks": {
1091
+ "type": "array",
1092
+ "items": {
1093
+ "type": "object",
1094
+ "properties": {
1095
+ "track": {
1096
+ "type": "string",
1097
+ "pattern": "^[A-Z]{2,5}$"
1098
+ },
1099
+ "objects": {
1100
+ "type": "array",
1101
+ "items": {
1102
+ "type": "string"
1103
+ }
1104
+ },
1105
+ "items": {
1106
+ "minItems": 1,
1107
+ "type": "array",
1108
+ "items": {
1109
+ "type": "string",
1110
+ "minLength": 1
1111
+ }
1112
+ },
1113
+ "after": {
1114
+ "type": "array",
1115
+ "items": {
1116
+ "type": "object",
1117
+ "properties": {
1118
+ "change": {
1119
+ "type": "string",
1120
+ "pattern": "^CHG-\\d{3,}$"
1121
+ },
1122
+ "track": {
1123
+ "type": "string",
1124
+ "pattern": "^[A-Z]{2,5}$"
1125
+ }
1126
+ },
1127
+ "required": [
1128
+ "change",
1129
+ "track"
1130
+ ],
1131
+ "additionalProperties": false
1132
+ }
1133
+ },
1134
+ "weights": {
1135
+ "type": "object",
1136
+ "propertyNames": {
1137
+ "type": "string",
1138
+ "minLength": 1
1139
+ },
1140
+ "additionalProperties": {
1141
+ "type": "integer",
1142
+ "minimum": 0,
1143
+ "maximum": 100
1144
+ }
1145
+ },
1146
+ "title": {
1147
+ "type": "string",
1148
+ "maxLength": 100,
1149
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1150
+ },
1151
+ "summary": {
1152
+ "type": "string",
1153
+ "maxLength": 400,
1154
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1155
+ },
1156
+ "labels": {
1157
+ "type": "object",
1158
+ "propertyNames": {
1159
+ "type": "string",
1160
+ "minLength": 1
1161
+ },
1162
+ "additionalProperties": {
1163
+ "type": "string",
1164
+ "maxLength": 100,
1165
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1166
+ }
1167
+ }
1168
+ },
1169
+ "required": [
1170
+ "track",
1171
+ "objects",
1172
+ "items",
1173
+ "after"
1174
+ ],
1175
+ "additionalProperties": false
1176
+ }
1177
+ },
1178
+ "weight": {
1179
+ "type": "integer",
1180
+ "minimum": 1,
1181
+ "maximum": 100
1182
+ }
1183
+ },
1184
+ "required": [
1185
+ "id",
1186
+ "title",
1187
+ "signed_off",
1188
+ "delta",
1189
+ "depends_on",
1190
+ "level",
1191
+ "tasks"
1192
+ ],
1193
+ "additionalProperties": false
1194
+ }
1195
+ },
1196
+ "names": {
1197
+ "type": "object",
1198
+ "propertyNames": {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ },
1202
+ "additionalProperties": {
1203
+ "type": "string",
1204
+ "maxLength": 100,
1205
+ "pattern": "^\\S(?:[^\\n\\r]*\\S)?$"
1206
+ }
1207
+ }
1208
+ },
1209
+ "required": [
1210
+ "format",
1211
+ "alterspec",
1212
+ "exported",
1213
+ "baseline",
1214
+ "tracks",
1215
+ "changes"
1216
+ ],
1217
+ "additionalProperties": false
752
1218
  }
753
1219
  ]
754
1220
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alterset/alterspec-client",
3
- "version": "0.19.1",
3
+ "version": "0.23.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.",