@eudiplo/cli 9.1.0-main.49433e7 → 9.1.0-main.52a85b9

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 (54) hide show
  1. package/dist/commands/completion/action.js +3 -1
  2. package/dist/commands/completion/action.js.map +1 -1
  3. package/dist/commands/config/portability/migrations.spec.js +3 -2
  4. package/dist/commands/config/portability/migrations.spec.js.map +1 -1
  5. package/dist/commands/config/validate/action.d.ts.map +1 -1
  6. package/dist/commands/config/validate/action.js +2 -1
  7. package/dist/commands/config/validate/action.js.map +1 -1
  8. package/dist/commands/init/action.d.ts.map +1 -1
  9. package/dist/commands/init/action.js +1 -11
  10. package/dist/commands/init/action.js.map +1 -1
  11. package/dist/commands/instance/action.d.ts +2 -0
  12. package/dist/commands/instance/action.d.ts.map +1 -1
  13. package/dist/commands/instance/action.js +68 -12
  14. package/dist/commands/instance/action.js.map +1 -1
  15. package/dist/commands/instance/index.d.ts.map +1 -1
  16. package/dist/commands/instance/index.js +21 -3
  17. package/dist/commands/instance/index.js.map +1 -1
  18. package/dist/commands/open/action.d.ts.map +1 -1
  19. package/dist/commands/open/action.js +13 -2
  20. package/dist/commands/open/action.js.map +1 -1
  21. package/dist/commands/status/action.d.ts.map +1 -1
  22. package/dist/commands/status/action.js +2 -1
  23. package/dist/commands/status/action.js.map +1 -1
  24. package/dist/index.js +4225 -1848
  25. package/dist/services/api-auth.d.ts.map +1 -1
  26. package/dist/services/api-auth.js +3 -2
  27. package/dist/services/api-auth.js.map +1 -1
  28. package/dist/services/browser.d.ts.map +1 -1
  29. package/dist/services/browser.js +3 -2
  30. package/dist/services/browser.js.map +1 -1
  31. package/dist/services/cli-config.d.ts +41 -1
  32. package/dist/services/cli-config.d.ts.map +1 -1
  33. package/dist/services/cli-config.js +217 -29
  34. package/dist/services/cli-config.js.map +1 -1
  35. package/dist/services/diagnostics.d.ts.map +1 -1
  36. package/dist/services/diagnostics.js +8 -7
  37. package/dist/services/diagnostics.js.map +1 -1
  38. package/dist/services/instance-selection.d.ts.map +1 -1
  39. package/dist/services/instance-selection.js +2 -5
  40. package/dist/services/instance-selection.js.map +1 -1
  41. package/dist/services/url.d.ts +21 -0
  42. package/dist/services/url.d.ts.map +1 -0
  43. package/dist/services/url.js +61 -0
  44. package/dist/services/url.js.map +1 -0
  45. package/package.json +1 -1
  46. package/templates/docker-compose.yml +2 -2
  47. package/templates/schemas/CreateRegistrarConfigDto.schema.json +29 -0
  48. package/templates/schemas/IssuanceConfig.schema.json +43 -0
  49. package/templates/schemas/IssuanceConfigFile.schema.json +696 -1
  50. package/templates/schemas/KeyChainCreateDto.schema.json +9 -0
  51. package/templates/schemas/KmsConfigDto.schema.json +186 -0
  52. package/templates/schemas/KmsConfigFile.schema.json +1026 -1
  53. package/templates/schemas/RegistrarConfigFile.schema.json +101 -1
  54. package/templates/schemas/UpdateStatusListConfigDto.schema.json +5 -5
@@ -9,7 +9,7 @@
9
9
  "properties": {
10
10
  "$schema": {
11
11
  "type": "string",
12
- "const": "https://eudiplo.dev/schemas/v1/RegistrarConfigFile.schema.json"
12
+ "const": "https://eudiplo.dev/schemas/v2/RegistrarConfigFile.schema.json"
13
13
  },
14
14
  "metadata": {
15
15
  "type": "object",
@@ -39,6 +39,106 @@
39
39
  "spec"
40
40
  ],
41
41
  "additionalProperties": false
42
+ },
43
+ {
44
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
45
+ "$id": "https://eudiplo.dev/schemas/v1/RegistrarConfigFile.schema.json",
46
+ "title": "RegistrarConfigFile",
47
+ "type": "object",
48
+ "properties": {
49
+ "$schema": {
50
+ "type": "string",
51
+ "const": "https://eudiplo.dev/schemas/v1/RegistrarConfigFile.schema.json"
52
+ },
53
+ "metadata": {
54
+ "type": "object",
55
+ "properties": {
56
+ "generation": {
57
+ "type": "integer",
58
+ "minimum": 1,
59
+ "description": "Monotonically increasing configuration generation."
60
+ },
61
+ "ownership": {
62
+ "type": "string",
63
+ "enum": [
64
+ "unmanaged",
65
+ "file-managed"
66
+ ],
67
+ "description": "Requested ownership recorded when the document is applied."
68
+ }
69
+ },
70
+ "additionalProperties": false
71
+ },
72
+ "spec": {
73
+ "$ref": "#/$defs/CreateRegistrarConfigDto"
74
+ }
75
+ },
76
+ "required": [
77
+ "$schema",
78
+ "spec"
79
+ ],
80
+ "additionalProperties": false,
81
+ "$defs": {
82
+ "CreateRegistrarConfigDto": {
83
+ "type": "object",
84
+ "properties": {
85
+ "registrarUrl": {
86
+ "type": "string",
87
+ "format": "uri",
88
+ "description": "Base URL of the registrar service."
89
+ },
90
+ "oidcUrl": {
91
+ "type": "string",
92
+ "format": "uri",
93
+ "description": "OIDC discovery or issuer URL used for authentication."
94
+ },
95
+ "clientId": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "description": "OAuth client ID used against the registrar."
99
+ },
100
+ "clientSecret": {
101
+ "description": "Optional OAuth client secret for registrar authentication.",
102
+ "type": "string",
103
+ "minLength": 1
104
+ },
105
+ "username": {
106
+ "type": "string",
107
+ "minLength": 1,
108
+ "description": "Username used for registrar authentication."
109
+ },
110
+ "password": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "description": "Password used for registrar authentication."
114
+ },
115
+ "registrationCertificateDefaults": {
116
+ "description": "Optional default registration certificate values.",
117
+ "anyOf": [
118
+ {
119
+ "type": "object",
120
+ "propertyNames": {
121
+ "type": "string"
122
+ },
123
+ "additionalProperties": {}
124
+ },
125
+ {
126
+ "type": "null"
127
+ }
128
+ ]
129
+ }
130
+ },
131
+ "required": [
132
+ "registrarUrl",
133
+ "oidcUrl",
134
+ "clientId",
135
+ "username",
136
+ "password"
137
+ ],
138
+ "additionalProperties": false,
139
+ "title": "CreateRegistrarConfigDto"
140
+ }
141
+ }
42
142
  }
43
143
  ]
44
144
  }
@@ -3,7 +3,7 @@
3
3
  "type": "object",
4
4
  "properties": {
5
5
  "capacity": {
6
- "description": "Capacity override. Set null to reset to defaults.",
6
+ "description": "Capacity override. Omit or set null to follow STATUS_CAPACITY.",
7
7
  "anyOf": [
8
8
  {
9
9
  "type": "integer",
@@ -16,7 +16,7 @@
16
16
  ]
17
17
  },
18
18
  "bits": {
19
- "description": "Bits-per-status override. Set null to reset to defaults.",
19
+ "description": "Bits-per-status override. Omit or set null to follow STATUS_BITS.",
20
20
  "anyOf": [
21
21
  {
22
22
  "anyOf": [
@@ -44,7 +44,7 @@
44
44
  ]
45
45
  },
46
46
  "ttl": {
47
- "description": "JWT TTL override in seconds. Set null to reset.",
47
+ "description": "JWT TTL override in seconds. Omit or set null to follow STATUS_TTL.",
48
48
  "anyOf": [
49
49
  {
50
50
  "type": "integer",
@@ -57,14 +57,14 @@
57
57
  ]
58
58
  },
59
59
  "immediateUpdate": {
60
- "description": "Immediate regeneration toggle. Set null to reset.",
60
+ "description": "Immediate regeneration toggle. Omit or set null to follow STATUS_IMMEDIATE_UPDATE.",
61
61
  "type": [
62
62
  "boolean",
63
63
  "null"
64
64
  ]
65
65
  },
66
66
  "enableAggregation": {
67
- "description": "Aggregation URI toggle. Set null to reset.",
67
+ "description": "Aggregation URI toggle. Omit or set null to follow STATUS_ENABLE_AGGREGATION.",
68
68
  "type": [
69
69
  "boolean",
70
70
  "null"