File tree Expand file tree Collapse file tree 9 files changed +62
-44
lines changed
Expand file tree Collapse file tree 9 files changed +62
-44
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @json-types/tsconfig " : minor
3+ " @json-types/compose " : minor
4+ ---
5+
6+ Update schema
Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ import schema from "@json-types/compose/schema.json";
2222
2323TypeScript types generated automatically every night and published when there are changes.
2424
25- - Last change: 2023-11-08T01:15:24.315Z
25+ - Last change: 2023-11-09T01:16:14.959Z
2626- Source URL: https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ export interface DefinitionsService {
358358 privileged ?: boolean ;
359359 secrets ?: ServiceConfigOrSecret ;
360360 tags ?: string [ ] ;
361+ ulimits ?: Ulimits ;
361362 platforms ?: string [ ] ;
362363 } ;
363364 blkio_config ?: {
@@ -495,18 +496,7 @@ export interface DefinitionsService {
495496 } ;
496497 tmpfs ?: StringOrList ;
497498 tty ?: boolean ;
498- ulimits ?: {
499- /**
500- * This interface was referenced by `undefined`'s JSON-Schema definition
501- * via the `patternProperty` "^[a-z]+$".
502- */
503- [ k : string ] :
504- | number
505- | {
506- hard : number ;
507- soft : number ;
508- } ;
509- } ;
499+ ulimits ?: Ulimits ;
510500 user ?: string ;
511501 uts ?: string ;
512502 userns_mode ?: string ;
@@ -535,6 +525,18 @@ export interface DefinitionsService {
535525 volumes_from ?: string [ ] ;
536526 working_dir ?: string ;
537527}
528+ export interface Ulimits {
529+ /**
530+ * This interface was referenced by `Ulimits`'s JSON-Schema definition
531+ * via the `patternProperty` "^[a-z]+$".
532+ */
533+ [ k : string ] :
534+ | number
535+ | {
536+ hard : number ;
537+ soft : number ;
538+ } ;
539+ }
538540export interface BlkioLimit {
539541 path ?: string ;
540542 rate ?: number | string ;
Original file line number Diff line number Diff line change 1414 " compose-spec"
1515 ],
1616 "x-json-types" : {
17- "lastChangeDate" : " 2023-11-08T01:15:24.315Z "
17+ "lastChangeDate" : " 2023-11-09T01:16:14.959Z "
1818 },
1919 "homepage" : " https://github.com/swordev/json-types/tree/main/packages/compose" ,
2020 "bugs" : {
Original file line number Diff line number Diff line change 167167 "type" : " string"
168168 }
169169 },
170+ "ulimits" : {
171+ "$ref" : " #/definitions/ulimits"
172+ },
170173 "platforms" : {
171174 "type" : " array" ,
172175 "items" : {
685688 "type" : " boolean"
686689 },
687690 "ulimits" : {
688- "type" : " object" ,
689- "patternProperties" : {
690- "^[a-z]+$" : {
691- "oneOf" : [
692- {
693- "type" : " integer"
694- },
695- {
696- "type" : " object" ,
697- "properties" : {
698- "hard" : {
699- "type" : " integer"
700- },
701- "soft" : {
702- "type" : " integer"
703- }
704- },
705- "required" : [
706- " soft" ,
707- " hard"
708- ],
709- "additionalProperties" : false
710- }
711- ]
712- }
713- }
691+ "$ref" : " #/definitions/ulimits"
714692 },
715693 "user" : {
716694 "type" : " string"
14851463 ]
14861464 }
14871465 },
1466+ "ulimits" : {
1467+ "type" : " object" ,
1468+ "patternProperties" : {
1469+ "^[a-z]+$" : {
1470+ "oneOf" : [
1471+ {
1472+ "type" : " integer"
1473+ },
1474+ {
1475+ "type" : " object" ,
1476+ "properties" : {
1477+ "hard" : {
1478+ "type" : " integer"
1479+ },
1480+ "soft" : {
1481+ "type" : " integer"
1482+ }
1483+ },
1484+ "required" : [
1485+ " soft" ,
1486+ " hard"
1487+ ],
1488+ "additionalProperties" : false
1489+ }
1490+ ]
1491+ }
1492+ }
1493+ },
14881494 "constraints" : {
14891495 "service" : {
14901496 "id" : " #/definitions/constraints/service" ,
Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ import schema from "@json-types/tsconfig/schema.json";
2222
2323TypeScript types generated automatically every night and published when there are changes.
2424
25- - Last change: 2023-10-27T01:12:57.987Z
25+ - Last change: 2023-11-09T01:16:15.562Z
2626- Source URL: https://json.schemastore.org/tsconfig.json
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export interface CompilerOptions {
8080 /**
8181 * Specify the folder for .tsbuildinfo incremental compilation files.
8282 */
83- tsBuildInfoFile ?: string ;
83+ tsBuildInfoFile ?: string | null ;
8484 /**
8585 * Include sourcemap files inside the emitted JavaScript.
8686 */
Original file line number Diff line number Diff line change 1111 " tsconfig"
1212 ],
1313 "x-json-types" : {
14- "lastChangeDate" : " 2023-10-27T01:12:57.987Z "
14+ "lastChangeDate" : " 2023-11-09T01:16:15.562Z "
1515 },
1616 "homepage" : " https://github.com/swordev/json-types/tree/main/packages/tsconfig" ,
1717 "bugs" : {
Original file line number Diff line number Diff line change 293293 "type" : " boolean"
294294 },
295295 "tsBuildInfoFile" : {
296+ "$comment" : " The value of 'null' is UNDOCUMENTED." ,
296297 "description" : " Specify the folder for .tsbuildinfo incremental compilation files." ,
297298 "default" : " .tsbuildinfo" ,
298- "type" : " string" ,
299+ "type" : [
300+ " string" ,
301+ " null"
302+ ],
299303 "markdownDescription" : " Specify the folder for .tsbuildinfo incremental compilation files.\n\n See more: https://www.typescriptlang.org/tsconfig#tsBuildInfoFile"
300304 },
301305 "inlineSourceMap" : {
You can’t perform that action at this time.
0 commit comments