@@ -105,8 +105,8 @@ Generated by [AVA](https://ava.li).
105
105
␊
106
106
export type PositiveInteger = number;␊
107
107
export type PositiveIntegerDefault0 = PositiveInteger;␊
108
- export type SchemaArray = [HttpJsonSchemaOrgDraft04Schema, ...( HttpJsonSchemaOrgDraft04Schema) []];␊
109
- export type StringArray = [string, ...( string) []];␊
108
+ export type SchemaArray = [HttpJsonSchemaOrgDraft04Schema, ...HttpJsonSchemaOrgDraft04Schema[]];␊
109
+ export type StringArray = [string, ...string[]];␊
110
110
export type SimpleTypes = "array" | "boolean" | "integer" | "null" | "number" | "object" | "string";␊
111
111
␊
112
112
/**␊
@@ -147,8 +147,8 @@ Generated by [AVA](https://ava.li).
147
147
dependencies?: {␊
148
148
[k: string]: HttpJsonSchemaOrgDraft04Schema | StringArray;␊
149
149
};␊
150
- enum?: [any, ...( any) []];␊
151
- type?: SimpleTypes | [SimpleTypes, ...( SimpleTypes) []];␊
150
+ enum?: [any, ...any[]];␊
151
+ type?: SimpleTypes | [SimpleTypes, ...SimpleTypes[]];␊
152
152
allOf?: SchemaArray;␊
153
153
anyOf?: SchemaArray;␊
154
154
oneOf?: SchemaArray;␊
@@ -562,7 +562,7 @@ Generated by [AVA](https://ava.li).
562
562
}␊
563
563
export interface Bar {␊
564
564
a?: "a" | "b" | "c";␊
565
- bam?: ( "wam") [];␊
565
+ bam?: "wam"[];␊
566
566
[k: string]: any;␊
567
567
}␊
568
568
export interface Baz {␊
@@ -611,16 +611,16 @@ Generated by [AVA](https://ava.li).
611
611
␊
612
612
export interface ArrayAdditionalItems {␊
613
613
namedEums?: {␊
614
- additionalItemsAny?: [] | [NamedEnum2, ...( any) []];␊
615
- additionalItems?: [] | [NamedEnum21, ...( NamedEnum22) []];␊
614
+ additionalItemsAny?: [] | [NamedEnum2, ...any[]];␊
615
+ additionalItems?: [] | [NamedEnum21, ...NamedEnum22[]];␊
616
616
};␊
617
617
unnamedEmums?: {␊
618
- additionalItemsAny?: [] | [( 1 | 2 | 3) , ...( any) []];␊
619
- additionalItems?: [] | [( "One" | "Two" | "Three") , ...(4 | 5 | 6)[]];␊
618
+ additionalItemsAny?: [] | [1 | 2 | 3, ...any[]];␊
619
+ additionalItems?: [] | ["One" | "Two" | "Three", ...(4 | 5 | 6)[]];␊
620
620
};␊
621
621
namedSchema?: {␊
622
- additionalItemsAny?: [] | [StringSchema1] | [StringSchema1, NumberSchema1, ...( any) []];␊
623
- additionalItems?: [] | [StringSchema2] | [StringSchema2, NumberSchema2, ...( BooleanSchema1) []];␊
622
+ additionalItemsAny?: [] | [StringSchema1] | [StringSchema1, NumberSchema1, ...any[]];␊
623
+ additionalItems?: [] | [StringSchema2] | [StringSchema2, NumberSchema2, ...BooleanSchema1[]];␊
624
624
};␊
625
625
schema?: {␊
626
626
additionalItemsAny?:␊
@@ -640,7 +640,7 @@ Generated by [AVA](https://ava.li).
640
640
bar?: number;␊
641
641
[k: string]: any;␊
642
642
},␊
643
- ...( any) []␊
643
+ ...any[]␊
644
644
];␊
645
645
additionalItems?:␊
646
646
| []␊
@@ -659,23 +659,23 @@ Generated by [AVA](https://ava.li).
659
659
bar?: number;␊
660
660
[k: string]: any;␊
661
661
},␊
662
- ...( {␊
662
+ ...{␊
663
663
baz?: boolean;␊
664
664
[k: string]: any;␊
665
- }) []␊
665
+ }[]␊
666
666
];␊
667
667
};␊
668
668
ofType?: {␊
669
- additonalItemsAny?: [] | [number] | [number, string, ...( any) []];␊
670
- additonalItems?: [] | [number] | [number, string, ...( boolean) []];␊
669
+ additonalItemsAny?: [] | [number] | [number, string, ...any[]];␊
670
+ additonalItems?: [] | [number] | [number, string, ...boolean[]];␊
671
671
};␊
672
672
refs?: {␊
673
- additionalItemsAny?: [] | [ExampleSchema, ...( any) []];␊
674
- additionalItems?: [] | [ExampleSchema1, ...( ExampleSchema2) []];␊
673
+ additionalItemsAny?: [] | [ExampleSchema, ...any[]];␊
674
+ additionalItems?: [] | [ExampleSchema1, ...ExampleSchema2[]];␊
675
675
};␊
676
676
defs?: {␊
677
- additionalItemsAny?: [] | [FirstDefinition, ...( any) []];␊
678
- additionalItems?: [] | [UnrelatedTitle, ...( ThirdDefinition) []];␊
677
+ additionalItemsAny?: [] | [FirstDefinition, ...any[]];␊
678
+ additionalItems?: [] | [UnrelatedTitle, ...ThirdDefinition[]];␊
679
679
};␊
680
680
}␊
681
681
export interface StringSchema1 {␊
@@ -777,7 +777,7 @@ Generated by [AVA](https://ava.li).
777
777
/**␊
778
778
* minItems = 3␊
779
779
*/␊
780
- withMinItems?: [string, string, string, ...( string) []];␊
780
+ withMinItems?: [string, string, string, ...string[]];␊
781
781
/**␊
782
782
* maxItems = 3␊
783
783
*/␊
@@ -809,7 +809,7 @@ Generated by [AVA](https://ava.li).
809
809
/**␊
810
810
* minItems = 3␊
811
811
*/␊
812
- withMinItems?: [any, any, any, ...( any) []];␊
812
+ withMinItems?: [any, any, any, ...any[]];␊
813
813
/**␊
814
814
* maxItems = 3␊
815
815
*/␊
@@ -845,7 +845,7 @@ Generated by [AVA](https://ava.li).
845
845
/**␊
846
846
* minItems = 8␊
847
847
*/␊
848
- withMinItemsGreaterThanItemLength?: [1, 2, 3, 4, 5, 6, ...( any) []];␊
848
+ withMinItemsGreaterThanItemLength?: [1, 2, 3, 4, 5, 6, ...any[]];␊
849
849
/**␊
850
850
* maxItems = 2␊
851
851
*/␊
@@ -947,11 +947,11 @@ Generated by [AVA](https://ava.li).
947
947
data: any;␊
948
948
valid: boolean;␊
949
949
},␊
950
- ...( {␊
950
+ ...{␊
951
951
description: string;␊
952
952
data: any;␊
953
953
valid: boolean;␊
954
- }) []␊
954
+ }[]␊
955
955
];␊
956
956
}[];␊
957
957
`
@@ -1118,7 +1118,8 @@ Generated by [AVA](https://ava.li).
1118
1118
| {␊
1119
1119
baz?: number;␊
1120
1120
[k: string]: any;␊
1121
- })␊
1121
+ }␊
1122
+ )␊
1122
1123
| Bar;␊
1123
1124
}␊
1124
1125
export interface Foo {␊
@@ -5592,7 +5593,8 @@ Generated by [AVA](https://ava.li).
5592
5593
| "HPUX"␊
5593
5594
| "Solaris"␊
5594
5595
| "NetWare"␊
5595
- | "iSeries");␊
5596
+ | "iSeries"␊
5597
+ );␊
5596
5598
export type Subnet = string | null;␊
5597
5599
export type Address = string | null;␊
5598
5600
export type Mac = string | null;␊
@@ -5654,7 +5656,8 @@ Generated by [AVA](https://ava.li).
5654
5656
| "SMTP"␊
5655
5657
| "SHAREPOINT"␊
5656
5658
| "VSPHERE"␊
5657
- | "UNSET");␊
5659
+ | "UNSET"␊
5660
+ );␊
5658
5661
export type Username1 = string | null;␊
5659
5662
export type Password3 = string | null;␊
5660
5663
export type Domain1 = string | null;␊
@@ -5912,7 +5915,8 @@ Generated by [AVA](https://ava.li).
5912
5915
| GetDate1␊
5913
5916
| UpdateXmlValues1␊
5914
5917
| VerifyExchangeDBReseed1␊
5915
- | CalculateFileHash1)[];␊
5918
+ | CalculateFileHash1␊
5919
+ )[];␊
5916
5920
export type AgentControl1 = BaseCommand & AgentControl;␊
5917
5921
export type Machine2 = string | null;␊
5918
5922
export type Action = Actions;␊
@@ -6250,7 +6254,8 @@ Generated by [AVA](https://ava.li).
6250
6254
| "DisallowRestore"␊
6251
6255
| "EnableFailover"␊
6252
6256
| "DisableFailover"␊
6253
- | "Undefined");␊
6257
+ | "Undefined"␊
6258
+ );␊
6254
6259
export type ExpectedDBStatus = DBCopyStatus;␊
6255
6260
export type DBCopyStatus = (string | null) &␊
6256
6261
(␊
@@ -6264,7 +6269,8 @@ Generated by [AVA](https://ava.li).
6264
6269
| "Failed"␊
6265
6270
| "FailedAndSuspended"␊
6266
6271
| "ServiceDown"␊
6267
- | "Undefined");␊
6272
+ | "Undefined"␊
6273
+ );␊
6268
6274
export type ExpectedDBIndexState = DBContentIndexState;␊
6269
6275
export type DBContentIndexState = (string | null) &␊
6270
6276
("Healthy" | "Unknown" | "Crawling" | "Failed" | "Corrupt" | "Suspended" | "Undefined");␊
@@ -6350,7 +6356,8 @@ Generated by [AVA](https://ava.li).
6350
6356
| "UnregisterVM"␊
6351
6357
| "Deploy"␊
6352
6358
| "ConvertToTemplate"␊
6353
- | "ConvertToVM");␊
6359
+ | "ConvertToVM"␊
6360
+ );␊
6354
6361
export type Target9 = string | null;␊
6355
6362
export type Cleanup = boolean | null;␊
6356
6363
export type ExtraDeployOptions = string | null;␊
@@ -6500,7 +6507,8 @@ Generated by [AVA](https://ava.li).
6500
6507
| "VSPHERE_VM_FOLDERS"␊
6501
6508
| "VSPHERE_RESOURCE_POOLS"␊
6502
6509
| "ALL"␊
6503
- | "ALTERNATE_SAFESET_LOCATION");␊
6510
+ | "ALTERNATE_SAFESET_LOCATION"␊
6511
+ );␊
6504
6512
export type Agent8 = string | null;␊
6505
6513
export type Vault4 = string | null;␊
6506
6514
export type Name7 = string | null;␊
@@ -9301,6 +9309,23 @@ Generated by [AVA](https://ava.li).
9301
9309
}␊
9302
9310
`
9303
9311
9312
+ ## strictIndexSignatures.js
9313
+
9314
+ > Snapshot 1
9315
+
9316
+ `/* tslint:disable */␊
9317
+ /**␊
9318
+ * This file was automatically generated by json-schema-to-typescript.␊
9319
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,␊
9320
+ * and run json-schema-to-typescript to regenerate this file.␊
9321
+ */␊
9322
+ ␊
9323
+ export interface StrictIndexSignatures {␊
9324
+ maybe?: string;␊
9325
+ [k: string]: string | undefined;␊
9326
+ }␊
9327
+ `
9328
+
9304
9329
## subSchema.js
9305
9330
9306
9331
> Snapshot 1
0 commit comments