Initial commit
This commit is contained in:
19
app/Types/FSTypes.php
Normal file
19
app/Types/FSTypes.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Types;
|
||||
|
||||
/**
|
||||
* @phpstan-type FSFileData array{
|
||||
* name:string,
|
||||
* totalChunks:int,
|
||||
* rawFile?:mixed, // Must be used only in JS.
|
||||
* progressValue:int,
|
||||
* currentChunk:int,
|
||||
* done:bool,
|
||||
* error:mixed,
|
||||
* uuid:string
|
||||
* }
|
||||
*/
|
||||
interface FSTypes
|
||||
{
|
||||
}
|
||||
14
app/Types/SubmissionTypes.php
Normal file
14
app/Types/SubmissionTypes.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Types;
|
||||
|
||||
/**
|
||||
* @phpstan-type HashObject array{
|
||||
* filename:string,
|
||||
* hash_crc32:string,
|
||||
* hash_sha1:string,
|
||||
* verified:string
|
||||
* }
|
||||
*/
|
||||
interface SubmissionTypes
|
||||
{}
|
||||
Reference in New Issue
Block a user