Skip to content

Commit 7a5d0c5

Browse files
committed
fix: updated schema
1 parent 75b4745 commit 7a5d0c5

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

lib/index.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3322,6 +3322,14 @@ export interface Space {
33223322
* when space was updated
33233323
*/
33243324
updated_at?: string
3325+
/**
3326+
* The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
3327+
*/
3328+
cidr?: string
3329+
/**
3330+
* The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that's automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
3331+
*/
3332+
data_cidr?: string
33253333
[k: string]: any
33263334
}
33273335
/**

schema.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12625,6 +12625,24 @@
1262512625
"type": [
1262612626
"string"
1262712627
]
12628+
},
12629+
"cidr": {
12630+
"description": "The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16",
12631+
"example": "172.20.20.30/16",
12632+
"default": "10.0.0.0/16",
12633+
"pattern": "^((?:10|172\\.(?:1[6-9]|2[0-9]|3[01])|192\\.168)\\..*.+\\/16)$",
12634+
"readOnly": false,
12635+
"type": [
12636+
"string"
12637+
]
12638+
},
12639+
"data_cidr": {
12640+
"description": "The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that's automatically created when using Heroku Data add-ons. It must be between a /16 and a /20",
12641+
"example": "10.2.0.0/16",
12642+
"readOnly": false,
12643+
"type": [
12644+
"string"
12645+
]
1262812646
}
1262912647
},
1263012648
"links": [
@@ -12701,6 +12719,12 @@
1270112719
},
1270212720
"shield": {
1270312721
"$ref": "#/definitions/space/definitions/shield"
12722+
},
12723+
"cidr": {
12724+
"$ref": "#/definitions/space/definitions/cidr"
12725+
},
12726+
"data_cidr": {
12727+
"$ref": "#/definitions/space/definitions/data_cidr"
1270412728
}
1270512729
},
1270612730
"required": [
@@ -12775,6 +12799,12 @@
1277512799
},
1277612800
"updated_at": {
1277712801
"$ref": "#/definitions/space/definitions/updated_at"
12802+
},
12803+
"cidr": {
12804+
"$ref": "#/definitions/space/definitions/cidr"
12805+
},
12806+
"data_cidr": {
12807+
"$ref": "#/definitions/space/definitions/data_cidr"
1277812808
}
1277912809
}
1278012810
},

0 commit comments

Comments
 (0)