Skip to content

Commit 113db88

Browse files
feat: update schema
1 parent 603babf commit 113db88

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

.changeset/nasty-poems-fry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@json-types/compose": minor
3+
---
4+
5+
Update schema

packages/compose/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ import schema from "@json-types/compose/schema.json";
2222

2323
TypeScript types generated automatically every night and published when there are changes.
2424

25-
- Last change: 2025-04-10T01:52:55.954Z
25+
- Last change: 2025-04-24T01:56:08.810Z
2626
- Source URL: https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json

packages/compose/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ export interface Service {
518518
*/
519519
[k: string]: {
520520
aliases?: ListOfStrings;
521+
interface_name?: string;
521522
ipv4_address?: string;
522523
ipv6_address?: string;
523524
link_local_ips?: ListOfStrings;
@@ -580,7 +581,7 @@ export interface Service {
580581
volumes?: (
581582
| string
582583
| {
583-
type: "bind" | "volume" | "tmpfs" | "cluster" | "image";
584+
type: "bind" | "volume" | "tmpfs" | "cluster" | "npipe" | "image";
584585
source?: string;
585586
target?: string;
586587
read_only?: boolean | string;

packages/compose/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"compose-spec"
1515
],
1616
"x-json-types": {
17-
"lastChangeDate": "2025-04-10T01:52:55.954Z"
17+
"lastChangeDate": "2025-04-24T01:56:08.810Z"
1818
},
1919
"homepage": "https://github.com/swordev/json-types/tree/main/packages/compose",
2020
"bugs": {

packages/compose/schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,9 @@
616616
"aliases": {
617617
"$ref": "#/definitions/list_of_strings"
618618
},
619+
"interface_name": {
620+
"type": "string"
621+
},
619622
"ipv4_address": {
620623
"type": "string"
621624
},
@@ -859,6 +862,7 @@
859862
"volume",
860863
"tmpfs",
861864
"cluster",
865+
"npipe",
862866
"image"
863867
]
864868
},

0 commit comments

Comments
 (0)