dochub-sdk 0.1.331 → 0.1.332
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 +1 -1
- package/schemas/basetypes.ts +4 -6
package/package.json
CHANGED
package/schemas/basetypes.ts
CHANGED
@@ -73,26 +73,24 @@ export interface IDocHubJSONSchemaInteger extends IDocHubJSONSchemaBase {
|
|
73
73
|
multipleOf?: any;
|
74
74
|
}
|
75
75
|
|
76
|
-
export interface
|
76
|
+
export interface IDocHubJSONSchemaObjectProperties {
|
77
77
|
[key: string]: DocHubJSONSchema;
|
78
78
|
}
|
79
79
|
|
80
|
-
export interface
|
80
|
+
export interface IDocHubJSONSchemaPatternProperties {
|
81
81
|
[key: string]: DocHubJSONSchema
|
82
82
|
}
|
83
83
|
|
84
84
|
export interface IDocHubJSONSchemaObject extends IDocHubJSONSchemaBase {
|
85
85
|
type: DocHubJSONSchemaBasicTypes.object;
|
86
|
-
properties
|
86
|
+
properties?: IDocHubJSONSchemaObjectProperties;
|
87
87
|
additionalProperties?: boolean;
|
88
88
|
required?: string[];
|
89
89
|
minProperties?: number;
|
90
90
|
maxProperties?: number;
|
91
|
-
patternProperties?:
|
91
|
+
patternProperties?: IDocHubJSONSchemaPatternProperties;
|
92
92
|
regexp?: RegExp;
|
93
93
|
dependencies?: any;
|
94
|
-
// Порядок вывода полей сверху вниз и слева направо
|
95
|
-
order?: string[];
|
96
94
|
}
|
97
95
|
|
98
96
|
export type DocHubJSONSchema = IDocHubJSONSchemaArray | IDocHubJSONSchemaString | IDocHubJSONSchemaNumber | IDocHubJSONSchemaInteger | IDocHubJSONSchemaObject | IDocHubJSONSchemaBoolean;
|