@eudiplo/cli 7.6.0 → 7.6.1-main.26d61e5

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.
Files changed (57) hide show
  1. package/dist/commands/config/portability/action.d.ts +1 -1
  2. package/dist/commands/config/portability/action.d.ts.map +1 -1
  3. package/dist/commands/config/portability/action.js +49 -95
  4. package/dist/commands/config/portability/action.js.map +1 -1
  5. package/dist/commands/config/portability/index.d.ts.map +1 -1
  6. package/dist/commands/config/portability/index.js +37 -5
  7. package/dist/commands/config/portability/index.js.map +1 -1
  8. package/dist/commands/config/portability/migrations.d.ts +3 -21
  9. package/dist/commands/config/portability/migrations.d.ts.map +1 -1
  10. package/dist/commands/config/portability/migrations.js +4 -92
  11. package/dist/commands/config/portability/migrations.js.map +1 -1
  12. package/dist/commands/config/portability/migrations.spec.js +12 -14
  13. package/dist/commands/config/portability/migrations.spec.js.map +1 -1
  14. package/dist/commands/config/portability/upgrade.d.ts +3 -0
  15. package/dist/commands/config/portability/upgrade.d.ts.map +1 -0
  16. package/dist/commands/config/portability/upgrade.js +199 -0
  17. package/dist/commands/config/portability/upgrade.js.map +1 -0
  18. package/dist/commands/config/tenant/action.js +3 -4
  19. package/dist/commands/config/tenant/action.js.map +1 -1
  20. package/dist/commands/config/validate/validator.d.ts.map +1 -1
  21. package/dist/commands/config/validate/validator.js +50 -30
  22. package/dist/commands/config/validate/validator.js.map +1 -1
  23. package/dist/index.js +0 -0
  24. package/dist/runtime.js +1 -1
  25. package/dist/runtime.js.map +1 -1
  26. package/package.json +2 -1
  27. package/templates/demo-config/attribute-providers/claims-provider.json +8 -2
  28. package/templates/demo-config/clients/presentation-test.json +8 -2
  29. package/templates/demo-config/clients/test.json +12 -6
  30. package/templates/demo-config/info.json +7 -1
  31. package/templates/demo-config/issuance/credentials/citizen.json +43 -37
  32. package/templates/demo-config/issuance/credentials/pid-key.json +370 -364
  33. package/templates/demo-config/issuance/credentials/pid-mdoc.json +444 -438
  34. package/templates/demo-config/issuance/credentials/pid.json +472 -466
  35. package/templates/demo-config/issuance/issuance.json +1 -3
  36. package/templates/demo-config/issuance/status-lists/pid.json +12 -6
  37. package/templates/demo-config/key-chains/access.json +2 -4
  38. package/templates/demo-config/key-chains/attestation.json +2 -4
  39. package/templates/demo-config/key-chains/status-list.json +1 -3
  40. package/templates/demo-config/key-chains/trust-list.json +1 -3
  41. package/templates/demo-config/presentation/age-over-18.json +20 -7
  42. package/templates/demo-config/presentation/pid.json +1 -3
  43. package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +96 -90
  44. package/templates/demo-config/webhook-endpoints/notification.json +8 -2
  45. package/templates/docker-compose.yml +1 -1
  46. package/templates/schemas/AttributeProviderConfigFile.schema.json +38 -15
  47. package/templates/schemas/ClientConfigFile.schema.json +38 -15
  48. package/templates/schemas/CredentialConfigFile.schema.json +38 -15
  49. package/templates/schemas/IssuanceConfigFile.schema.json +24 -12
  50. package/templates/schemas/KeyChainConfigFile.schema.json +373 -19
  51. package/templates/schemas/KmsConfigFile.schema.json +21 -14
  52. package/templates/schemas/PresentationConfigFile.schema.json +41 -13
  53. package/templates/schemas/RegistrarConfigFile.schema.json +21 -14
  54. package/templates/schemas/StatusListConfigFile.schema.json +38 -15
  55. package/templates/schemas/TenantConfigFile.schema.json +136 -20
  56. package/templates/schemas/TrustListConfigFile.schema.json +38 -15
  57. package/templates/schemas/WebhookEndpointConfigFile.schema.json +38 -15
@@ -1,41 +1,47 @@
1
1
  {
2
- "id": "citizen",
3
- "description": "Citizen issuance with IAE flow",
4
- "config": {
5
- "format": "dc+sd-jwt",
6
- "display": [
2
+ "$schema": "https://eudiplo.dev/schemas/v1/CredentialConfigFile.schema.json",
3
+ "metadata": {
4
+ "generation": 1
5
+ },
6
+ "spec": {
7
+ "id": "citizen",
8
+ "description": "Citizen issuance with IAE flow",
9
+ "config": {
10
+ "format": "dc+sd-jwt",
11
+ "display": [
12
+ {
13
+ "name": "Citizen Pass",
14
+ "background_color": "#FFFFFF",
15
+ "background_image": {
16
+ "uri": "credential.png"
17
+ },
18
+ "description": "A pass for this citizen",
19
+ "locale": "en-US",
20
+ "text_color": "#000000"
21
+ }
22
+ ]
23
+ },
24
+ "iaeActions": [
25
+ {
26
+ "type": "openid4vp_presentation",
27
+ "presentationConfigId": "pid",
28
+ "label": "KYC process"
29
+ }
30
+ ],
31
+ "vct": {
32
+ "name": "Citizen",
33
+ "description": "This is our development version of the education credential. Don't panic."
34
+ },
35
+ "fields": [
7
36
  {
8
- "name": "Citizen Pass",
9
- "background_color": "#FFFFFF",
10
- "background_image": {
11
- "uri": "credential.png"
12
- },
13
- "description": "A pass for this citizen",
14
- "locale": "en-US",
15
- "text_color": "#000000"
37
+ "path": [
38
+ "town"
39
+ ],
40
+ "type": "string",
41
+ "defaultValue": "BERLIN",
42
+ "mandatory": true,
43
+ "disclosable": false
16
44
  }
17
45
  ]
18
- },
19
- "iaeActions": [
20
- {
21
- "type": "openid4vp_presentation",
22
- "presentationConfigId": "pid",
23
- "label": "KYC process"
24
- }
25
- ],
26
- "vct": {
27
- "name": "Citizen",
28
- "description": "This is our development version of the education credential. Don't panic."
29
- },
30
- "fields": [
31
- {
32
- "path": [
33
- "town"
34
- ],
35
- "type": "string",
36
- "defaultValue": "BERLIN",
37
- "mandatory": true,
38
- "disclosable": false
39
- }
40
- ]
41
- }
46
+ }
47
+ }