@metabridge/schema
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -76,2 +76,7 @@ /** | ||
response: CoreSchemaMetaSchema; | ||
minimumSupportAppVersion?: { | ||
ios: string; | ||
android: string; | ||
[k: string]: unknown; | ||
}; | ||
}; | ||
@@ -86,2 +91,7 @@ }; | ||
response: CoreSchemaMetaSchema; | ||
minimumSupportAppVersion?: { | ||
ios: string; | ||
android: string; | ||
[k: string]: unknown; | ||
}; | ||
}; | ||
@@ -88,0 +98,0 @@ }; |
@@ -30,2 +30,20 @@ { | ||
"$ref": "http://json-schema.org/draft-07/schema#" | ||
}, | ||
"minimumSupportAppVersion": { | ||
"type": "object", | ||
"properties": { | ||
"ios": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
}, | ||
"android": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
} | ||
}, | ||
"required": ["ios", "android"] | ||
} | ||
@@ -56,2 +74,20 @@ }, | ||
"$ref": "http://json-schema.org/draft-07/schema#" | ||
}, | ||
"minimumSupportAppVersion": { | ||
"type": "object", | ||
"properties": { | ||
"ios": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
}, | ||
"android": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
} | ||
}, | ||
"required": ["ios", "android"] | ||
} | ||
@@ -58,0 +94,0 @@ }, |
{ | ||
"name": "@metabridge/schema", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"main": "lib/index.js", | ||
@@ -16,3 +16,3 @@ "scripts": { | ||
}, | ||
"gitHead": "1811c8182e9fda1de01158fd4a4912bf94db2391" | ||
"gitHead": "de4c8ca4c933199279ea50cbba7f4c0e03ee196e" | ||
} |
@@ -83,2 +83,7 @@ /* tslint:disable */ | ||
response: CoreSchemaMetaSchema; | ||
minimumSupportAppVersion?: { | ||
ios: string; | ||
android: string; | ||
[k: string]: unknown; | ||
}; | ||
}; | ||
@@ -93,2 +98,7 @@ }; | ||
response: CoreSchemaMetaSchema; | ||
minimumSupportAppVersion?: { | ||
ios: string; | ||
android: string; | ||
[k: string]: unknown; | ||
}; | ||
}; | ||
@@ -95,0 +105,0 @@ }; |
@@ -30,2 +30,20 @@ { | ||
"$ref": "http://json-schema.org/draft-07/schema#" | ||
}, | ||
"minimumSupportAppVersion": { | ||
"type": "object", | ||
"properties": { | ||
"ios": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
}, | ||
"android": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
} | ||
}, | ||
"required": ["ios", "android"] | ||
} | ||
@@ -56,2 +74,20 @@ }, | ||
"$ref": "http://json-schema.org/draft-07/schema#" | ||
}, | ||
"minimumSupportAppVersion": { | ||
"type": "object", | ||
"properties": { | ||
"ios": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
}, | ||
"android": { | ||
"type": "string", | ||
"minLength": 5, | ||
"maxLength": 14, | ||
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" | ||
} | ||
}, | ||
"required": ["ios", "android"] | ||
} | ||
@@ -58,0 +94,0 @@ }, |
18097
554