@fabrika/control-contract 0.0.25 → 0.2.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.
- package/package.json +3 -3
- package/src/index.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabrika/control-contract",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"typecheck": "tsc --noEmit"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@fabrika/app": "^0.0
|
|
28
|
-
"@fabrika/provider-contract": "^0.0
|
|
27
|
+
"@fabrika/app": "^0.2.0",
|
|
28
|
+
"@fabrika/provider-contract": "^0.2.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/index.ts
CHANGED
|
@@ -250,6 +250,22 @@ export interface DeploymentNamespaceDto {
|
|
|
250
250
|
|
|
251
251
|
export interface DeploymentNamespaceDetailDto extends DeploymentNamespaceDto {
|
|
252
252
|
presentation: DeploymentNamespacePresentationDto | null
|
|
253
|
+
/**
|
|
254
|
+
* The public hosts this namespace serves, with the environment that already claimed each one. Absent
|
|
255
|
+
* where the provider names none — a placement whose domains are bound out of band, or one whose entry
|
|
256
|
+
* point is not published yet.
|
|
257
|
+
*/
|
|
258
|
+
readonly hosts?: readonly DeploymentNamespaceHostDto[]
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/** One host a namespace serves, and the application environment whose domain already takes it. */
|
|
262
|
+
export interface DeploymentNamespaceHostDto {
|
|
263
|
+
readonly host: string
|
|
264
|
+
readonly port: number
|
|
265
|
+
readonly takenBy?: {
|
|
266
|
+
readonly appId: string
|
|
267
|
+
readonly environment: string
|
|
268
|
+
}
|
|
253
269
|
}
|
|
254
270
|
|
|
255
271
|
export interface CreateDeploymentNamespaceRequest {
|