@satisfactory-dev/docs.json.ts 0.6.1
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/LICENSE.md +190 -0
- package/README.md +81 -0
- package/assert/CustomAssert.d.ts +2 -0
- package/assert/CustomAssert.js +5 -0
- package/lib/AjvUtilities.d.ts +7 -0
- package/lib/AjvUtilities.js +59 -0
- package/lib/ArrayUtilities.d.ts +24 -0
- package/lib/ArrayUtilities.js +21 -0
- package/lib/CustomParsingTypes/CustomPairingTypes.d.ts +37 -0
- package/lib/CustomParsingTypes/CustomPairingTypes.js +42 -0
- package/lib/CustomParsingTypes/TypedString.d.ts +411 -0
- package/lib/CustomParsingTypes/TypedString.js +204 -0
- package/lib/CustomParsingTypes/TypedStringConst.d.ts +28 -0
- package/lib/CustomParsingTypes/TypedStringConst.js +35 -0
- package/lib/CustomParsingTypes/TypedStringEnum.d.ts +30 -0
- package/lib/CustomParsingTypes/TypedStringEnum.js +36 -0
- package/lib/CustomParsingTypes/TypedStringPattern.d.ts +64 -0
- package/lib/CustomParsingTypes/TypedStringPattern.js +82 -0
- package/lib/CustomParsingTypes/UnrealEngineString.d.ts +215 -0
- package/lib/CustomParsingTypes/UnrealEngineString.js +308 -0
- package/lib/CustomParsingTypes/ValueToRegexFormatter.d.ts +29 -0
- package/lib/CustomParsingTypes/ValueToRegexFormatter.js +205 -0
- package/lib/DataDiscovery/CustomTypes/BooleanOrBooleanExtended.d.ts +12 -0
- package/lib/DataDiscovery/CustomTypes/BooleanOrBooleanExtended.js +32 -0
- package/lib/DataDiscovery/CustomTypes/StringStartsWith.d.ts +9 -0
- package/lib/DataDiscovery/CustomTypes/StringStartsWith.js +19 -0
- package/lib/DataDiscovery/CustomTypes/TypedString.d.ts +23 -0
- package/lib/DataDiscovery/CustomTypes/TypedString.js +251 -0
- package/lib/DataDiscovery/CustomTypes/UnrealEngineString.d.ts +9 -0
- package/lib/DataDiscovery/CustomTypes/UnrealEngineString.js +45 -0
- package/lib/DataDiscovery/Generator.d.ts +19 -0
- package/lib/DataDiscovery/Generator.js +41 -0
- package/lib/DataDiscovery/JsonSchema/Array.d.ts +17 -0
- package/lib/DataDiscovery/JsonSchema/Array.js +41 -0
- package/lib/DataDiscovery/JsonSchema/Object.d.ts +61 -0
- package/lib/DataDiscovery/JsonSchema/Object.js +184 -0
- package/lib/DataDiscovery/JsonSchema/OneOf.d.ts +13 -0
- package/lib/DataDiscovery/JsonSchema/OneOf.js +47 -0
- package/lib/DataDiscovery/JsonSchema/Ref.d.ts +17 -0
- package/lib/DataDiscovery/JsonSchema/Ref.js +66 -0
- package/lib/DataDiscovery/JsonSchema/StringType.d.ts +39 -0
- package/lib/DataDiscovery/JsonSchema/StringType.js +121 -0
- package/lib/DataDiscovery/Literal.d.ts +8 -0
- package/lib/DataDiscovery/Literal.js +69 -0
- package/lib/DataDiscovery.d.ts +28 -0
- package/lib/DataDiscovery.js +116 -0
- package/lib/DocsToAutoImport/ArrayTypeNodes.d.ts +5 -0
- package/lib/DocsToAutoImport/ArrayTypeNodes.js +7 -0
- package/lib/DocsToAutoImport/ClassDeclarations.d.ts +5 -0
- package/lib/DocsToAutoImport/ClassDeclarations.js +14 -0
- package/lib/DocsToAutoImport/FunctionDeclaration.d.ts +5 -0
- package/lib/DocsToAutoImport/FunctionDeclaration.js +16 -0
- package/lib/DocsToAutoImport/LiteralTypeNodes.d.ts +5 -0
- package/lib/DocsToAutoImport/LiteralTypeNodes.js +23 -0
- package/lib/DocsToAutoImport/MethodDeclarations.d.ts +5 -0
- package/lib/DocsToAutoImport/MethodDeclarations.js +15 -0
- package/lib/DocsToAutoImport/NodeExtraction.d.ts +6 -0
- package/lib/DocsToAutoImport/NodeExtraction.js +21 -0
- package/lib/DocsToAutoImport/PropertyDeclarations.d.ts +5 -0
- package/lib/DocsToAutoImport/PropertyDeclarations.js +10 -0
- package/lib/DocsToAutoImport/TupleTypeNodes.d.ts +5 -0
- package/lib/DocsToAutoImport/TupleTypeNodes.js +7 -0
- package/lib/DocsToAutoImport/TypeLiteralNodes.d.ts +5 -0
- package/lib/DocsToAutoImport/TypeLiteralNodes.js +33 -0
- package/lib/DocsToAutoImport/TypeReferenceNodes.d.ts +5 -0
- package/lib/DocsToAutoImport/TypeReferenceNodes.js +7 -0
- package/lib/DocsToAutoImport/from_Node_array.d.ts +3 -0
- package/lib/DocsToAutoImport/from_Node_array.js +245 -0
- package/lib/DocsTsAutoImports.d.ts +21 -0
- package/lib/DocsTsAutoImports.js +110 -0
- package/lib/DocsTsGenerator/FilesGenerator.d.ts +25 -0
- package/lib/DocsTsGenerator/FilesGenerator.js +52 -0
- package/lib/DocsTsGenerator.d.ts +47 -0
- package/lib/DocsTsGenerator.js +188 -0
- package/lib/DocsValidation.d.ts +7 -0
- package/lib/DocsValidation.js +179 -0
- package/lib/Exceptions.d.ts +7 -0
- package/lib/Exceptions.js +13 -0
- package/lib/FilesGenerator.d.ts +19 -0
- package/lib/FilesGenerator.js +38 -0
- package/lib/MarkdownUtilities.d.ts +16 -0
- package/lib/MarkdownUtilities.js +68 -0
- package/lib/StringStartsWith.d.ts +10 -0
- package/lib/StringStartsWith.js +20 -0
- package/lib/TsFactoryWrapper.d.ts +80 -0
- package/lib/TsFactoryWrapper.js +236 -0
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/UnrealEngineString.d.ts +13 -0
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/UnrealEngineString.js +26 -0
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/string_starts_with.d.ts +25 -0
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/string_starts_with.js +20 -0
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/typed_string.d.ts +14 -0
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/typed_string.js +96 -0
- package/lib/TypeDefinitionDiscovery/Generator.d.ts +8 -0
- package/lib/TypeDefinitionDiscovery/Generator.js +8 -0
- package/lib/TypeDefinitionDiscovery/GeneratorDoesDiscovery.d.ts +8 -0
- package/lib/TypeDefinitionDiscovery/GeneratorDoesDiscovery.js +9 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/ArrayType.d.ts +19 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/ArrayType.js +61 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/Object/ExtendsObject.d.ts +23 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/Object/ExtendsObject.js +40 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/ObjectType.d.ts +91 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/ObjectType.js +76 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Const.d.ts +29 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Const.js +20 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Enum/BooleanEnum.d.ts +16 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Enum/BooleanEnum.js +47 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Enum.d.ts +40 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Enum.js +22 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Pattern.d.ts +13 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String/Pattern.js +21 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String.d.ts +52 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/String.js +72 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/oneOf_or_anyOf.d.ts +63 -0
- package/lib/TypeDefinitionDiscovery/JsonSchema/oneOf_or_anyOf.js +47 -0
- package/lib/TypeDefinitionDiscovery.d.ts +49 -0
- package/lib/TypeDefinitionDiscovery.js +376 -0
- package/lib/TypeDefinitionWriter.d.ts +22 -0
- package/lib/TypeDefinitionWriter.js +233 -0
- package/lib/TypesDiscovery/CandidatesDiscovery.d.ts +10 -0
- package/lib/TypesDiscovery/CandidatesDiscovery.js +14 -0
- package/lib/TypesDiscovery/CustomParsingTypes/UnrealEngineString.d.ts +5 -0
- package/lib/TypesDiscovery/CustomParsingTypes/UnrealEngineString.js +18 -0
- package/lib/TypesDiscovery/CustomParsingTypes/typed_string.d.ts +6 -0
- package/lib/TypesDiscovery/CustomParsingTypes/typed_string.js +34 -0
- package/lib/TypesDiscovery/JsonSchema/$ref.d.ts +7 -0
- package/lib/TypesDiscovery/JsonSchema/$ref.js +33 -0
- package/lib/TypesDiscovery/JsonSchema/const.d.ts +6 -0
- package/lib/TypesDiscovery/JsonSchema/const.js +22 -0
- package/lib/TypesDiscovery/JsonSchema/enum.d.ts +6 -0
- package/lib/TypesDiscovery/JsonSchema/enum.js +22 -0
- package/lib/TypesDiscovery/JsonSchema/properties.d.ts +4 -0
- package/lib/TypesDiscovery/JsonSchema/properties.js +14 -0
- package/lib/TypesDiscovery/non_array_object_property.d.ts +4 -0
- package/lib/TypesDiscovery/non_array_object_property.js +11 -0
- package/lib/TypesDiscovery/non_empty_array_property.d.ts +4 -0
- package/lib/TypesDiscovery/non_empty_array_property.js +11 -0
- package/lib/TypesDiscovery.d.ts +24 -0
- package/lib/TypesDiscovery.js +77 -0
- package/lib/TypesGeneration/validators.d.ts +9 -0
- package/lib/TypesGeneration/validators.js +26 -0
- package/lib/TypesGeneration.d.ts +17 -0
- package/lib/TypesGeneration.js +53 -0
- package/lib/__dirname.d.ts +1 -0
- package/lib/__dirname.js +6 -0
- package/lib/helpers.d.ts +5 -0
- package/lib/helpers.js +29 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +9 -0
- package/package.json +39 -0
- package/schema/update8.schema.json +8848 -0
- package/setup_PerformanceObserver.d.ts +3 -0
- package/setup_PerformanceObserver.js +55 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { object_has_non_empty_array_property, object_has_property, SupportedSubSchemaType, value_is_non_array_object, } from './CustomPairingTypes';
|
|
2
|
+
import { typed_string_const_value_regex, typed_string_const_value_regex__native, } from './TypedStringConst';
|
|
3
|
+
import { is_string, } from '../StringStartsWith';
|
|
4
|
+
export const typed_string_enum_schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['type', 'enum'],
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
type: { type: 'string', const: 'string' },
|
|
10
|
+
enum: {
|
|
11
|
+
type: 'array',
|
|
12
|
+
minItems: 1,
|
|
13
|
+
items: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
pattern: typed_string_const_value_regex,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
class TypedStringEnum extends SupportedSubSchemaType {
|
|
21
|
+
is_supported_schema(maybe) {
|
|
22
|
+
return (value_is_non_array_object(maybe)
|
|
23
|
+
&& 2 === Object.keys(maybe).length
|
|
24
|
+
&& object_has_property(maybe, 'type')
|
|
25
|
+
&& 'string' === maybe.type
|
|
26
|
+
&& object_has_non_empty_array_property(maybe, 'enum')
|
|
27
|
+
&& maybe.enum.every((e) => is_string(e)
|
|
28
|
+
&& typed_string_const_value_regex__native.test(e)));
|
|
29
|
+
}
|
|
30
|
+
value_regex(value) {
|
|
31
|
+
const enums = `(?:${value.enum.join('|')})`;
|
|
32
|
+
return `(?:${enums}|"${enums}")`;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export const typed_string_enum = new TypedStringEnum();
|
|
36
|
+
//# sourceMappingURL=TypedStringEnum.js.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { SupportedSubSchemaType } from './CustomPairingTypes';
|
|
2
|
+
export type pattern_schema_type = {
|
|
3
|
+
type: 'string';
|
|
4
|
+
pattern: '^\\d+\\.\\d{6}$' | '^-?\\d+\\.\\d{6}$' | '^\\d+$' | '^-?\\d+$';
|
|
5
|
+
};
|
|
6
|
+
export declare const typed_string_pattern_schema: {
|
|
7
|
+
type: string;
|
|
8
|
+
required: string[];
|
|
9
|
+
additionalProperties: boolean;
|
|
10
|
+
properties: {
|
|
11
|
+
type: {
|
|
12
|
+
type: string;
|
|
13
|
+
const: string;
|
|
14
|
+
};
|
|
15
|
+
pattern: {
|
|
16
|
+
type: string;
|
|
17
|
+
enum: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type pattern_schema_general_type = {
|
|
22
|
+
type: 'string';
|
|
23
|
+
pattern: `^\\^\\[A-Z\\]\\[A-Za-z\\]\\+\\([_ ]\\[A-Z\\]\\[A-Za-z\\]\\+\\)\\*\\$$`;
|
|
24
|
+
};
|
|
25
|
+
export declare const typed_string_pattern_general_schema: {
|
|
26
|
+
type: string;
|
|
27
|
+
required: string[];
|
|
28
|
+
additionalProperties: boolean;
|
|
29
|
+
properties: {
|
|
30
|
+
type: {
|
|
31
|
+
type: string;
|
|
32
|
+
const: string;
|
|
33
|
+
};
|
|
34
|
+
pattern: {
|
|
35
|
+
type: string;
|
|
36
|
+
enum: string[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare const typed_string_pattern_general_schema_self_testing: {
|
|
41
|
+
type: string;
|
|
42
|
+
required: string[];
|
|
43
|
+
additionalProperties: boolean;
|
|
44
|
+
properties: {
|
|
45
|
+
type: {
|
|
46
|
+
type: string;
|
|
47
|
+
const: string;
|
|
48
|
+
};
|
|
49
|
+
pattern: {
|
|
50
|
+
oneOf: {
|
|
51
|
+
type: string;
|
|
52
|
+
pattern: string;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export declare function typed_string_pattern_value_regex(value: pattern_schema_type): string;
|
|
58
|
+
export declare function typed_string_pattern_is_supported_schema(maybe: unknown): maybe is pattern_schema_type;
|
|
59
|
+
declare class TypedStringPatternGeneral extends SupportedSubSchemaType<pattern_schema_general_type> {
|
|
60
|
+
is_supported_schema(maybe: unknown): maybe is pattern_schema_general_type;
|
|
61
|
+
value_regex(value: pattern_schema_general_type): string;
|
|
62
|
+
}
|
|
63
|
+
export declare const typed_string_pattern_general: TypedStringPatternGeneral;
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { object_has_property, object_has_property_that_equals, SupportedSubSchemaType, value_is_non_array_object, } from './CustomPairingTypes';
|
|
2
|
+
import { is_string, } from '../StringStartsWith';
|
|
3
|
+
export const typed_string_pattern_schema = {
|
|
4
|
+
type: 'object',
|
|
5
|
+
required: ['type', 'pattern'],
|
|
6
|
+
additionalProperties: false,
|
|
7
|
+
properties: {
|
|
8
|
+
type: { type: 'string', const: 'string' },
|
|
9
|
+
pattern: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
enum: [
|
|
12
|
+
'^\\d+\\.\\d{6}$',
|
|
13
|
+
'^-?\\d+\\.\\d{6}$',
|
|
14
|
+
'^\\d+$',
|
|
15
|
+
'^-?\\d+$',
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
export const typed_string_pattern_general_schema = {
|
|
21
|
+
type: 'object',
|
|
22
|
+
required: ['type', 'pattern'],
|
|
23
|
+
additionalProperties: false,
|
|
24
|
+
properties: {
|
|
25
|
+
type: { type: 'string', const: 'string' },
|
|
26
|
+
pattern: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
enum: [
|
|
29
|
+
`^\\^\\[A-Z\\]\\[A-Za-z\\]\\+\\([_ ]\\[A-Z\\]\\[A-Za-z\\]\\+\\)\\*\\$$`,
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
const typed_string_pattern_general_schema_oneOf = typed_string_pattern_general_schema.properties.pattern.enum.map((pattern) => {
|
|
35
|
+
return {
|
|
36
|
+
type: 'string',
|
|
37
|
+
pattern,
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
export const typed_string_pattern_general_schema_self_testing = {
|
|
41
|
+
type: 'object',
|
|
42
|
+
required: ['type', 'pattern'],
|
|
43
|
+
additionalProperties: false,
|
|
44
|
+
properties: {
|
|
45
|
+
type: { type: 'string', const: 'string' },
|
|
46
|
+
pattern: {
|
|
47
|
+
oneOf: typed_string_pattern_general_schema_oneOf,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
const typed_string_pattern_general_schema_enum_regex = typed_string_pattern_general_schema.properties.pattern.enum.map((e) => {
|
|
52
|
+
return new RegExp(e);
|
|
53
|
+
});
|
|
54
|
+
export function typed_string_pattern_value_regex(value) {
|
|
55
|
+
return `(?:${value.pattern.substring(1, value.pattern.length - 1)})`;
|
|
56
|
+
}
|
|
57
|
+
export function typed_string_pattern_is_supported_schema(maybe) {
|
|
58
|
+
return (value_is_non_array_object(maybe)
|
|
59
|
+
&& 2 === Object.keys(maybe).length
|
|
60
|
+
&& object_has_property(maybe, 'type')
|
|
61
|
+
&& 'string' === maybe.type
|
|
62
|
+
&& object_has_property(maybe, 'pattern', is_string)
|
|
63
|
+
&& typed_string_pattern_schema.properties.pattern.enum.includes(maybe.pattern));
|
|
64
|
+
}
|
|
65
|
+
function is_supported_pattern_string(e) {
|
|
66
|
+
return (is_string(e)
|
|
67
|
+
&& !!typed_string_pattern_general_schema_enum_regex.find((regex) => regex.test(e)));
|
|
68
|
+
}
|
|
69
|
+
class TypedStringPatternGeneral extends SupportedSubSchemaType {
|
|
70
|
+
is_supported_schema(maybe) {
|
|
71
|
+
return (value_is_non_array_object(maybe)
|
|
72
|
+
&& 2 === Object.keys(maybe).length
|
|
73
|
+
&& object_has_property_that_equals(maybe, 'type', 'string')
|
|
74
|
+
&& object_has_property(maybe, 'pattern', is_supported_pattern_string));
|
|
75
|
+
}
|
|
76
|
+
value_regex(value) {
|
|
77
|
+
const regex = `(?:${value.pattern.substring(1, value.pattern.length - 1)})`;
|
|
78
|
+
return `(?:${regex}|"${regex}")`;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export const typed_string_pattern_general = new TypedStringPatternGeneral();
|
|
82
|
+
//# sourceMappingURL=TypedStringPattern.js.map
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import Ajv from 'ajv/dist/2020';
|
|
2
|
+
import ts, { StringLiteral, TypeNode, TypeReferenceNode, UnionTypeNode } from 'typescript';
|
|
3
|
+
import { entry } from '../FilesGenerator';
|
|
4
|
+
export declare const UnrealEngineString_regex: RegExp;
|
|
5
|
+
export declare const UnrealEngineString_general_regex = "/(?:[A-Z-][A-Za-z0-9_-]+/)+(?:[A-Z][A-Za-z_0-9-]+\\.[A-Z][A-Za-z_0-9-]+(?:_C)?(?::[A-Z][A-Za-z0-9_]+)?|[A-Z][A-Za-z_]+\\.[A-Z][A-Za-z_]+)";
|
|
6
|
+
export type UnrealEngineString_string_or_string_array = string | [string, ...string[]];
|
|
7
|
+
export declare function string_or_string_array_to_node(value: string | [string, ...string[]]): typeof value extends string ? (ts.LiteralTypeNode & {
|
|
8
|
+
literal: StringLiteral;
|
|
9
|
+
}) : UnionTypeNode;
|
|
10
|
+
export type UnrealEngineString_right = UnrealEngineString_string_or_string_array | {
|
|
11
|
+
starts_with: UnrealEngineString_string_or_string_array;
|
|
12
|
+
};
|
|
13
|
+
export type UnrealEngineString_type = {
|
|
14
|
+
left: UnrealEngineString_string_or_string_array;
|
|
15
|
+
right: UnrealEngineString_right;
|
|
16
|
+
} | {
|
|
17
|
+
left: UnrealEngineString_string_or_string_array;
|
|
18
|
+
} | {
|
|
19
|
+
right: UnrealEngineString_right;
|
|
20
|
+
} | true;
|
|
21
|
+
export type UnrealEngineString_parent_type = {
|
|
22
|
+
type: 'string';
|
|
23
|
+
minLength: 1;
|
|
24
|
+
UnrealEngineString: UnrealEngineString_type;
|
|
25
|
+
};
|
|
26
|
+
export declare function is_UnrealEngineString_parent(maybe: unknown): maybe is UnrealEngineString_parent_type;
|
|
27
|
+
export declare const UnrealEngineString_schema_definitions: {
|
|
28
|
+
UnrealEngineString_left_string: {
|
|
29
|
+
type: string;
|
|
30
|
+
pattern: string;
|
|
31
|
+
};
|
|
32
|
+
UnrealEngineString_right_string: {
|
|
33
|
+
type: string;
|
|
34
|
+
pattern: string;
|
|
35
|
+
};
|
|
36
|
+
UnrealEngineString_left: {
|
|
37
|
+
oneOf: ({
|
|
38
|
+
$ref: "#/$defs/UnrealEngineString_left_string";
|
|
39
|
+
type?: undefined;
|
|
40
|
+
minItems?: undefined;
|
|
41
|
+
items?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
type: string;
|
|
44
|
+
minItems: number;
|
|
45
|
+
items: {
|
|
46
|
+
$ref: "#/$defs/UnrealEngineString_left_string";
|
|
47
|
+
};
|
|
48
|
+
$ref?: undefined;
|
|
49
|
+
})[];
|
|
50
|
+
};
|
|
51
|
+
UnrealEngineString_right_starts_with: {
|
|
52
|
+
type: string;
|
|
53
|
+
pattern: string;
|
|
54
|
+
};
|
|
55
|
+
UnrealEngineString_right: {
|
|
56
|
+
oneOf: ({
|
|
57
|
+
$ref: "#/$defs/UnrealEngineString_right_string";
|
|
58
|
+
type?: undefined;
|
|
59
|
+
minItems?: undefined;
|
|
60
|
+
items?: undefined;
|
|
61
|
+
required?: undefined;
|
|
62
|
+
additionalProperties?: undefined;
|
|
63
|
+
properties?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: string;
|
|
66
|
+
minItems: number;
|
|
67
|
+
items: {
|
|
68
|
+
$ref: "#/$defs/UnrealEngineString_right_string";
|
|
69
|
+
};
|
|
70
|
+
$ref?: undefined;
|
|
71
|
+
required?: undefined;
|
|
72
|
+
additionalProperties?: undefined;
|
|
73
|
+
properties?: undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: string;
|
|
76
|
+
required: string[];
|
|
77
|
+
additionalProperties: boolean;
|
|
78
|
+
properties: {
|
|
79
|
+
starts_with: {
|
|
80
|
+
oneOf: ({
|
|
81
|
+
$ref: "#/$defs/UnrealEngineString_right_starts_with";
|
|
82
|
+
type?: undefined;
|
|
83
|
+
minItems?: undefined;
|
|
84
|
+
items?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
type: string;
|
|
87
|
+
minItems: number;
|
|
88
|
+
items: {
|
|
89
|
+
$ref: "#/$defs/UnrealEngineString_right_starts_with";
|
|
90
|
+
};
|
|
91
|
+
$ref?: undefined;
|
|
92
|
+
})[];
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
$ref?: undefined;
|
|
96
|
+
minItems?: undefined;
|
|
97
|
+
items?: undefined;
|
|
98
|
+
})[];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export declare const UnrealEngineString_schema: {
|
|
102
|
+
oneOf: ({
|
|
103
|
+
type: string;
|
|
104
|
+
required: string[];
|
|
105
|
+
additionalProperties: boolean;
|
|
106
|
+
properties: {
|
|
107
|
+
left: {
|
|
108
|
+
$ref: "#/$defs/UnrealEngineString_left";
|
|
109
|
+
};
|
|
110
|
+
right: {
|
|
111
|
+
$ref: "#/$defs/UnrealEngineString_right";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
const?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
type: string;
|
|
117
|
+
required: string[];
|
|
118
|
+
additionalProperties: boolean;
|
|
119
|
+
properties: {
|
|
120
|
+
left: {
|
|
121
|
+
$ref: "#/$defs/UnrealEngineString_left";
|
|
122
|
+
};
|
|
123
|
+
right?: undefined;
|
|
124
|
+
};
|
|
125
|
+
const?: undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: string;
|
|
128
|
+
required: string[];
|
|
129
|
+
additionalProperties: boolean;
|
|
130
|
+
properties: {
|
|
131
|
+
right: {
|
|
132
|
+
$ref: "#/$defs/UnrealEngineString_right";
|
|
133
|
+
};
|
|
134
|
+
left?: undefined;
|
|
135
|
+
};
|
|
136
|
+
const?: undefined;
|
|
137
|
+
} | {
|
|
138
|
+
type: string;
|
|
139
|
+
const: boolean;
|
|
140
|
+
required?: undefined;
|
|
141
|
+
additionalProperties?: undefined;
|
|
142
|
+
properties?: undefined;
|
|
143
|
+
})[];
|
|
144
|
+
};
|
|
145
|
+
export declare const UnrealEngineString_parent_schema: {
|
|
146
|
+
type: string;
|
|
147
|
+
required: string[];
|
|
148
|
+
additionalProperties: boolean;
|
|
149
|
+
properties: {
|
|
150
|
+
type: {
|
|
151
|
+
type: string;
|
|
152
|
+
const: string;
|
|
153
|
+
};
|
|
154
|
+
minLength: {
|
|
155
|
+
type: string;
|
|
156
|
+
const: number;
|
|
157
|
+
};
|
|
158
|
+
UnrealEngineString: {
|
|
159
|
+
oneOf: ({
|
|
160
|
+
type: string;
|
|
161
|
+
required: string[];
|
|
162
|
+
additionalProperties: boolean;
|
|
163
|
+
properties: {
|
|
164
|
+
left: {
|
|
165
|
+
$ref: "#/$defs/UnrealEngineString_left";
|
|
166
|
+
};
|
|
167
|
+
right: {
|
|
168
|
+
$ref: "#/$defs/UnrealEngineString_right";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
const?: undefined;
|
|
172
|
+
} | {
|
|
173
|
+
type: string;
|
|
174
|
+
required: string[];
|
|
175
|
+
additionalProperties: boolean;
|
|
176
|
+
properties: {
|
|
177
|
+
left: {
|
|
178
|
+
$ref: "#/$defs/UnrealEngineString_left";
|
|
179
|
+
};
|
|
180
|
+
right?: undefined;
|
|
181
|
+
};
|
|
182
|
+
const?: undefined;
|
|
183
|
+
} | {
|
|
184
|
+
type: string;
|
|
185
|
+
required: string[];
|
|
186
|
+
additionalProperties: boolean;
|
|
187
|
+
properties: {
|
|
188
|
+
right: {
|
|
189
|
+
$ref: "#/$defs/UnrealEngineString_right";
|
|
190
|
+
};
|
|
191
|
+
left?: undefined;
|
|
192
|
+
};
|
|
193
|
+
const?: undefined;
|
|
194
|
+
} | {
|
|
195
|
+
type: string;
|
|
196
|
+
const: boolean;
|
|
197
|
+
required?: undefined;
|
|
198
|
+
additionalProperties?: undefined;
|
|
199
|
+
properties?: undefined;
|
|
200
|
+
})[];
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export declare const UnrealEngineString_left_default: string[];
|
|
205
|
+
export declare class UnrealEngineString {
|
|
206
|
+
private static already_configured;
|
|
207
|
+
static ajv_macro_generator(inner: boolean): (data_from_schema: UnrealEngineString_type) => {
|
|
208
|
+
pattern: string;
|
|
209
|
+
};
|
|
210
|
+
static configure_ajv(ajv: Ajv): void;
|
|
211
|
+
static CustomGenerators(): [entry, ...entry[]];
|
|
212
|
+
}
|
|
213
|
+
export declare function adjust_unrealengine_value(value: string): string;
|
|
214
|
+
export declare function flexibly_create_UnrealEngineString_reference_type(type_arguments: [TypeNode, TypeNode] | [TypeNode] | undefined): ts.TypeReferenceNode;
|
|
215
|
+
export declare function UnrealEngineString_reference_type(data_from_schema: UnrealEngineString_type): TypeReferenceNode;
|