@alterset/alterspec-client 0.19.1 → 0.22.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,239 @@
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
752
985
  }
753
986
  ]
754
987
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alterset/alterspec-client",
3
- "version": "0.19.1",
3
+ "version": "0.22.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.",