mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 21:15:13 +00:00
Rename plugins to libs and update all file references
This commit is contained in:
59
libs/vendor/illuminate/contracts/JsonSchema/JsonSchema.php
vendored
Normal file
59
libs/vendor/illuminate/contracts/JsonSchema/JsonSchema.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\JsonSchema;
|
||||
|
||||
use Closure;
|
||||
|
||||
interface JsonSchema
|
||||
{
|
||||
/**
|
||||
* Create a new object schema instance.
|
||||
*
|
||||
* @param (Closure(JsonSchema): array<string, \Illuminate\JsonSchema\Types\Type>)|array<string, \Illuminate\JsonSchema\Types\Type> $properties
|
||||
* @return \Illuminate\JsonSchema\Types\ObjectType
|
||||
*/
|
||||
public function object(Closure|array $properties = []);
|
||||
|
||||
/**
|
||||
* Create a new array property instance.
|
||||
*
|
||||
* @return \Illuminate\JsonSchema\Types\ArrayType
|
||||
*/
|
||||
public function array();
|
||||
|
||||
/**
|
||||
* Create a new string property instance.
|
||||
*
|
||||
* @return \Illuminate\JsonSchema\Types\StringType
|
||||
*/
|
||||
public function string();
|
||||
|
||||
/**
|
||||
* Create a new integer property instance.
|
||||
*
|
||||
* @return \Illuminate\JsonSchema\Types\IntegerType
|
||||
*/
|
||||
public function integer();
|
||||
|
||||
/**
|
||||
* Create a new number property instance.
|
||||
*
|
||||
* @return \Illuminate\JsonSchema\Types\NumberType
|
||||
*/
|
||||
public function number();
|
||||
|
||||
/**
|
||||
* Create a new boolean property instance.
|
||||
*
|
||||
* @return \Illuminate\JsonSchema\Types\BooleanType
|
||||
*/
|
||||
public function boolean();
|
||||
|
||||
/**
|
||||
* Create a new multi-type union instance.
|
||||
*
|
||||
* @param array<int, string> $types
|
||||
* @return \Illuminate\JsonSchema\Types\UnionType
|
||||
*/
|
||||
public function union(array $types);
|
||||
}
|
||||
Reference in New Issue
Block a user