123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {
- "definitions": {
- "ObjectPattern": {
- "type": "object",
- "properties": {
- "from": {
- "anyOf": [
- {
- "type": "string",
- "minLength": 1
- },
- {
- "type": "object"
- }
- ]
- },
- "to": {
- "type": "string"
- },
- "context": {
- "type": "string"
- },
- "toType": {
- "enum": ["dir", "file", "template"]
- },
- "test": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "RegExp"
- }
- ]
- },
- "force": {
- "type": "boolean"
- },
- "ignore": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "object"
- }
- ]
- }
- },
- "flatten": {
- "type": "boolean"
- },
- "cache": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "object"
- }
- ]
- },
- "transform": {
- "instanceof": "Function"
- },
- "transformPath": {
- "instanceof": "Function"
- }
- },
- "required": ["from"]
- },
- "StringPattern": {
- "type": "string",
- "minLength": 1
- }
- },
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/StringPattern"
- },
- {
- "$ref": "#/definitions/ObjectPattern"
- }
- ]
- }
- }
|