@eudiplo/cli 9.1.0-main.ea0dcd8 → 9.1.0-main.f14d62f
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/commands/config/portability/migrations.spec.js +2 -1
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +2 -7
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +2 -1
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/validate/registry.json +11 -0
- package/dist/index.js +19117 -9580
- package/package.json +4 -4
- package/templates/demo-config/key-chains/status-list.json +3 -3
- package/templates/docker-compose.yml +2 -2
- package/templates/schemas/CreateTenantDto.schema.json +2 -2
- package/templates/schemas/CredentialConfigCreate.schema.json +236 -6
- package/templates/schemas/CredentialConfigFile.schema.json +797 -1
- package/templates/schemas/IssuanceConfig.schema.json +3 -8
- package/templates/schemas/IssuanceConfigFile.schema.json +814 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +371 -1
- package/templates/schemas/KeyChainCreateDto.schema.json +1 -0
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +123 -0
- package/templates/schemas/KeyChainImportDto.schema.json +1 -0
- package/templates/schemas/TenantConfigFile.schema.json +395 -0
- package/templates/schemas.manifest.json +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eudiplo/cli",
|
|
3
|
-
"version": "9.1.0-main.
|
|
3
|
+
"version": "9.1.0-main.f14d62f",
|
|
4
4
|
"description": "Deployment-aware command line tools for EUDIPLO",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"jsonc-parser": "^3.3.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@biomejs/biome": "2.
|
|
64
|
-
"@types/node": "^26.6.
|
|
63
|
+
"@biomejs/biome": "2.6.3",
|
|
64
|
+
"@types/node": "^26.6.5",
|
|
65
65
|
"esbuild": "^0.28.2",
|
|
66
66
|
"tsx": "^4.23.15",
|
|
67
67
|
"typescript": "^7.0.2",
|
|
68
|
-
"vitest": "5.0.
|
|
68
|
+
"vitest": "5.0.5"
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"type": "private-jwk",
|
|
12
12
|
"jwk": {
|
|
13
13
|
"crv": "P-256",
|
|
14
|
-
"d": "
|
|
14
|
+
"d": "iAUEObUwUI-QDXsFYH9SLm7D-yuEUsOD73YG_jBgLGk",
|
|
15
15
|
"kty": "EC",
|
|
16
|
-
"x": "
|
|
17
|
-
"y": "
|
|
16
|
+
"x": "sSdNHYiCOK0E8lNE9rUQLUN3MbVeDnxjRwVwRiI9BqY",
|
|
17
|
+
"y": "xRP83r38x_MYGsteGhUW25Q0XVXA-ZRXlP38a8URPDg",
|
|
18
18
|
"alg": "ES256"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
@@ -89,7 +89,7 @@ services:
|
|
|
89
89
|
- eudiplo-network
|
|
90
90
|
|
|
91
91
|
rustfs:
|
|
92
|
-
image: rustfs/rustfs:1.0.
|
|
92
|
+
image: rustfs/rustfs:1.0.3
|
|
93
93
|
restart: always
|
|
94
94
|
profiles: ['s3', 'standard', 'full']
|
|
95
95
|
ports:
|
|
@@ -114,7 +114,7 @@ services:
|
|
|
114
114
|
|
|
115
115
|
# S3 bucket initialization using the AWS CLI
|
|
116
116
|
rustfs-init:
|
|
117
|
-
image: amazon/aws-cli:2.
|
|
117
|
+
image: amazon/aws-cli:2.38.5
|
|
118
118
|
profiles: ['s3', 'standard', 'full']
|
|
119
119
|
depends_on:
|
|
120
120
|
rustfs:
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"properties": {
|
|
5
5
|
"id": {
|
|
6
6
|
"type": "string",
|
|
7
|
-
"
|
|
8
|
-
"description": "Unique tenant identifier."
|
|
7
|
+
"pattern": "^[a-z0-9][a-z0-9_-]{0,62}$",
|
|
8
|
+
"description": "Unique tenant identifier: lowercase letters, digits, `-` and `_`, starting with a letter or digit, at most 63 characters. It is also the name of the tenant's configuration folder."
|
|
9
9
|
},
|
|
10
10
|
"name": {
|
|
11
11
|
"default": "EUDIPLO",
|
|
@@ -714,12 +714,8 @@
|
|
|
714
714
|
}
|
|
715
715
|
},
|
|
716
716
|
"constraints": {
|
|
717
|
-
"description": "Optional validation
|
|
718
|
-
"
|
|
719
|
-
"propertyNames": {
|
|
720
|
-
"type": "string"
|
|
721
|
-
},
|
|
722
|
-
"additionalProperties": {}
|
|
717
|
+
"description": "Optional JSON Schema 2020-12 validation keywords for the claim value. Only the JSON Schema keywords listed under Constraints in the claims documentation are accepted (validation keywords such as pattern, minLength or enum, subschemas such as items or properties, and annotations); other keys, such as format or $ref, are refused.",
|
|
718
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
723
719
|
},
|
|
724
720
|
"children": {
|
|
725
721
|
"description": "Nested child claim definitions for object or array fields.",
|
|
@@ -734,6 +730,240 @@
|
|
|
734
730
|
"type"
|
|
735
731
|
],
|
|
736
732
|
"additionalProperties": false
|
|
733
|
+
},
|
|
734
|
+
"ClaimConstraints": {
|
|
735
|
+
"type": "object",
|
|
736
|
+
"properties": {
|
|
737
|
+
"type": {},
|
|
738
|
+
"enum": {},
|
|
739
|
+
"const": {},
|
|
740
|
+
"multipleOf": {},
|
|
741
|
+
"maximum": {},
|
|
742
|
+
"exclusiveMaximum": {},
|
|
743
|
+
"minimum": {},
|
|
744
|
+
"exclusiveMinimum": {},
|
|
745
|
+
"maxLength": {},
|
|
746
|
+
"minLength": {},
|
|
747
|
+
"pattern": {},
|
|
748
|
+
"maxItems": {},
|
|
749
|
+
"minItems": {},
|
|
750
|
+
"uniqueItems": {},
|
|
751
|
+
"maxContains": {},
|
|
752
|
+
"minContains": {},
|
|
753
|
+
"maxProperties": {},
|
|
754
|
+
"minProperties": {},
|
|
755
|
+
"required": {},
|
|
756
|
+
"dependentRequired": {},
|
|
757
|
+
"title": {},
|
|
758
|
+
"description": {},
|
|
759
|
+
"default": {},
|
|
760
|
+
"examples": {},
|
|
761
|
+
"deprecated": {},
|
|
762
|
+
"readOnly": {},
|
|
763
|
+
"writeOnly": {},
|
|
764
|
+
"$comment": {},
|
|
765
|
+
"items": {
|
|
766
|
+
"anyOf": [
|
|
767
|
+
{
|
|
768
|
+
"type": "boolean"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
"contains": {
|
|
776
|
+
"anyOf": [
|
|
777
|
+
{
|
|
778
|
+
"type": "boolean"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
"additionalProperties": {
|
|
786
|
+
"anyOf": [
|
|
787
|
+
{
|
|
788
|
+
"type": "boolean"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
},
|
|
795
|
+
"propertyNames": {
|
|
796
|
+
"anyOf": [
|
|
797
|
+
{
|
|
798
|
+
"type": "boolean"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
},
|
|
805
|
+
"not": {
|
|
806
|
+
"anyOf": [
|
|
807
|
+
{
|
|
808
|
+
"type": "boolean"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
812
|
+
}
|
|
813
|
+
]
|
|
814
|
+
},
|
|
815
|
+
"if": {
|
|
816
|
+
"anyOf": [
|
|
817
|
+
{
|
|
818
|
+
"type": "boolean"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
"then": {
|
|
826
|
+
"anyOf": [
|
|
827
|
+
{
|
|
828
|
+
"type": "boolean"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
"else": {
|
|
836
|
+
"anyOf": [
|
|
837
|
+
{
|
|
838
|
+
"type": "boolean"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
842
|
+
}
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
"unevaluatedItems": {
|
|
846
|
+
"anyOf": [
|
|
847
|
+
{
|
|
848
|
+
"type": "boolean"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
"unevaluatedProperties": {
|
|
856
|
+
"anyOf": [
|
|
857
|
+
{
|
|
858
|
+
"type": "boolean"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
862
|
+
}
|
|
863
|
+
]
|
|
864
|
+
},
|
|
865
|
+
"prefixItems": {
|
|
866
|
+
"type": "array",
|
|
867
|
+
"items": {
|
|
868
|
+
"anyOf": [
|
|
869
|
+
{
|
|
870
|
+
"type": "boolean"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
874
|
+
}
|
|
875
|
+
]
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"allOf": {
|
|
879
|
+
"type": "array",
|
|
880
|
+
"items": {
|
|
881
|
+
"anyOf": [
|
|
882
|
+
{
|
|
883
|
+
"type": "boolean"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
887
|
+
}
|
|
888
|
+
]
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"anyOf": {
|
|
892
|
+
"type": "array",
|
|
893
|
+
"items": {
|
|
894
|
+
"anyOf": [
|
|
895
|
+
{
|
|
896
|
+
"type": "boolean"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
900
|
+
}
|
|
901
|
+
]
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"oneOf": {
|
|
905
|
+
"type": "array",
|
|
906
|
+
"items": {
|
|
907
|
+
"anyOf": [
|
|
908
|
+
{
|
|
909
|
+
"type": "boolean"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"properties": {
|
|
918
|
+
"type": "object",
|
|
919
|
+
"propertyNames": {
|
|
920
|
+
"type": "string"
|
|
921
|
+
},
|
|
922
|
+
"additionalProperties": {
|
|
923
|
+
"anyOf": [
|
|
924
|
+
{
|
|
925
|
+
"type": "boolean"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
929
|
+
}
|
|
930
|
+
]
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"patternProperties": {
|
|
934
|
+
"type": "object",
|
|
935
|
+
"propertyNames": {
|
|
936
|
+
"type": "string"
|
|
937
|
+
},
|
|
938
|
+
"additionalProperties": {
|
|
939
|
+
"anyOf": [
|
|
940
|
+
{
|
|
941
|
+
"type": "boolean"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
945
|
+
}
|
|
946
|
+
]
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
"dependentSchemas": {
|
|
950
|
+
"type": "object",
|
|
951
|
+
"propertyNames": {
|
|
952
|
+
"type": "string"
|
|
953
|
+
},
|
|
954
|
+
"additionalProperties": {
|
|
955
|
+
"anyOf": [
|
|
956
|
+
{
|
|
957
|
+
"type": "boolean"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
961
|
+
}
|
|
962
|
+
]
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"additionalProperties": false
|
|
737
967
|
}
|
|
738
968
|
},
|
|
739
969
|
"$id": "./CredentialConfigCreate.schema.json",
|